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

Qt 5.10.0 iOS link fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Incomplete
    • P2: Important
    • None
    • 5.9.0, 5.10.0
    • QPA
    • None
    • iOS/tvOS/watchOS

    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.

      Attachments

        1. src.pro
          3 kB
          ifhmcos
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            vestbo Tor Arne Vestbø
            ifhmcos ifhmcos
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes