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

How to install QtWebEngine

Scheduled Pinned Locked Moved Unsolved QtWebEngine
10 Posts 2 Posters 9.7k 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.
  • D Offline
    D Offline
    Dovzhik Anatoly
    wrote on 12 Aug 2016, 09:16 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
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 12 Aug 2016, 09:28 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

      D 1 Reply Last reply 17 Aug 2016, 09:53
      0
      • S SGaist
        12 Aug 2016, 09:28

        Hi,

        Which version of Qt did you install ?

        D Offline
        D Offline
        Dovzhik Anatoly
        wrote on 17 Aug 2016, 09:53 last edited by
        #3

        @Dovzhik-Anatoly said:

        qt creator 5.6.1

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 17 Aug 2016, 10:15 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

          D 1 Reply Last reply 17 Aug 2016, 10:25
          0
          • S SGaist
            17 Aug 2016, 10:15

            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 ?

            D Offline
            D Offline
            Dovzhik Anatoly
            wrote on 17 Aug 2016, 10:25 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
            • S Offline
              S Offline
              SGaist
              Lifetime Qt Champion
              wrote on 17 Aug 2016, 10:30 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

              D 1 Reply Last reply 17 Aug 2016, 10:37
              0
              • S SGaist
                17 Aug 2016, 10:30

                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.

                D Offline
                D Offline
                Dovzhik Anatoly
                wrote on 17 Aug 2016, 10:37 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
                • S Offline
                  S Offline
                  SGaist
                  Lifetime Qt Champion
                  wrote on 17 Aug 2016, 21:22 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

                  D 1 Reply Last reply 18 Aug 2016, 09:20
                  0
                  • S SGaist
                    17 Aug 2016, 21:22

                    Do you mean in designer ?

                    D Offline
                    D Offline
                    Dovzhik Anatoly
                    wrote on 18 Aug 2016, 09:20 last edited by
                    #9

                    @SGaist said:

                    Do you mean in designer ?

                    Yes

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 18 Aug 2016, 19:59 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

                      1/10

                      12 Aug 2016, 09:16

                      • 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