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

[Reg 5.5->5.6]: Cannot compile apps with sql for iOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P0: Blocker
    • Resolution: Done
    • Affects Version/s: 5.6.0 Beta
    • Fix Version/s: 5.6.0 Beta
    • Component/s: QPA
    • Labels:
      None
    • Environment:
      OS X 10.11.1, Xcode 7.1.1, iPhoneOS9.1 SDK
    • Platform/s:
      iOS/tvOS/watchOS

      Description

      E.g. Qt Quick Controls Calendar Example fails to compile with

      /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk -L/Users/ziller/Qt5.6.0-test/Examples/Qt-5.6/qtquickcontrols/quick/controls/build-calendar-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/platforms -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.1.sdk/System/Library/Frameworks -L/Users/ziller/Qt5.6.0-test/5.6/ios/lib -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Controls -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Window.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Layouts -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQml/Models.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Extras -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtGraphicalEffects/private -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/imageformats -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/qmltooling -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/bearer -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/sqldrivers -L/opt/local/lib/mysql55/mysql -F/Users/ziller/Qt5.6.0-test/Examples/Qt-5.6/qtquickcontrols/quick/controls/build-calendar-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/Debug-iphoneos -filelist /Users/ziller/Qt5.6.0-test/Examples/Qt-5.6/qtquickcontrols/quick/controls/build-calendar-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/calendar.build/Debug-iphoneos/calendar.build/Objects-normal/armv7/calendar.LinkFileList -miphoneos-version-min=6.0 -dead_strip -headerpad_max_install_names -stdlib=libc++ -u _qt_registerPlatformPlugin -Wl,-e,_qt_main_wrapper -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/platforms -framework UIKit -framework AssetsLibrary -L/Users/ziller/Qt5.6.0-test/5.6/ios/lib -framework MobileCoreServices -framework OpenGLES -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Controls -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Window.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Layouts -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQml/Models.2 -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtQuick/Extras -L/Users/ziller/Qt5.6.0-test/5.6/ios/qml/QtGraphicalEffects/private -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/imageformats -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/qmltooling -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/bearer -L/Users/ziller/Qt5.6.0-test/5.6/ios/plugins/sqldrivers -L/opt/local/lib/mysql55/mysql -lmysqlclient_r -lz -lm -lqios_debug -framework Foundation -framework QuartzCore -framework CoreFoundation -framework CoreText -framework CoreGraphics -lQt5PlatformSupport_debug -lQt5DBus_debug -lqtfreetype_debug -framework Security -framework SystemConfiguration -lQt5Widgets_debug -lqtquick2plugin_debug -lqtquickcontrolsplugin_debug -lwindowplugin_debug -lqquicklayoutsplugin_debug -lmodelsplugin_debug -lqtquickextrasplugin_debug -lqtgraphicaleffectsprivate_debug -lqdds_debug -lqicns_debug -lqico_debug -lqjp2_debug -lqmng_debug -lqtga_debug -lqtiff_debug -lqwbmp_debug -lqwebp_debug -lqmldbg_debugger_debug -lqmldbg_inspector_debug -lQt5Quick_debug -lqmldbg_local_debug -lqmldbg_native_debug -lQt5Gui_debug -lqtharfbuzzng_debug -lqmldbg_profiler_debug -lqmldbg_server_debug -lqmldbg_tcp_debug -lQt5Qml_debug -lqgenericbearer_debug -lQt5Network_debug -lqsqlite_debug -lqsqlmysql_debug -lQt5Sql_debug -lQt5Core_debug -lqtpcre_debug -Xlinker -dependency_info -Xlinker /Users/ziller/Qt5.6.0-test/Examples/Qt-5.6/qtquickcontrols/quick/controls/build-calendar-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/calendar.build/Debug-iphoneos/calendar.build/Objects-normal/armv7/calendar_dependency_info.dat -o /Users/ziller/Qt5.6.0-test/Examples/Qt-5.6/qtquickcontrols/quick/controls/build-calendar-iphoneos_clang_Qt_5_6_0_for_iOS-Debug/calendar.build/Debug-iphoneos/calendar.build/Objects-normal/armv7/calendar
      ld: warning: directory not found for option '-L/opt/local/lib/mysql55/mysql'
      ld: warning: directory not found for option '-L/opt/local/lib/mysql55/mysql'
      ld: library not found for -lmysqlclient_r
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      

      Same sources compile and run fine with Qt 5.5.1

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              frederik Frederik Gladhorn
              Reporter:
              con Eike Ziller
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes