Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-13161

Documentation about using frameworks on os x is not correct

    XMLWordPrintable

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

    • macOS

    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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kdpalara Kavindra Palaraja
              pasnox Filipe Azevedo
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes