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

[REG 5.7.0 -> 5.8] android: widgets/painting/fontsampler example not compiling

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.8.0 RC
    • 5.8.0 Beta
    • Android on macOS and Windows

    Description

      qt-opensource-mac-x64-android-5.8.0-beta_444.dmg
      also enterprise installer

      Install with default options, launch QtCreator and try to build example:
      widgets/painting/fontsampler
      -> build fails with errorlog:

      "moc_mainwindow.o:moc_mainwindow.cpp:function MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0]: error: undefined reference to 'MainWindow::on_printAction_triggered()'"
      "moc_mainwindow.o:moc_mainwindow.cpp:function MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0]: error: undefined reference to 'MainWindow::on_printPreviewAction_triggered()'"
      "moc_mainwindow.o:moc_mainwindow.cpp:function MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0]: error: undefined reference to 'MainWindow::printDocument(QPrinter*)'"
      "moc_mainwindow.o:moc_mainwindow.cpp:function MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.0]: error: undefined reference to 'MainWindow::printPage(int, QPainter*, QPrinter*)'"
      'collect2: error: ld returned 1 exit status
      make: *** [libfontsampler.so] Error 1
      

      Example was working with Qt5.7.0.

      Attachments

        Issue Links

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

          Activity

            People

              laknoll Lars Knoll
              joaijala Johanna Äijälä
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes