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.
  • James SprinksJ Offline
    James SprinksJ Offline
    James Sprinks
    wrote on last edited by
    #1

    Hi All

    I am desparate to use qwebenginewidgets to scrape data from a website.

    However, I get the error;

    Project ERROR: Unknown module(s) in QT: webenginewidgets

    When adding to the .pro file.

    I am using QT Creator 4.4.1 with QT 5.9.2, and MinGW 5.9.2 32bit

    Has anyone got any ideas how I get this to work?

    J

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

      Any chance you can switch to MSVC, maybe just using the build tools?

      "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

        Any chance you can switch to MSVC, maybe just using the build tools?

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

        @VRonin Can you run me through how to do that?

        1 Reply Last reply
        0
        • 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 Online
              jsulmJ Online
              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 Online
                    jsulmJ Online
                    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 Online
                        jsulmJ Online
                        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 Online
                            jsulmJ Online
                            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 Online
                              jsulmJ Online
                              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 Online
                                  jsulmJ Online
                                  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

                                          • Login

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