Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.4, 6.3, 6.4
-
None
-
-
864f5c7d52 (qt/qtwebengine/dev) 46911cc619 (qt/qtwebengine/6.3) 46911cc619 (qt/qtwebengine/6.3.0)
Description
configure step:
/home/stampho/work/Qt/qt6-dev-release/qtbase/bin/qt-configure-module \ /home/stampho/work/Qt/qt6-dev-src/qtwebengine \ -- \ -DQT_FEATURE_webengine_proprietary_codecs=ON \ -DQT_BUILD_TESTS=ON \ -DQT_BUILD_EXAMPLES=ON
build step:
cmake --build .
The build step fails:
FAILED: examples/pdfwidgets/pdfviewer-ep/stamp/pdfviewer-9d70-configure /home/stampho/work/Qt/qtwebengine-dev-release/examples/pdfwidgets/pdfviewer-ep/stamp/pdfviewer-9d70-configure cd /home/stampho/work/Qt/qtwebengine-dev-release/examples/pdfwidgets/pdfviewer && /usr/bin/cmake -GNinja -C/home/stampho/work/Qt/qtwebengine-dev-release/examples/pdfwidgets/pdfviewer-ep/tmp/pdfviewer-9d70-cache-Release.cmake /home/stampho/work/Qt/qt6-dev-src/qtwebengine/examples/pdfwidgets/pdfviewer && /usr/bin/cmake -E touch /home/stampho/work/Qt/qtwebengine-dev-release/examples/pdfwidgets/pdfviewer-ep/stamp/pdfviewer-9d70-configure loading initial cache file /home/stampho/work/Qt/qtwebengine-dev-release/examples/pdfwidgets/pdfviewer-ep/tmp/pdfviewer-9d70-cache-Release.cmake -- Configuring done CMake Error at /home/stampho/work/Qt/qt6-dev-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:559 (add_executable): Target "pdfviewerwidgets" links to target "Qt::PdfWidgets" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): /home/stampho/work/Qt/qt6-dev-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (_qt_internal_create_executable) /home/stampho/work/Qt/qt6-dev-release/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:952 (qt6_add_executable) CMakeLists.txt:22 (qt_add_executable) -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
The issue happens since: https://codereview.qt-project.org/c/qt/qtwebengine/+/394073
Reverting the change fixes the issue.
Attachments
Issue Links
- resulted from
-
QTBUG-90820 Build examples as external projects within the main build
- In Progress