Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebEngine will not work!
Qt 6.12 LTS is out! See what's new in the release blog

QWebEngine will not work!

Scheduled Pinned Locked Moved Solved General and Desktop
23 Posts 3 Posters 7.7k 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.
  • James SprinksJ James Sprinks

    @jsulm Found it, it is saying I need one valid and enabled repository for this action to succeed...

    jsulmJ Offline
    jsulmJ Offline
    jsulm
    Lifetime Qt Champion
    wrote on last edited by
    #14

    @James-Sprinks This is strange, it should actually work. If not you can try this tool to select a repository: https://github.com/JKSH/QtSdkRepoChooser

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

    James SprinksJ 1 Reply Last reply
    0
    • jsulmJ jsulm

      @James-Sprinks This is strange, it should actually work. If not you can try this tool to select a repository: https://github.com/JKSH/QtSdkRepoChooser

      James SprinksJ Offline
      James SprinksJ Offline
      James Sprinks
      wrote on last edited by
      #15

      @jsulm Ok it seems to be updating. Is it possible to change the compiler from MWinGW to MSVC with an existing project?

      jsulmJ 1 Reply Last reply
      0
      • James SprinksJ James Sprinks

        @jsulm Ok it seems to be updating. Is it possible to change the compiler from MWinGW to MSVC with an existing project?

        jsulmJ Offline
        jsulmJ Offline
        jsulm
        Lifetime Qt Champion
        wrote on last edited by
        #16

        @James-Sprinks said in QWebEngine will not work!:

        Is it possible to change the compiler from MWinGW to MSVC with an existing project?

        Sure. Simply select different Kit in QtCreator.

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

        James SprinksJ 1 Reply Last reply
        1
        • jsulmJ jsulm

          @James-Sprinks said in QWebEngine will not work!:

          Is it possible to change the compiler from MWinGW to MSVC with an existing project?

          Sure. Simply select different Kit in QtCreator.

          James SprinksJ Offline
          James SprinksJ Offline
          James Sprinks
          wrote on last edited by
          #17

          @jsulm I am getting a ":-1: error: msvc-version.conf loaded but QMAKE_MSC_VER isn't set" error

          1 Reply Last reply
          0
          • James SprinksJ Offline
            James SprinksJ Offline
            James Sprinks
            wrote on last edited by
            #18

            Ok, this is getting ridiculous. I am starting again from scratch. Can anyone tell me which version of Qt to install, which version of MSVC build tools to install, and how to make this work.

            Surely it should be that hard?

            J

            1 Reply Last reply
            0
            • VRoninV Offline
              VRoninV Offline
              VRonin
              wrote on last edited by VRonin
              #19

              "Build Tools for Visual Studio 2017" requires Qt 5.* for MSVC 2017

              "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
              ~Napoleon Bonaparte

              On a crusade to banish setIndexWidget() from the holy land of Qt

              James SprinksJ 1 Reply Last reply
              1
              • VRoninV VRonin

                "Build Tools for Visual Studio 2017" requires Qt 5.* for MSVC 2017

                James SprinksJ Offline
                James SprinksJ Offline
                James Sprinks
                wrote on last edited by
                #20

                @VRonin Ok. So can someone tell me how to set this as a comiler for a project - without getting all of the errors I have previously mentioned...

                1 Reply Last reply
                0
                • VRoninV Offline
                  VRoninV Offline
                  VRonin
                  wrote on last edited by
                  #21

                  In Qt Creator go to tools->options->build and run->Kits and make sure there is n MSVC 2017 one with no warning or error icon next to it

                  Open your project, in the left bar select "Projects", in the build and run section add the MSVC 2017 kit and right-click disable the others

                  "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                  ~Napoleon Bonaparte

                  On a crusade to banish setIndexWidget() from the holy land of Qt

                  1 Reply Last reply
                  3
                  • James SprinksJ Offline
                    James SprinksJ Offline
                    James Sprinks
                    wrote on last edited by
                    #22

                    Ok I have that all working byut I still cannot use QWebEngine. I get the warning;

                    C:\Users\dsg3sprinjc\Documents\DataPull\filedownloader.cpp:2: error: C1083: Cannot open include file: 'WebEngine': No such file or directory

                    Any ideas?

                    1 Reply Last reply
                    0
                    • VRoninV Offline
                      VRoninV Offline
                      VRonin
                      wrote on last edited by VRonin
                      #23

                      Did you tick the webengine addon in maintenancetool?
                      0_1523981820834_Capture.PNG

                      "La mort n'est rien, mais vivre vaincu et sans gloire, c'est mourir tous les jours"
                      ~Napoleon Bonaparte

                      On a crusade to banish setIndexWidget() from the holy land of Qt

                      1 Reply Last reply
                      3

                      • Login

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