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

QMake xcode project builder replaces all occurrences of "_debug" in library names with library suffix

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.6.0
    • 5.6.0 Alpha
    • Build tools: qmake
    • None
    • iOS/tvOS/watchOS
    • 4a2b9e086eb3d16403620b31a4d05bef529910d3

    Description

      Build qtdeclarative and qtlocation with -developer-build and -xplatform macx-ios-clang . When trying to compile the snippets the following error will occur: http://testresults.qt.io/logs/qt/qt5/d61bfbf3aeab0b2eecf95509de1314816ea50f83/OSXOSX_10_10x86_64IOSOSX_10_10multiClangDisableTests/da39a3ee5e6b4b0d3255bfef95601890afd80709/buildlog.txt.gz

      Note the duplicated "iphonesimulator_debug" in "-lqmldbg_iphonesimulator_debugger_iphonesimulator_debug". The original library is called libqmldbg_debugger.a and "_iphonesimulator_debug" is the QT_LIBRARY_SUFFIX. If you look at the generated project.pbxproj, you'll see that the name is also mangled into "qmldbgger". I'm fairly sure this is caused by pbuilder_pbx.cpp:856f where any occurrences of librarySuffix in the path as well as the name are replaced by suffixSetting. I think it should only replace the last occurrence.

      Attachments

        For Gerrit Dashboard: QTBUG-48961
        # Subject Branch Project Status CR V

        Activity

          People

            richard Richard Moe Gustavsen
            ulherman Ulf Hermann
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes