Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. How to install QtWebEngine
Qt 6.11 is out! See what's new in the release blog

How to install QtWebEngine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
10 Posts 2 Posters 12.1k 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.
  • Dovzhik AnatolyD Offline
    Dovzhik AnatolyD Offline
    Dovzhik Anatoly
    wrote on last edited by
    #1

    Hello. I have :
    windows 7
    vs 2013
    qt addin 1.2.5
    qt creator 5.6.1
    vs 2015

    I saw in a tutorial WebView widget, but don't found it at my environment. Then I read, that now QtWeb is not a part of QtCreator, so i have to install it myself. Could you help me to find what i need to install and how to install (because i didn't find it) to use QtWebView (or QtWebEngine) in QtCreator ?

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

      Hi,

      Which version of Qt did you install ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Dovzhik AnatolyD 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi,

        Which version of Qt did you install ?

        Dovzhik AnatolyD Offline
        Dovzhik AnatolyD Offline
        Dovzhik Anatoly
        wrote on last edited by
        #3

        @Dovzhik-Anatoly said:

        qt creator 5.6.1

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Do you mean Qt 5.6.1 ? The version of Qt Creator has nothing to do with Qt itself.

          In any case, did you add QT += webengine to your .pro file ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Dovzhik AnatolyD 1 Reply Last reply
          0
          • SGaistS SGaist

            Do you mean Qt 5.6.1 ? The version of Qt Creator has nothing to do with Qt itself.

            In any case, did you add QT += webengine to your .pro file ?

            Dovzhik AnatolyD Offline
            Dovzhik AnatolyD Offline
            Dovzhik Anatoly
            wrote on last edited by
            #5

            @SGaist
            Now i have added QT += webengine to my .pro file.
            In "Display Widgets" i still don't see something like WebView or similar

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              If you want to use QtWebEngine's widgets you have to add QT += webenginewidgets to your .pro file. Don't forget to re-run qmake to ensure the new values are taken into account.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              Dovzhik AnatolyD 1 Reply Last reply
              0
              • SGaistS SGaist

                If you want to use QtWebEngine's widgets you have to add QT += webenginewidgets to your .pro file. Don't forget to re-run qmake to ensure the new values are taken into account.

                Dovzhik AnatolyD Offline
                Dovzhik AnatolyD Offline
                Dovzhik Anatoly
                wrote on last edited by
                #7

                @SGaist
                My .pro file :

                QT       += core gui webenginewidgets
                
                greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
                
                TARGET = ViewTry
                TEMPLATE = app
                
                
                SOURCES += main.cpp\
                        mainwindow.cpp
                
                HEADERS  += mainwindow.h
                
                FORMS    += mainwindow.ui
                

                After i have added webenginewidgets i pressed "Build" -> "Run qmake". Nothing changed in "Display Widgets" category. After rerunning Qt Creator all the same.

                1 Reply Last reply
                0
                • SGaistS Offline
                  SGaistS Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  Do you mean in designer ?

                  Interested in AI ? www.idiap.ch
                  Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                  Dovzhik AnatolyD 1 Reply Last reply
                  0
                  • SGaistS SGaist

                    Do you mean in designer ?

                    Dovzhik AnatolyD Offline
                    Dovzhik AnatolyD Offline
                    Dovzhik Anatoly
                    wrote on last edited by
                    #9

                    @SGaist said:

                    Do you mean in designer ?

                    Yes

                    1 Reply Last reply
                    0
                    • SGaistS Offline
                      SGaistS Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on last edited by
                      #10

                      I don't remember whether there's a plugin for Designer for QtWebEngine. However it should be pretty easy to set things by hand in the constructor of your object.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      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