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

QMake does not handles depens for XCode project on iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Won't Do
    • Affects Version/s: 5.11.2
    • Fix Version/s: None
    • Component/s: Build tools: qmake
    • Labels:
      None
    • Environment:
      * OSX: 10.13.6
      * XCode: 10.0
      * Qt: 5.11.2 for iOS (official)
      * QtC: 4.7.2
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      How to reproduce an issue:

      1. Startup QtCreator
      2. Open: /Users/admin/Qt/Examples/Qt-5.11.2/widgets/tools/plugandpaint/plugandpaint.pro example project
      3. Choose iOS build target.
      4. Run 'qmake' and exit from QtCreator.
      5. Search for generated  plugandpaint.xcodeproj
      6. Open this project in XCode.
      7. Try to build from XCode and watch for linker error:
      ld: library not found for -lpnp_basictools_debug
      

      where 'pnp_basictools_debug' is a target of a static plugin, located in same plugandpaint.pro project!

       UPD: The effective qmake command in Qt Creator is:

      /Users/admin/Qt/5.11.2/ios/bin/qmake /Users/admin/Qt/Examples/Qt-5.11.2/widgets/tools/plugandpaint/plugandpaint.pro -spec macx-ios-clang CONFIG+=release CONFIG+=iphoneos CONFIG+=device CONFIG+=qtquickcompiler && /usr/bin/make qmake_all

       

       

        Attachments

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

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            kuzulis Denis Shienkov
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes