Uploaded image for project: 'Qbs ("Cubes")'
  1. Qbs ("Cubes")
  2. QBS-839

QtCreator generates wrong arch for iOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.4.1
    • Qt Creator Integration
    • None
    • ffcb2e654e89f7f3e0d2e745a277af1cad28a42f

    Description

      qbs.architecture: property is "arm" (should be "armv7"):

      import qbs.base 1.0
      
      Application {
          Depends { name: "cpp" }
          Depends { name: "Qt.core" }
          Depends { name: "Qt.widgets" }
          files: [ "main.cpp" ]
      }
      
      linking qbshello
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ /Users/i.komissarov/Programming/build-qbshello-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/qtc_iphoneos_293f299f-debug/qbshello.qtc-iphoneos-293f299f.f91dcc83/.obj/3a52ce780950d4d9/main.cpp.o -arch arm -g -Wall -Wextra -L/Applications/Qt/5.5/ios/lib -L/Applications/Qt/5.5/ios/plugins/platforms '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' '-L/Users/i.komissarov/Programming/qbshello/$$[QT_INSTALL_LIBS]' /Applications/Qt/5.5/ios/lib/libQt5Core_debug.a -lz -lm /Applications/Qt/5.5/ios/lib/libQt5PlatformSupport_debug.a -lz -lqtpcre_debug -lm /Applications/Qt/5.5/ios/lib/libQt5Gui_debug.a -lz -lm /Applications/Qt/5.5/ios/lib/libQt5PlatformSupport_debug.a /Applications/Qt/5.5/ios/lib/libQt5Core_debug.a -lz -lqtpcre_debug -lm -lqtharfbuzzng_debug -lz /Applications/Qt/5.5/ios/lib/libQt5Widgets_debug.a -lz -lm /Applications/Qt/5.5/ios/lib/libQt5PlatformSupport_debug.a /Applications/Qt/5.5/ios/lib/libQt5Gui_debug.a -lqtharfbuzzng_debug /Applications/Qt/5.5/ios/lib/libQt5Core_debug.a -lz -lqtpcre_debug -lm -framework Foundation -framework UIKit -framework CoreFoundation -framework Foundation -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreFoundation -framework CoreText -framework CoreGraphics -framework OpenGLES -framework UIKit -framework QuartzCore -framework CoreText -framework CoreGraphics -framework Foundation -framework CoreFoundation -framework Foundation -framework UIKit -framework CoreFoundation -framework CoreText -framework CoreGraphics -framework OpenGLES -framework OpenGLES -Wl,-undefined,error -stdlib=libc++ -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk -miphoneos-version-min=5.0 -force_load /Applications/Qt/5.5/ios/plugins/platforms/libqios_debug.a -force_load /Applications/Qt/5.5/ios/plugins/platforms/libqios_debug.a -force_load /Applications/Qt/5.5/ios/plugins/platforms/libqios_debug.a -o /Users/i.komissarov/Programming/build-qbshello-iphoneos_clang_Qt_5_5_0_for_iOS-Debug/qtc_iphoneos_293f299f-debug/qbshello.qtc-iphoneos-293f299f.f91dcc83/qbshello.app/qbshello
      ld: unknown/unsupported architecture name for: -arch armv4t
      

      Attachments

        For Gerrit Dashboard: QBS-839
        # Subject Branch Project Status CR V

        Activity

          People

            jakepetroules Jake Petroules (DO NOT ASSIGN ISSUES)
            arch Ivan Komissarov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes