[Interest] non-standard framework directories in QMake files

René J.V. Bertin rjvbertin at gmail.com
Wed Jun 29 18:18:29 CEST 2016


Hi,

The QMake documentation states that

"Directories other than the standard framework directory need to be specified to the build system, and this is achieved by appending linker options to the QMAKE_LFLAGS variable, as shown in the following example:"

This is not wrong of course, but the compiler also needs -F and/or -iframework flags for finding the headerfiles from frameworks in non-default framework directories.

Do I have to understand that -F and/or -iframework options are supposed to be taken from QMAKE_LFLAGS, or must one pass them also via the appropriate QMAKE_C*FLAGS*?

R.



More information about the Interest mailing list