Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. Building QtPdf inside QtWebEngine... Get this on build ->WARNING: QtPdf will not be built.
Forum Updated to NodeBB v4.3 + New Features

Building QtPdf inside QtWebEngine... Get this on build ->WARNING: QtPdf will not be built.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 3 Posters 1.6k 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.
  • C Offline
    C Offline
    Cart_man
    wrote on 27 Aug 2020, 20:20 last edited by
    #1

    Hi

    I am trying to following this example on how to build -> https://wiki.qt.io/QtPDF_Build_Instructions
    I Managed to get all the tools I need to to make the instruction go smoothly. Right before I am suppose to run mingw32-make though I get this output.

    C:\Tools\build>qmake ../qtwebengine -- -no-build-qtwebengine-core
    Info: creating stash file C:\Tools\build\.qmake.stash
    Info: creating cache file C:\Tools\build\.qmake.cache
    
    Running configuration tests...
    Checking for architecture supported... yes
    Checking for bison... yes
    Checking for python2...
    Checking for flex... yes
    Checking for gperf... yes
    Checking for jumbo build merge limit... 0
    Checking for platform supported... Qt WebEngine on Windows requires MSVCg (MSVC mode).
    Checking for build path without whitespace... yes
    Checking for submodule initialized... yes
    Checking for d-bus... no
    Checking for fontconfig... no
    Checking for libdrm... no
    Checking for system ninja... no
    Checking for xcomposite... no
    Checking for xcursor... no
    Checking for xi... no
    Checking for xkbcommon... no
    Checking for xtst... no
    Checking for 64bit compiler... yes
    Checking for winversion... no
    Done running configuration tests.
    
    Configure summary:
    
    Qt WebEngine Build Tools:
      Use System Ninja ....................... no
      Use System Gn .......................... no
      Jumbo Build Merge Limit ................ no
      Developer build ........................ no
    
    Note: The following modules are not being compiled in this configuration
        webenginecore
        webengine
        webenginewidgets
        pdf
        pdfwidgets
    
    WARNING: Qt WebEngine on Windows requires MSVC or Clang (MSVC mode).
    
    **WARNING: QtPdf will not be built.**
    
    Qt is now configured for building. Just run 'mingw32-make'.
    Once everything is built, you must run 'mingw32-make install'.
    

    So I why does it keep on saying -> WARNING: QtPdf will not be built.
    What do I have to do to make this work?

    Thanks!

    J 1 Reply Last reply 28 Aug 2020, 04:55
    0
    • C Cart_man
      27 Aug 2020, 20:20

      Hi

      I am trying to following this example on how to build -> https://wiki.qt.io/QtPDF_Build_Instructions
      I Managed to get all the tools I need to to make the instruction go smoothly. Right before I am suppose to run mingw32-make though I get this output.

      C:\Tools\build>qmake ../qtwebengine -- -no-build-qtwebengine-core
      Info: creating stash file C:\Tools\build\.qmake.stash
      Info: creating cache file C:\Tools\build\.qmake.cache
      
      Running configuration tests...
      Checking for architecture supported... yes
      Checking for bison... yes
      Checking for python2...
      Checking for flex... yes
      Checking for gperf... yes
      Checking for jumbo build merge limit... 0
      Checking for platform supported... Qt WebEngine on Windows requires MSVCg (MSVC mode).
      Checking for build path without whitespace... yes
      Checking for submodule initialized... yes
      Checking for d-bus... no
      Checking for fontconfig... no
      Checking for libdrm... no
      Checking for system ninja... no
      Checking for xcomposite... no
      Checking for xcursor... no
      Checking for xi... no
      Checking for xkbcommon... no
      Checking for xtst... no
      Checking for 64bit compiler... yes
      Checking for winversion... no
      Done running configuration tests.
      
      Configure summary:
      
      Qt WebEngine Build Tools:
        Use System Ninja ....................... no
        Use System Gn .......................... no
        Jumbo Build Merge Limit ................ no
        Developer build ........................ no
      
      Note: The following modules are not being compiled in this configuration
          webenginecore
          webengine
          webenginewidgets
          pdf
          pdfwidgets
      
      WARNING: Qt WebEngine on Windows requires MSVC or Clang (MSVC mode).
      
      **WARNING: QtPdf will not be built.**
      
      Qt is now configured for building. Just run 'mingw32-make'.
      Once everything is built, you must run 'mingw32-make install'.
      

      So I why does it keep on saying -> WARNING: QtPdf will not be built.
      What do I have to do to make this work?

      Thanks!

      J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 28 Aug 2020, 04:55 last edited by
      #2

      @Cart_man said in Building QtPdf inside QtWebEngine... Get this on build ->WARNING: QtPdf will not be built.:

      WARNING: Qt WebEngine on Windows requires MSVC or Clang (MSVC mode).

      Did you notice this? QtWebEngine cannot be built with MinGW.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1
      • S Offline
        S Offline
        SGaist
        Lifetime Qt Champion
        wrote on 28 Aug 2020, 04:56 last edited by
        #3

        Hi,

        As the error message suggests: change the compiler. Chromium, on which QtWebEngine is based, does not support MinGW.

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

        1 Reply Last reply
        0

        2/3

        28 Aug 2020, 04:55

        • Login

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