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
Forum Updated to NodeBB v4.3 + New Features

webenginecore added by VS build to qtvars.pro file

Scheduled Pinned Locked Moved Unsolved QtWebEngine
8 Posts 3 Posters 418 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 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?

    Christian EhrlicherC 1 Reply Last reply
    0
    • L lynnv

      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?

      Christian EhrlicherC Online
      Christian EhrlicherC Online
      Christian Ehrlicher
      Lifetime Qt Champion
      wrote 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 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.

        jsulmJ 1 Reply Last reply
        0
        • L lynnv

          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.

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote 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
          0
          • Christian EhrlicherC Online
            Christian EhrlicherC Online
            Christian Ehrlicher
            Lifetime Qt Champion
            wrote 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 last edited by
              #6
              This post is deleted!
              1 Reply Last reply
              0
              • jsulmJ jsulm

                @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 last edited by
                #7

                @jsulm Yes I did a clean rebuild.

                1 Reply Last reply
                0
                • L Offline
                  L Offline
                  lynnv
                  wrote 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

                  • Login

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