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

[REG 6.3.0beta2->beta3] bluetooth/heartrate-server not compiling on iOS

    XMLWordPrintable

Details

    • iOS/tvOS/watchOS
    • d4b1a61229 (qt/qtconnectivity/dev) 6b49544e8e (qt/qtconnectivity/6.3) 6b49544e8e (qt/tqtc-qtconnectivity/6.3) d4b1a61229 (qt/tqtc-qtconnectivity/dev)

    Description

      Install Qt6.3.0 iOS binaries, and configure example bluetooth/heartrate-server:

      Users/qt/RTA/Qt_6.3.0/6.3.0/ios/bin/qt-cmake -S /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/bluetooth/heartrate-server -B /Users/qt/RTA/Qt_6.3.0/Examples/Qt-6.3.0/bluetooth/heartrate-server/bld_ios -GNinja
      

      Finishes fine, compile cmake --build . --parallel, fails:

      [5/5] Linking CXX executable heartrate-server.app/heartrate-server
      FAILED: heartrate-server.app/heartrate-server 
      : && /Applications/Xcode12.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ -arch arm64 -isysroot /Applications/Xcode12.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS14.4.sdk -miphoneos-version-min=13.0 -Wl,-headerpad_max_install_names -Wl,-e,_qt_main_wrapper /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/plugins/networkinformation/objects-Debug/QSCNetworkReachabilityNetworkInformationPlugin_init/QSCNetworkReachabilityNetworkInformationPlugin_init.cpp.o /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/plugins/tls/objects-Debug/QSecureTransportBackendPlugin_init/QSecureTransportBackendPlugin_init.cpp.o CMakeFiles/heartrate-server.dir/heartrate-server_autogen/mocs_compilation.cpp.o CMakeFiles/heartrate-server.dir/main.cpp.o -o heartrate-server.app/heartrate-server  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/lib/libQt6Core.a  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/./plugins/networkinformation/libqscnetworkreachability.a  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/./plugins/tls/libqsecuretransportbackend.a  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/lib/libQt6Bluetooth.a  -framework CoreBluetooth  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/lib/libQt6Network.a  -framework SystemConfiguration  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/lib/libQt6Core.a  -framework CoreFoundation  -framework Foundation  -lz  -lm  /Users/qt/RTA/Qt_6.3.0/6.3.0/ios/lib/libQt6BundledPcre2.a  -framework MobileCoreServices  -framework UIKit  -framework Security && :
      Undefined symbols for architecture arm64:
        "_qt_main_wrapper", referenced from:
           implicit entry/start for main executable
      ld: symbol(s) not found for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      ninja: build stopped: subcommand failed.
      

      Example was working with 6.3.0 beta2

       

      Attachments

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

        Activity

          People

            vuokko Juha Vuolle
            joaijala Johanna Äijälä
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes