Details
-
Suggestion
-
Resolution: Duplicate
-
P4: Low
-
None
-
4.0.0, 4.0.1, 4.1.0, 4.1.1, 4.1.2, 4.1.3, 4.1.4, 4.1.5, 4.2.0, 4.2.1, 4.2.2, 4.2.3, 4.3.0, 4.3.1, 4.3.2, 4.3.3, 4.3.4, 4.3.5, 4.4.0, 4.4.1, 4.4.2, 4.4.3, 4.5.0, 4.5.1, 4.5.2, 4.5.3, 4.6.0, 4.6.1, 4.6.2, 4.6.3
-
None
-
Mac OS X, Qt 4.x
Description
The documentation has a bug at this link: qthelp://com.trolltech.qmake.460/qdoc/qmake-platform-notes.html#using-frameworks
The doc state :
"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:
QMAKE_LFLAGS += -F/path/to/framework/directory/"
But it's not correct, frameworks are ObjectiveC based and so use gcc, not g++, so the correct variable to use is QMAKE_CFLAGS, and not QMAKE_LFLAGS
Attachments
Issue Links
- is duplicated by
-
QTBUG-48941 QMAKE_LFLAGS entries for iOS are not appearing in the xcode project
- Closed