Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt5.3 Android: Exclude subdir project in Qt Creator
I want to exclude a subdir project for Android. In my .pro file I have added
@!android:SUBDIRS += my_subdir_project@
but this does not have any effect. The subdir project still appears for Android.
How do I exclude my subdir project?
android:SUBDIRS -= my_subdir_project
Should have mentioned that I also tried that. To me it seems that the keyword "android" is ignored.
If I use
@android:SUBDIRS -= my_subdir_project@
the subdir is also excluded when I run Desktop Linux. Just wondering if I am totally wrong in the usage or if there is an error in QtCreator?
SUBDIRS += my_subdir_project
Also does not work :(
Does it also still builds ? If not, then you're good. However it looks like a misbehavior from Qt Creator, you should check the "bug report system":http://bugreports.qt-project.org to see if it's something known.