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

including qtmultimedia adds wrong kits in IOS

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.2.0
    • 5.1.0 , 5.2.0
    • Multimedia
    • None
    • xcode 4.6.3 on OS X 10.8.4
    • iOS/tvOS/watchOS
    • 17a700292ad9289e8de199dc50b3e222ede42e1d 51d0f852b9be9c5753e28e2bb4a7f2f6c35dc533 94ccfbc1326ddf554d2ef3bf631f0358c2d20fb3 48a6a8a04394c63c77259fa0c2ced34dfa0ce9fe

    Description

      If the multimedia component is added to QT, then qmake adds AppKit and QtKit, those seem to be only available for MAC, not for IOS. (Last Output #1)
      If those two toolkits are manually removed then the linker returns
      QVideoSurfaceCoreGraphicsPainter::QVideoSurfaceCoreGraphicsPainter(bool) (Last Output #2)

      Last output (#1):
      Ld Release-iphoneos/qt1a.app/qt1a normal armv7
      cd /Users/pablo/projects/testqt1/qt1a
      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/pablo/projects/testqt1/qt1a/Release-iphoneos -L/Users/pablo/projects/testqt1/qt1a/../qt1 -L/Users/pablo/projects/testqt1/qt1 -L/Users/pablo/qt5-ios/qtbase/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/System/Library/Frameworks -L/Users/pablo/qt5-ios/qtbase/lib -F/Users/pablo/projects/testqt1/qt1a/Release-iphoneos -filelist /Users/pablo/projects/testqt1/qt1a/qt1a.build/Release-iphoneos/qt1a.build/Objects-normal/armv7/qt1a.LinkFileList -dead_strip -headerpad_max_install_names -u _qt_registerPlatformPlugin -L/Users/pablo/projects/testqt1/qt1a/../qt1/ -L/Users/pablo/qt5-ios/qtbase/plugins/platforms -framework UIKit -L/Users/pablo/qt5-ios/qtbase/lib -framework OpenGLES -lz -lm -miphoneos-version-min=4.3 -lqt1 -lqios -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport -lQt5MultimediaWidgets -framework AppKit -framework QTKit -framework Security -framework SystemConfiguration -lQt5OpenGL -lQt5Multimedia -lQt5Widgets -lQt5Network -lQt5Gui -lQt5Core -o /Users/pablo/projects/testqt1/qt1a/Release-iphoneos/qt1a.app/qt1a
      ld: framework not found AppKit
      clang: error: linker command failed with exit code 1 (use -v to see invocation)

      Last Output (#2):

      Undefined symbols for architecture armv7:
      "QVideoSurfaceCoreGraphicsPainter::QVideoSurfaceCoreGraphicsPainter(bool)", referenced from:
      QPainterVideoSurface::supportedPixelFormats(QAbstractVideoBuffer::HandleType) const in libQt5MultimediaWidgets.a(qpaintervideosurface.o)
      QPainterVideoSurface::isFormatSupported(QVideoSurfaceFormat const&) const in libQt5MultimediaWidgets.a(qpaintervideosurface.o)
      QPainterVideoSurface::start(QVideoSurfaceFormat const&) in libQt5MultimediaWidgets.a(qpaintervideosurface.o)
      ld: symbol(s) not found for architecture armv7

      Attachments

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

        Activity

          People

            janichol Andy Nichols
            pyaggi Pablo Yaggi
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes