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

QMake does not handles depens for XCode project on iOS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.11.2
    • Build tools: qmake
    • None
    • * OSX: 10.13.6
      * XCode: 10.0
      * Qt: 5.11.2 for iOS (official)
      * QtC: 4.7.2
    • iOS/tvOS/watchOS

      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

       

       

        1. plugandpaint.zip
          24 kB
          Denis Shienkov
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes