QT 6.4.2 PDF Multipage Viewer and PDF Viewer Examples
-
Hi Guys!
I would like to run the PDF Multipage Viewer and PDF Viewer Examples but none of them build. Both have Cmakelist, I don't know if it matters.The PDF Multipage Viewer after build drop this error:
QQmlApplicationEngine failed to load component
qrc:/pdfviewer/viewer.qml:7:1: module "QtQuick.Pdf" is not installed
ASSERT: "!isEmpty()" in file C:/Qt/6.4.2/mingw_64/include/QtCore/qlist.h, line 609And crashed.
When I tried open the PDF Viewer Example i can't even build it i got this error:
C:\Qt\Examples\Qt-6.4.2\pdfwidgets\pdfviewer\CMakeLists.txt:13: error: Found package configuration file: C:/Qt/6.4.2/mingw_64/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "PdfWidgets". Expected Config file at "C:/Qt/6.4.2/mingw_64/lib/cmake/Qt6PdfWidgets/Qt6PdfWidgetsConfig.cmake" does NOT existdo you have any advice how i can start these two examples? Thank you in advance for your help!
-
Hi,
If memory serves well, the modules depends on webengine and thus requires the use of the Visual Studio compiler.
-
Hi,
If memory serves well, the modules depends on webengine and thus requires the use of the Visual Studio compiler.