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

problem with QtWebengine widget

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 2.2k 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.
  • S Offline
    S Offline
    snippeur94
    wrote on last edited by
    #1

    Hello everyone, i'm new to Qt desktop development, i'm trying to create simple browser. the document i'm using uses qwebkit, but i found on internet that it's obsolet, that i should use qwebengine widget. but sends out the error : Project ERROR: Unknown module(s) in QT: webenginewidgets when i run qmake. I use qt 5.6.1. Really need help it's been two days that i'm looking for a solution.

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by mrjj
      #2

      Hi and welcome to the forums.
      What plaform ?
      As far as i know QtWebEngine is only available for Visual Studio 2013 and 2015/17 on windows platform.
      (due to the use of Chromium which cant be build with mingw)
      So you need to download visual studio 2015/17 from MS site and
      also use the maintenance tool to add a Qt for Visual Studio and the
      webengine
      alt text

      1 Reply Last reply
      1
      • S Offline
        S Offline
        snippeur94
        wrote on last edited by
        #3

        I'm using Qt creator.

        mrjjM 1 Reply Last reply
        0
        • S snippeur94

          I'm using Qt creator.

          mrjjM Offline
          mrjjM Offline
          mrjj
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @snippeur94
          Hi
          That is ok.
          Creator is an ide. (Editor)
          You need the visual studio COMPILER.
          you dont have to use visual studio IDE but you need the compiler to use with Creator.
          So you need to use the Qt for visual studio AND the compiler from Microsoft.

          I assume you are currently using mingw ?

          1 Reply Last reply
          1
          • S Offline
            S Offline
            snippeur94
            wrote on last edited by
            #5

            yes. i'm using mingw

            mrjjM 1 Reply Last reply
            0
            • S snippeur94

              yes. i'm using mingw

              mrjjM Offline
              mrjjM Offline
              mrjj
              Lifetime Qt Champion
              wrote on last edited by mrjj
              #6

              @snippeur94
              And QtWebEngine is not available for mingw.
              So you need to switch to visual studio compiler to use it. ( and switch the Qt version from the mingw QT one to a Visual Stdio Qt ) (
              you cannot use mingw Qt with visual stdio Qt and reverse.

              You can still use Creator. You just get a new kit to use besides the mingw one.
              alt text

              1 Reply Last reply
              1
              • S Offline
                S Offline
                snippeur94
                wrote on last edited by
                #7

                Please any link to get the visual studio compiler and how to add it to Qt creator?

                mrjjM 1 Reply Last reply
                0
                • S snippeur94

                  Please any link to get the visual studio compiler and how to add it to Qt creator?

                  mrjjM Offline
                  mrjjM Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @snippeur94
                  https://visualstudio.microsoft.com/downloads/
                  (Community)
                  Hopefully it will auto detect the new kit.

                  REMEMBER to also add the Qt visual studio version with maintenance tool!

                  1 Reply Last reply
                  1
                  • S Offline
                    S Offline
                    snippeur94
                    wrote on last edited by
                    #9

                    Please is there not a way to have the visual studio compiler alone, cause the installation of the whole visual studio takes 15Go. And for the moment i'm limited in disk space

                    mrjjM 1 Reply Last reply
                    0
                    • S snippeur94

                      Please is there not a way to have the visual studio compiler alone, cause the installation of the whole visual studio takes 15Go. And for the moment i'm limited in disk space

                      mrjjM Offline
                      mrjjM Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on last edited by mrjj
                      #10

                      @snippeur94
                      Hi
                      The Tools for Visual Studio 2015.
                      This package can be used with Qt Creator.
                      I have not tried the 2017 version

                      alt text

                      make sure you select the C++ component. and not all of it.

                      My install is around 4GB.

                      1 Reply Last reply
                      2

                      • Login

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