Details
-
Bug
-
Resolution: Incomplete
-
P2: Important
-
None
-
5.9.0, 5.10.0
-
None
Description
Hello, I have the following problem when trying to compile a qt-based library for iphone (Qwt 6.1.3) with both versions 5.9 and 5.10 of Qt.
With version 5.9.0 I get the following error
Undefined symbols for architecture armv7: "_main", referenced from: user_main_trampoline() in libqios.a(qioseventdispatcher.o) (maybe you meant: _jinit_d_main_controller, _qt_main_wrapper , _jinit_c_main_controller , __Z20qt_mainwindow_layoutPK11QMainWindow ) ld: symbol(s) not found for architecture armv7
And with version 5.10.0
In file included from ../../../src/qwt_plot_renderer.cpp:24:
/Users/name/Qt5.10.0/5.10.0/ios/include/QtPrintSupport/qprintdialog.h:47:1: error: static_assert failed "Required feature printdialog for file /Users/name/Qt5.10.0/5.10.0/ios/include/QtPrintSupport/qprintdialog.h not available."
QT_REQUIRE_CONFIG(printdialog);
I could compile and deploy the project for android and my desktop (a mac os) using Qt 5.10.0. So the problem presents only when compiling for iphoneOS.
Thanks for your help.