Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.3.0
-
None
-
Linux
Description
If I add two nested conditions in myproject.pro like this:
unix { contains(DEFINES, K_DEBUG) { SUBDIRS += debug } }
The instruction is never executed even if the conditions are true. But if I remove the indentation blank spaces like this:
unix { contains(DEFINES, K_DEBUG) { SUBDIRS += debug } }
Then it works. I think the syntax analyzer of qmake should be more flexible.
Thanks!
PS: The text editor of the bug tracker doesn't allow me to show the problem in an accurate way, so please, visit this link: http://qt-project.org/forums/viewthread/51650