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 an example project using QtWebEngine causes an error in Visual Studio 2019
Forum Updated to NodeBB v4.3 + New Features

Building an example project using QtWebEngine causes an error in Visual Studio 2019

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 581 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.
  • H Offline
    H Offline
    Hugh_Zen
    wrote on last edited by
    #1

    I am building the QT official example project by Visual studio 2019 and environment is as follows.

    Qt 6.2.4
    Visual studio 2019 Version 16.11.13
    -> installed Windows 10 SDK 10.0.19041 & ATL & clang-cl (version 8)

    All other examples work fine in both Qt Creator and VS 2019

    However, QTWebEngine example the following error occurs only in VS 2019
    (Qt Creator normally)

    Error ERROR running qmake
    qmake: (C:/Qt/6.2.4/msvc2019_64/bin/qmake)
    qmake: $PWD=D:\QTExample\webenginewidgets\simplebrowser\release\qmake\temp
    qmake: Project ERROR: Unknown module(s) in QT: webengine
    qmake: Error creating .vcxproj file


    All other examples build normally. So I don't know why.

    JKSHJ 1 Reply Last reply
    0
    • H Hugh_Zen

      I am building the QT official example project by Visual studio 2019 and environment is as follows.

      Qt 6.2.4
      Visual studio 2019 Version 16.11.13
      -> installed Windows 10 SDK 10.0.19041 & ATL & clang-cl (version 8)

      All other examples work fine in both Qt Creator and VS 2019

      However, QTWebEngine example the following error occurs only in VS 2019
      (Qt Creator normally)

      Error ERROR running qmake
      qmake: (C:/Qt/6.2.4/msvc2019_64/bin/qmake)
      qmake: $PWD=D:\QTExample\webenginewidgets\simplebrowser\release\qmake\temp
      qmake: Project ERROR: Unknown module(s) in QT: webengine
      qmake: Error creating .vcxproj file


      All other examples build normally. So I don't know why.

      JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by JKSH
      #2

      Hi, and welcome!

      @Hugh_Zen said in Building an example project using QtWebEngine causes an error in Visual Studio 2019:

      Unknown module(s) in QT: webengine

      For Qt 6.2, change webengine -> webenginequick. (This should've been documented better)

      However, QTWebEngine example the following error occurs only in VS 2019
      (Qt Creator normally)

      Can you please submit a bug report to https://bugreports.qt.io/ ?

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1

      • Login

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