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. Is there a way to install WebEngineWidgets as dev depency in Ubuntu 14.04?
QtWS25 Last Chance

Is there a way to install WebEngineWidgets as dev depency in Ubuntu 14.04?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
qt 5.7webenginedependenciesubuntu 14.04
9 Posts 4 Posters 9.1k 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.
  • N Offline
    N Offline
    Namox9001
    wrote on last edited by
    #1

    I have an app that I made with Qt and it can be run without installing Qt Creator by just installing the dev dependencies on Linux such as:

    sudo apt-get install qt5-default
    sudo apt-get install libqt5webkit5-dev
    sudo apt-get install libqt5xmlpatterns5-dev
    

    I upgraded the app from Qt 5.2 to 5.7 and now it uses QtWebEngine and QtWebEngineWidgets. My problem is that when I run qmake and make for the upgraded app I get the error message

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

    I've been trying to find a way to install webEngineWidgets as a dev dependency on Linux just like webkitWidgets but I can't seem to find a way to do it. I've read other questions like http://stackoverflow.com/questions/29088564/how-can-i-install-qtwebengine-on-ubuntu but my problem is different since I don't want to install Qt Creator.

    Is there a way to install QtWebEngineWidgets as a dev dependency?

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

      Hi and welcome to devnet,

      What distribution are you using ? What version is it ?

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

      N mit_cruzeM 2 Replies Last reply
      1
      • SGaistS SGaist

        Hi and welcome to devnet,

        What distribution are you using ? What version is it ?

        N Offline
        N Offline
        Namox9001
        wrote on last edited by
        #3

        @SGaist I am using Ubuntu 14.04 LTS

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

          Looks like it's only available since zesty so either you update your distribution, use the binary package (e.g. online installer) or build Qt yourself.

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

          N 1 Reply Last reply
          1
          • SGaistS SGaist

            Looks like it's only available since zesty so either you update your distribution, use the binary package (e.g. online installer) or build Qt yourself.

            N Offline
            N Offline
            Namox9001
            wrote on last edited by
            #5

            @SGaist thank you for this info. Would you mind telling me how did you figure it out? In case something similar like this comes up later.

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

              14.04 is shipping a too old version of Qt. QtWebEngine is a pretty new module so for Ubuntu to get it into its official repository means that it could not be in the current either. A quick check to packages.ubuntu.com confirmed it.

              [edit: Fixed link SGaist]

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

              A 1 Reply Last reply
              2
              • SGaistS SGaist

                14.04 is shipping a too old version of Qt. QtWebEngine is a pretty new module so for Ubuntu to get it into its official repository means that it could not be in the current either. A quick check to packages.ubuntu.com confirmed it.

                [edit: Fixed link SGaist]

                A Offline
                A Offline
                adutzu89
                wrote on last edited by
                #7

                @SGaist said in Is there a way to install WebEngineWidgets as dev depency in Ubuntu 14.04?:

                14.04 is shipping a too old version of Qt. QtWebEngine is a pretty new module so for Ubuntu to get it into its official repository means that it could not be in the current either. A quick check to packages.ubunto.com confirmed it.

                packages.ubunto.com packages.ubuntu.com.

                1 Reply Last reply
                0
                • SGaistS SGaist

                  Hi and welcome to devnet,

                  What distribution are you using ? What version is it ?

                  mit_cruzeM Offline
                  mit_cruzeM Offline
                  mit_cruze
                  wrote on last edited by
                  #8

                  @SGaist I am facing same issue in Ubuntu 18.04. Getting Error " Unknown module(s) in QT: webenginewidgets"
                  I am building Qt from source.
                  My steps are as below.

                  1. http://download.qt.io/official_releases/qt/5.12/5.12.0/single/qt-everywhere-src-5.12.0.tar.xz
                  2. untar
                  3. ./configure -webengine-alsa -webengine-pulseaudio -webengine-embedded-build -webengine-icu -webengine-pepper-plugins -webengine-printing-and-pdf -webengine-proprietary-codecs -webengine-spellchecker -webengine-webrtc
                  4. make -j4
                  5. sudo make install
                    Qt Installed at /usr/local/Qt-5.7.1

                  Please Help !

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

                    @mit_cruze Unless I missed something, it's highly unlikely that building Qt 5.12.0 with the options you passed ended in installing it in /usr/local/Qt-5.7.1.

                    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