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

[REG 6.0.0 beta2->beta3] Building an example with qmake targeting the iOS Device SDK/Simulator config fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P0: Blocker
    • 6.0.0 RC
    • 6.0.0 Beta3
    • Build System
    • macOS10.15.7
      xcode 12.1
      iPadOS 14.1

    Description

      Qt6.0.0 beta3 (SHA1 f641b7112e8083dd667b9ac97babd1f8b923c828).

      Unable to build examples either to device or Simulator (release or debug): (log from the Simulator build, full log attached)

      Ld Debug-iphonesimulator/addressbook.app/addressbook normal x86_64
          cd /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug
          export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/qt/RTA/qt5/6.0.0/clang_64/bin:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin"
          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -target x86_64-apple-ios12.0-simulator -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk -L/Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/Debug-iphonesimulator -L/Users/qt/RTA/qt5/6.0.0/ios/plugins/platforms/darwin -L/Users/qt/RTA/qt5/6.0.0/ios/plugins/iconengines -L/Users/qt/RTA/qt5/6.0.0/ios/plugins/imageformats -L/Users/qt/RTA/qt5/6.0.0/ios/lib -L/Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qstyle/.rcc -L/Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qstyle1/.rcc -L/Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qmessagebox/.rcc -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks -L/Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Gui_resources_qpdf/.rcc -L/Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Core_resources_mimetypes/.rcc -F/Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/Debug-iphonesimulator -filelist /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/addressbook.build/Debug-iphonesimulator/addressbook.build/Objects-normal/x86_64/addressbook.LinkFileList -dead_strip -Xlinker -object_path_lto -Xlinker /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/addressbook.build/Debug-iphonesimulator/addressbook.build/Objects-normal/x86_64/addressbook_lto.o -Xlinker -no_deduplicate -Xlinker -objc_abi_version -Xlinker 2 -stdlib=libc++ -Wl,-e,_qt_main_wrapper -Wl,-rpath,@executable_path/Frameworks -framework AssetsLibrary -lz -lm -framework MobileCoreServices -framework UIKit -framework OpenGLES -Xlinker -sectcreate -Xlinker __TEXT -Xlinker __entitlements -Xlinker /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/addressbook.build/Debug-iphonesimulator/addressbook.build/addressbook.app-Simulated.xcent -lqiosnsphotolibrarysupport_debug -lqsvgicon_debug -lqgif_debug -lqico_debug -lqjpeg_debug -lqsvg_debug -lQt6Svg_debug -lQt6Widgets_debug /Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qstyle/.rcc/qrc_qstyle.cpp.o /Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qstyle1/.rcc/qrc_qstyle1.cpp.o /Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Widgets_resources_qmessagebox/.rcc/qrc_qmessagebox.cpp.o -lQt6Gui_debug -framework ImageIO -framework CoreGraphics -lQt6BundledHarfbuzz_debug -framework CoreText -lQt6BundledFreetype_debug -lQt6BundledLibpng_debug -framework Metal /Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Gui_resources_qpdf/.rcc/qrc_qpdf.cpp.o -lQt6Core_debug -lQt6Core_qobject_debug -framework CoreFoundation -framework Foundation -lQt6BundledPcre2_debug /Users/qt/RTA/qt5/6.0.0/ios/lib/objects-Debug/Core_resources_mimetypes/.rcc/qrc_mimetypes.cpp.o -Xlinker -dependency_info -Xlinker /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/addressbook.build/Debug-iphonesimulator/addressbook.build/Objects-normal/x86_64/addressbook_dependency_info.dat -o /Users/qt/RTA/qt5/Examples/Qt-6.0.0/widgets/itemviews/build-addressbook-Qt_6_0_0_for_iOS_Simulator-Debug/Debug-iphonesimulator/addressbook.app/addressbook
      ld: entry point (_qt_main_wrapper) undefined. for architecture x86_64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)** BUILD FAILED **
      The following build commands failed:
      	Ld Debug-iphonesimulator/addressbook.app/addressbook normal x86_64
      (1 failure)
      make: *** [xcodebuild-debug-simulator] Error 65
      12:25:35: The process "/usr/bin/make" exited with code 2.
      Error while building/deploying project addressbook (kit: Qt 6.0.0 for iOS Simulator)
      The kit Qt 6.0.0 for iOS Simulator has configuration issues which might be the root cause for this problem.
      When executing step "Make"
      

      Example build was working with beta2 (SHA1 efd24d2c41b7d8e07941133633b1580851761bb0)

      Attachments

        Issue Links

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

          Activity

            People

              alexandru.croitor Alexandru Croitor
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes