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. Adding webenginewidgets Issues.

Adding webenginewidgets Issues.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 226 Views
  • 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.
  • M Offline
    M Offline
    MyNameIsQt
    wrote on last edited by MyNameIsQt
    #1

    I'm using Qt Creator 10.0.0
    Based on Qt 6.4.2 (MSVC 2019, X86_64)
    I added the following to my project's .pro file:

    QMAKE_LFLAGS_WINDOWS += /NODEFAULTLIB:libcmt.lib
    
    QT += concurrent
    
    QT += widgets
    
    QT += webenginewidgets
    

    Why does this error occur?

    :-1: error: Project ERROR: Unknown module(s) in QT: webenginewidgets```
    JonBJ 1 Reply Last reply
    0
    • M MyNameIsQt

      I'm using Qt Creator 10.0.0
      Based on Qt 6.4.2 (MSVC 2019, X86_64)
      I added the following to my project's .pro file:

      QMAKE_LFLAGS_WINDOWS += /NODEFAULTLIB:libcmt.lib
      
      QT += concurrent
      
      QT += widgets
      
      QT += webenginewidgets
      

      Why does this error occur?

      :-1: error: Project ERROR: Unknown module(s) in QT: webenginewidgets```
      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by JonB
      #2

      @MyNameIsQt
      I don't know how it works for the online installer or Windows, but is QtWebEngine/Widgets an optional part for installing, i.e. are you sure you have it installed?

      Also, you only show that your Qt Creator was compiled with MSVC 2019. That says nothing about what Qt you are compiling against or what compiler you are using? If you use MinGW at all, or an MSVC older than 2017, it won't work and you will get this message.

      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