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

Document Viewer example could not be build on Qt 6.7.0

XMLWordPrintable

    • macOS
    • 16d096709 (dev), 8ba8a6d68 (6.6)

      1. Open the project Document Viewer from Qt 6.7.0 (snapshot from dev) examples, https://doc.qt.io/qt-6/qtdoc-demos-documentviewer-example.html
      2. Try to build the project and run it with Qt 6.7.0 on desktop

       

      Actual: The project cannot be built.

      ld: Undefined symbols:
        PdfViewer::onActionOpenTriggered(), referenced from:
            PdfViewer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_compilation.cpp.o
        PdfViewer::onActionQuitTriggered(), referenced from:
            PdfViewer::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) in mocs_compilation.cpp.o
      clang: error: linker command failed with exit code 1 (use -v to see invocation)
      [2/11 1.0/sec] Automatic MOC and UIC for target documentviewer
      ninja: build stopped: subcommand failed.
      17:06:57: The process "/Users/lukaszkosiorowski/Qt/Tools/CMake/CMake.app/Contents/bin/cmake" exited with code 1.
      Error while building/deploying project documentviewer (kit: Qt 6.7.0 for macOS)
      When executing step "Build"  

      Expected: Project can be built.

       

       

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

            axelspoerl Axel Spoerl
            lkos Łukasz Kosiorowski
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes