Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.6.0
-
None
-
e3051e6591ca50c6f3fa7cbc5eba935ce6f04ad9
Description
The documentation for the system() function of qmake (e.g. here: http://doc.qt.io/qt-5/qmake-test-function-reference.html#system-command ) has an example of usage:
system(ls /bin):HAS_BIN=FALSE
This example is however misleading as it seems to imply that if /bin does not exist (HAS_BIN=FALSE), then the system() command will succeed. In reality, the opposite happens: if /bin exists, system() will succeed.
I suggest to change the example to say e.g. HAS_BIN=TRUE.