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. QWebEngine will not work!
Forum Updated to NodeBB v4.3 + New Features

QWebEngine will not work!

Scheduled Pinned Locked Moved Solved General and Desktop
23 Posts 3 Posters 4.0k 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.
  • VRoninV Offline
    VRoninV Offline
    VRonin
    wrote on last edited by
    #4

    Download and install the MSVC build tools, launch the maintenancetool on your Qt installation and install Qt for MSVC

    "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
    2
    • VRoninV VRonin

      Download and install the MSVC build tools, launch the maintenancetool on your Qt installation and install Qt for MSVC

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

      @VRonin Where do I download the MSVC build tools from (for free...)

      jsulmJ 1 Reply Last reply
      0
      • James SprinksJ James Sprinks

        @VRonin Where do I download the MSVC build tools from (for free...)

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

        @James-Sprinks @VRonin already posted the link in his first response here

        James SprinksJ 1 Reply Last reply
        1
        • jsulmJ jsulm

          @James-Sprinks @VRonin already posted the link in his first response here

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

          @jsulm Oh yes, sorry!

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

            There doesn't seem to be a QT Maintainance tool on my installation, do I need to install from scratch?

            jsulmJ 1 Reply Last reply
            0
            • James SprinksJ James Sprinks

              There doesn't seem to be a QT Maintainance tool on my installation, do I need to install from scratch?

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

              @James-Sprinks Did you use the offline installer to install Qt?
              Using online installer will give you maintenance tool in c:\Qt

              James SprinksJ 2 Replies Last reply
              0
              • jsulmJ jsulm

                @James-Sprinks Did you use the offline installer to install Qt?
                Using online installer will give you maintenance tool in c:\Qt

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

                @jsulm Online, it has not appeared in my start menu...

                jsulmJ 1 Reply Last reply
                0
                • James SprinksJ James Sprinks

                  @jsulm Online, it has not appeared in my start menu...

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

                  @James-Sprinks Simply use Windows Explorer, go to c:\Qt and start it from there.

                  1 Reply Last reply
                  3
                  • jsulmJ jsulm

                    @James-Sprinks Did you use the offline installer to install Qt?
                    Using online installer will give you maintenance tool in c:\Qt

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

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

                    jsulmJ 2 Replies Last reply
                    0
                    • 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
                      #13
                      This post is deleted!
                      1 Reply Last reply
                      0
                      • 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

                        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.

                            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 Extensions
                                          • Unsolved