Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QT 6.4.2 PDF Multipage Viewer and PDF Viewer Examples
Qt 6.11 is out! See what's new in the release blog

QT 6.4.2 PDF Multipage Viewer and PDF Viewer Examples

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 806 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • KaguroK Offline
    KaguroK Offline
    Kaguro
    wrote on last edited by
    #1

    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 609

    And 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 exist

    do you have any advice how i can start these two examples? Thank you in advance for your help!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If memory serves well, the modules depends on webengine and thus requires the use of the Visual Studio compiler.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      KaguroK 1 Reply Last reply
      1
      • SGaistS SGaist

        Hi,

        If memory serves well, the modules depends on webengine and thus requires the use of the Visual Studio compiler.

        KaguroK Offline
        KaguroK Offline
        Kaguro
        wrote on last edited by
        #3

        @SGaist
        Okay i will try it. Thanks for your help!

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved