Details
-
Bug
-
Resolution: Done
-
P0: Blocker
-
5.6.0 Beta
-
None
-
OS X 10.11.1, Xcode 7.1.1, iPhoneOS9.1 SDK
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
- is required for
-
QTBUG-47958 Issues to be fixed before Qt 5.6.0 Beta
- Closed
For Gerrit Dashboard: QTBUG-49366 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
141110,5 | Add pg_config and mysql_config to PATH on OS X | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |
141608,2 | Make sure to build iOS without mysql and psql | master | qtqa/tqtc-coin-ci | Status: MERGED | +2 | 0 |