I have an Android-specific fix in my Qt application, and I want that code to be compiled only when building for Android.
Is there an #if
or #ifdef
that will do that?
Which One Should You Use: Is There A or Is There Any? We must use 'a' with singular countable nouns and 'any' with uncountable nouns. We use 'is' with both singular countable nouns and uncountable nouns.
Use there is when the noun is singular (“There is a cat”). Use there are when the noun is plural (“There are two cats”).
There is one table in the classroom. There are three chairs in the classroom. There is a spider in the bath. There are many people at the bus stop.
The same rule holds true when you're asking a question. If the noun is plural, use “Are there any.” If the noun is singular, use “Is there any.”
Yes, you can find it in the documentation, so just use:
#ifdef Q_OS_ANDROID
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With