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. How do I get QT webkitwidgets?
Forum Updated to NodeBB v4.3 + New Features

How do I get QT webkitwidgets?

Scheduled Pinned Locked Moved Unsolved General and Desktop
10 Posts 2 Posters 1.5k Views 2 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.
  • P Offline
    P Offline
    part-time roadman
    wrote on 21 Jun 2020, 06:23 last edited by
    #1

    I'm trying to load the module but I keep getting an error saying it's an unknown module. What do I download to get it working? (I'm on windows)

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 21 Jun 2020, 06:36 last edited by
      #2

      Hi
      What Qt version are you trying with ?
      It was retired in Q5.6
      https://forum.qt.io/topic/76739/webkit-status-2017
      https://forum.qt.io/topic/102816/webkit-status-2019

      with newer Qt:
      You can use web engine with visual studio. MinGW is not supported.
      https://doc.qt.io/qt-5/qtwebengine-index.html

      1 Reply Last reply
      1
      • P Offline
        P Offline
        part-time roadman
        wrote on 21 Jun 2020, 06:42 last edited by part-time roadman
        #3

        Oh I'm using 5.15. How would I get it working on visual studio? Also when I installed Qt I ticked the Qt WebEngine box in 5.15.

        M 1 Reply Last reply 21 Jun 2020, 06:54
        0
        • P part-time roadman
          21 Jun 2020, 06:42

          Oh I'm using 5.15. How would I get it working on visual studio? Also when I installed Qt I ticked the Qt WebEngine box in 5.15.

          M Offline
          M Offline
          mrjj
          Lifetime Qt Champion
          wrote on 21 Jun 2020, 06:54 last edited by mrjj
          #4

          @part-time-roadman
          Hi
          ok.

          option 1. use the version talked in the links. its revived version but it has currently security issues. read the info carefully if you go this way.

          option 2:
          Install visual studio from Microsoft site.
          (Note you only need c++ role and sdk. dont select all or it will install 40GB+. Google c++ role. You dont need IDE)

          QtCreator should pick up the compiler.

          Qt WebEngine does not work with mingew.
          alt text
          Only VS 2017 or 2019 on Windows.

          https://doc.qt.io/qt-5/webengine-widgetexamples.html

          1 Reply Last reply
          2
          • P Offline
            P Offline
            part-time roadman
            wrote on 21 Jun 2020, 07:03 last edited by
            #5

            @mrjj Hi I already have VS 2019 installed, but I'm still not sure how to get Qt working on it.

            M 1 Reply Last reply 21 Jun 2020, 07:09
            0
            • P part-time roadman
              21 Jun 2020, 07:03

              @mrjj Hi I already have VS 2019 installed, but I'm still not sure how to get Qt working on it.

              M Offline
              M Offline
              mrjj
              Lifetime Qt Champion
              wrote on 21 Jun 2020, 07:09 last edited by
              #6

              @part-time-roadman

              well you must install the Qt packet that matches. (as close as possible)
              Like VS 2017 Qt 64
              Then Creator should be able to use it.

              Try make new project and see if you can select Visual studio

              If not, then you have to look in your options / kits to see what is going on. Many post here about manually adding a kit.

              Normally it just works.

              1 Reply Last reply
              0
              • P Offline
                P Offline
                part-time roadman
                wrote on 21 Jun 2020, 07:25 last edited by
                #7

                @mrjj Ok I've got it working on VS19 now but everytime I try to add the QWebEngineView to my window in the designer then try to run I get build errors, adding anything else (buttons labels etc) works.

                M 1 Reply Last reply 21 Jun 2020, 07:30
                0
                • P part-time roadman
                  21 Jun 2020, 07:25

                  @mrjj Ok I've got it working on VS19 now but everytime I try to add the QWebEngineView to my window in the designer then try to run I get build errors, adding anything else (buttons labels etc) works.

                  M Offline
                  M Offline
                  mrjj
                  Lifetime Qt Champion
                  wrote on 21 Jun 2020, 07:30 last edited by
                  #8

                  @part-time-roadman
                  Hi
                  sounds good
                  and you added
                  QT += webenginewidgets
                  to your .pro file and
                  run qmake, then rebuild all ?
                  (even better , delete build folder and run build all)

                  1 Reply Last reply
                  1
                  • P Offline
                    P Offline
                    part-time roadman
                    wrote on 21 Jun 2020, 07:41 last edited by
                    #9

                    @mrjj Do I have to manually make a .pro file if I'm on VS and not Qt creator?

                    M 1 Reply Last reply 21 Jun 2020, 07:45
                    0
                    • P part-time roadman
                      21 Jun 2020, 07:41

                      @mrjj Do I have to manually make a .pro file if I'm on VS and not Qt creator?

                      M Offline
                      M Offline
                      mrjj
                      Lifetime Qt Champion
                      wrote on 21 Jun 2020, 07:45 last edited by
                      #10

                      @part-time-roadman
                      If you are using the VS IDE, then there is also a plugin that converts to .pro / allow to make projects.
                      https://marketplace.visualstudio.com/items?itemName=TheQtCompany.QtVisualStudioTools-19123

                      I dont know if that works with 2019 or there is newer somewhere.

                      1 Reply Last reply
                      1

                      1/10

                      21 Jun 2020, 06:23

                      • Login

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