Creating 5.4.1 from source (iOS)



  • Hi all,
    did anyone successfully build Qt 5.4.1 Commercial for iOS? I'm running insane...
    My last configuration command:

    • configure ../qtSrc/configure -prefix ../qtInstall/ -commercial -confirm-license -debug-and-release -nomake tests -nomake examples -qt-zlib -qt-libjpeg -qt-libpng -xplatform macx-ios-clang -no-sql-mysql
      I have taken the source from 5.4.1 as a tar.
      Everything is in my documents folder, so i don't run into any permission or profile problems anymore. Make runs thru but if i run make install i get the error for undefined symbols armv7 qt_static_plugin.....
      Please help,
      Patrik

  • Lifetime Qt Champion

    Hi,

    Since you are using a commercial edition, you should also contact the Support Center from your Qt account



  • Hi SGaist,
    I did. But i only have bronze support and that doesn't handle building of qt :(
    best,
    patrik


  • Lifetime Qt Champion

    Can you show the exact error you are getting ?



  • Hi SGaist,
    here is the output:
    Ld /tmp/qml.dst/Applications/qml.app/qml normal armv7
    cd /Users/patrik/Documents/qtbuild/qtdeclarative/tools/qml
    export IPHONEOS_DEPLOYMENT_TARGET=5.1.1
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk -L/Users/patrik/Documents/qtbuild/qtdeclarative/tools/qml/Debug-iphoneos -L/Users/patrik/Documents/qtbuild/qtbase/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.1.sdk/System/Library/Frameworks -L/Users/patrik/Documents/qtbuild/qtbase/lib -L/Users/patrik/Documents/qtbuild/qtdeclarative/lib -L/Users/patrik/Documents/qtbuild/qtdeclarative/plugins/qmltooling -L/Users/patrik/Documents/qtbuild/qtbase/plugins/bearer -L/Users/patrik/Documents/qtbuild/qtbase/plugins/imageformats -F/Users/patrik/Documents/qtbuild/qtdeclarative/tools/qml/Debug-iphoneos -filelist /Users/patrik/Documents/qtbuild/qtdeclarative/tools/qml/.obj/qml.build/Debug-iphoneos/qml.build/Objects-normal/armv7/qml.LinkFileList -dead_strip -headerpad_max_install_names -Wl,-dead_strip -stdlib=libc++ -u _qt_registerPlatformPlugin -L/Users/patrik/Documents/qtbuild/qtbase/plugins/platforms -framework UIKit -L/Users/patrik/Documents/qtbuild/qtbase/lib -framework OpenGLES -L/Users/patrik/Documents/qtbuild/qtdeclarative/lib -L/Users/patrik/Documents/qtbuild/qtdeclarative/plugins/qmltooling -L/Users/patrik/Documents/qtbuild/qtbase/plugins/bearer -L/Users/patrik/Documents/qtbuild/qtbase/plugins/imageformats -lz -lm -miphoneos-version-min=5.1.1 -lqios_debug -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport_debug -framework Security -framework SystemConfiguration -lQt5Widgets_debug -lqmldbg_qtquick2_debug -lQt5Quick_debug -lqmldbg_tcp_debug -lQt5Qml_debug -lqgenericbearer_debug -lQt5Network_debug -lqico_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lQt5Core_debug -Xlinker -dependency_info -Xlinker /Users/patrik/Documents/qtbuild/qtdeclarative/tools/qml/.obj/qml.build/Debug-iphoneos/qml.build/Objects-normal/armv7/qml_dependency_info.dat -o /tmp/qml.dst/Applications/qml.app/qml
    Undefined symbols for architecture armv7:
    "qt_static_plugin_QDDSPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QJp2Plugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QMngPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QTgaPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QICNSPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QTiffPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    "qt_static_plugin_QWbmpPlugin()", referenced from:
    __GLOBAL__I_a in qml_plugin_import.o
    ld: symbol(s) not found for architecture armv7
    clang: error: linker command failed with exit code 1 (use -v to see invocation)

    ** INSTALL FAILED **

    The following build commands failed:
    Ld /tmp/qml.dst/Applications/qml.app/qml normal armv7
    (1 failure)
    make[4]: *** [iphoneos-debug-install] Error 65
    make[3]: *** [iphoneos-install] Error 2
    make[2]: *** [sub-qml-install_subtargets] Error 2
    make[1]: *** [sub-tools-install_subtargets] Error 2
    make: *** [module-qtdeclarative-install_subtargets] Error 2
    thx,
    patrik



  • @patrikd
    Hi, I just ran into the same error when building the debug version of QT 5.5.0 for ios. Have your question solved?
    Thank you!


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.