Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7.0
-
None
-
-
16d096709 (dev), 8ba8a6d68 (6.6)
Description
- 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
- 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.
Attachments
Issue Links
- clones
-
QTBUG-117070 Document Viewer example could not be build on Qt 6.6.0
- Closed
- duplicates
-
QTBUG-116987 DocumentViewer example broken because QPdfPageSelector is no longer a QSpinBox subclass
- Closed
- is duplicated by
-
QTBUG-117690 DocumentViewer example does not compile
- Closed
- relates to
-
QTQAINFRA-5799 Qt Test Attack - Q3, 2023
- Open