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

qdbusviewer failed build on ios

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.7.2
    • Fix Version/s: 5.7.2
    • Component/s: Build tools: Other
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS
    • Commits:
      f2f39946d2911fe1157d3f71094cc7acf06e2f46

      Description

      https://codereview.qt-project.org/#/c/174672/
      http://testresults.qt.io/logs/qt/qttools/9e368966f5b3d96e2d8827262131d8e72ed31769/OSXOSX_10_10x86_64IOSIOS_ANYmultiClangqtci-osx-10.10-x86_64DebugAndRelease_DisableTests_Static/0c20b059d79782cf61f2b905cc26e04bb0abfda0/buildlog.txt.gz

          /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/qt/work/qt/qttools/src/qdbus/qdbusviewer/Release-iphoneos -L/Users/qt/work/install/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk/System/Library/Frameworks -L/Users/qt/work/install/lib -L/Users/qt/work/install/plugins/imageformats -F/Users/qt/work/qt/qttools/src/qdbus/qdbusviewer/Release-iphoneos -filelist /Users/qt/work/qt/qttools/src/qdbus/qdbusviewer/.obj/qdbusviewer.build/Release-iphoneos/qdbusviewer.build/Objects-normal/arm64/qdbusviewer.LinkFileList -miphoneos-version-min=6.0 -dead_strip -headerpad_max_install_names -stdlib=libc++ -Wl,-dead_strip -u _qt_registerPlatformPlugin -Wl,-e,_qt_main_wrapper -L/Users/qt/work/install/plugins/platforms -framework UIKit -L/Users/qt/work/install/lib -framework MobileCoreServices -framework OpenGLES -L/Users/qt/work/install/plugins/imageformats -lz -lm -lqios -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport -lqtfreetype -lQt5Widgets -lQt5DBus -lQt5Xml -lqico -lQt5Gui -lqtpng -lqtharfbuzzng -lQt5Core -lqtpcre -Xlinker -dependency_info -Xlinker /Users/qt/work/qt/qttools/src/qdbus/qdbusviewer/.obj/qdbusviewer.build/Release-iphoneos/qdbusviewer.build/Objects-normal/arm64/qdbusviewer_dependency_info.dat -o /Users/qt/work/qt/qttools/src/qdbus/qdbusviewer/.obj/qdbusviewer.build/Release-iphoneos/qdbusviewer.build/Objects-normal/arm64/qdbusviewer
      Undefined symbols for architecture arm64:
        "_AudioServicesPlayAlertSound", referenced from:
            QIOSIntegration::beep() const in libqios.a(qiosintegration.o)
            non-virtual thunk to QIOSIntegration::beep() const in libqios.a(qiosintegration.o)
      ld: symbol(s) not found for architecture arm64
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      
      ** BUILD FAILED **
      
      
      The following build commands failed:
      	Ld .obj/qdbusviewer.build/Release-iphoneos/qdbusviewer.build/Objects-normal/arm64/qdbusviewer normal arm64
      (1 failure)
      make[3]: *** [xcodebuild-release-iphoneos] Error 65
      make[2]: *** [sub-qdbusviewer-make_first] Error 2
      make[1]: *** [sub-qdbus-make_first] Error 2
      make[1]: *** Waiting for unfinished jobs....
      

        Attachments

        For Gerrit Dashboard: QTBUG-56784
        # Subject Branch Project Status CR V

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes