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. webenginecore added by VS build to qtvars.pro file
Servers for Qt installer are currently down

webenginecore added by VS build to qtvars.pro file

Scheduled Pinned Locked Moved Unsolved QtWebEngine
8 Posts 3 Posters 599 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.
  • L Offline
    L Offline
    lynnv
    wrote on 7 May 2025, 15:06 last edited by
    #1

    My system:
    Visual Studio 2022
    Qt 6.9.0
    - Built from source using MSVC 2022
    - "configure.bat -modules qtbase -skip webenginecore,network -debug"

    My project build error:
    Project ERROR: Unknown module(s) in QT: webenginecore.

    My project does not need webenginecore, or network modules. Also, I excluded both of these modules from the QT build. When I go to my project properties files, under "Qt Project Settings" then "Qt Modules" item, I see "core;gui;widgets" which is correct. However, when I use the dropdown on this item to "<Select Modules>" I see that both QtWebEngine and QtNetwork are both checked. (The .props file when opened in plain text does not include these modules). When I build the project, webenginecore and network are added to the qtvars.pro file, and I get this error again. This happens even after I edit the qtvars.pro file to delete the webenginecore and network items. Why is webenginecore being added to my .pro file when I don't want or need this module?

    C 1 Reply Last reply 7 May 2025, 15:09
    0
    • L lynnv
      7 May 2025, 15:06

      My system:
      Visual Studio 2022
      Qt 6.9.0
      - Built from source using MSVC 2022
      - "configure.bat -modules qtbase -skip webenginecore,network -debug"

      My project build error:
      Project ERROR: Unknown module(s) in QT: webenginecore.

      My project does not need webenginecore, or network modules. Also, I excluded both of these modules from the QT build. When I go to my project properties files, under "Qt Project Settings" then "Qt Modules" item, I see "core;gui;widgets" which is correct. However, when I use the dropdown on this item to "<Select Modules>" I see that both QtWebEngine and QtNetwork are both checked. (The .props file when opened in plain text does not include these modules). When I build the project, webenginecore and network are added to the qtvars.pro file, and I get this error again. This happens even after I edit the qtvars.pro file to delete the webenginecore and network items. Why is webenginecore being added to my .pro file when I don't want or need this module?

      C Online
      C Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote on 7 May 2025, 15:09 last edited by
      #2

      @lynnv said in webenginecore added by VS build to qtvars.pro file:

      -skip webenginecore,network

      This is not how it works

      -skip webenginecore -skip network

      Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
      Visit the Qt Academy at https://academy.qt.io/catalog

      1 Reply Last reply
      1
      • L Offline
        L Offline
        lynnv
        wrote on 7 May 2025, 15:48 last edited by
        #3

        Thanks for your response. I rebuilt QT with the corrected config line "configure.bat -modules qtbase -skip webenginecore -skip network -debug" but I am still having the same issue as originally reported.

        J 1 Reply Last reply 8 May 2025, 05:24
        0
        • L lynnv
          7 May 2025, 15:48

          Thanks for your response. I rebuilt QT with the corrected config line "configure.bat -modules qtbase -skip webenginecore -skip network -debug" but I am still having the same issue as originally reported.

          J Offline
          J Offline
          jsulm
          Lifetime Qt Champion
          wrote on 8 May 2025, 05:24 last edited by
          #4

          @lynnv said in webenginecore added by VS build to qtvars.pro file:

          I rebuilt QT with the corrected config line

          Did you do a clean rebuild (new build folder)?

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

          L 1 Reply Last reply 8 May 2025, 15:10
          0
          • C Online
            C Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote on 8 May 2025, 05:28 last edited by
            #5

            I wonder if it is really webenginecore or rather webengine.

            Qt Online Installer direct download: https://download.qt.io/official_releases/online_installers/
            Visit the Qt Academy at https://academy.qt.io/catalog

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lynnv
              wrote on 8 May 2025, 14:50 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • J jsulm
                8 May 2025, 05:24

                @lynnv said in webenginecore added by VS build to qtvars.pro file:

                I rebuilt QT with the corrected config line

                Did you do a clean rebuild (new build folder)?

                L Offline
                L Offline
                lynnv
                wrote on 8 May 2025, 15:10 last edited by
                #7

                @jsulm Yes I did a clean rebuild.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lynnv
                  wrote on 9 May 2025, 15:41 last edited by
                  #8

                  I found the issue. When I migrated to the new QT Visual Studio tools upon being prompted by VS (I'm upgrading from Qt 5.15.0), this section was added to a higher level .props file where it was not previously.

                  <PropertyGroup Label="QtSettings">
                  <QtInstall>Qt_Qt-6.9.0</QtInstall>
                  <QtModules>core;gui;network;widgets;webenginecore</QtModules>
                  </PropertyGroup>

                  Deleting the "network" and "webenginecore" items got the webenginecore error to disappear.

                  1 Reply Last reply
                  1

                  8/8

                  9 May 2025, 15:41

                  • Login

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