Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. Module "QtWebKit" is not installed
QtWS25 Last Chance

Module "QtWebKit" is not installed

Scheduled Pinned Locked Moved Qt WebKit
11 Posts 3 Posters 7.5k 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
    drewpotter
    wrote on last edited by
    #1

    Dear All,

    I have installed Qt 5.3.1 from source code on Kubuntu.

    I have an app which is working but when I try in QML to: import QtWebKit 3.0

    I get this error:

    module "QtWebKit" is not installed

    Is there something I am missing here?

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Did you skip QtWebkit module during compilation ?
      Can you post your complete configure command for Qt compilation ?

      157

      1 Reply Last reply
      0
      • D Offline
        D Offline
        drewpotter
        wrote on last edited by
        #3

        Hi,

        My configure command is as follows:

        ./configure --prefix=/usr -qt-xcb

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          Did you download src from git ? It's possible to skip qtwebkit during download from git. Any chances here ?

          157

          1 Reply Last reply
          0
          • D Offline
            D Offline
            drewpotter
            wrote on last edited by
            #5

            Hi,

            I downloaded the source code from the following URL:

            http://download.qt-project.org/official_releases/qt/5.3/5.3.1/single/qt-everywhere-opensource-src-5.3.1.tar.gz

            1 Reply Last reply
            0
            • p3c0P Offline
              p3c0P Offline
              p3c0
              Moderators
              wrote on last edited by
              #6

              Can you search in your build if there's library named libQt5WebKit.so.* ?
              For eg. i have
              @/opt/Qt5.3.1/5.3/gcc/lib/libQt5WebKit.so.5.3.1@

              So that we are sure that webkit was compiled properly.

              157

              1 Reply Last reply
              0
              • D Offline
                D Offline
                drewpotter
                wrote on last edited by
                #7

                That is amazing. There is no such file. So this means that webkit isn't compiling for some reason...

                1 Reply Last reply
                0
                • p3c0P Offline
                  p3c0P Offline
                  p3c0
                  Moderators
                  wrote on last edited by
                  #8

                  May be you could get some info in config.log in qtwebkit directory. Or may be try to compile qtwebkit module there itself so that you get the exact error provided all the dependencies are resolved.

                  157

                  1 Reply Last reply
                  0
                  • D Offline
                    D Offline
                    drewpotter
                    wrote on last edited by
                    #9

                    No way. I just recompiled everything from scratch and somehow it is now working!!! Thanks for the tips though.

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      humtonlin
                      wrote on last edited by
                      #10

                      Hi
                      I have installed Qt 5.2.1 from source code on Centos6.2.

                      I get the same error: module “QtWebKit” is not installed .

                      I get some info in config.log in qtwebkit directory,
                      libwebp.cpp:26:25: error: webp/decode.h: No such file or directory
                      libwebp.cpp:30: error WebPDecoderConfig was not declared in this scope.
                      ...
                      make[1]: *** [obj/libwebp.o] Error 1

                      Do you have any suggestion ? thx~

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        humtonlin
                        wrote on last edited by
                        #11

                        Hi
                        I have installed Qt 5.2.1 from source code on Centos6.2.

                        I get the same error: module “QtWebKit” is not installed .

                        I get some info in config.log in qtwebkit directory,
                        libwebp.cpp:26:25: error: webp/decode.h: No such file or directory
                        libwebp.cpp:30: error WebPDecoderConfig was not declared in this scope.
                        ...
                        make[1]: *** [obj/libwebp.o] Error 1

                        Do you have any suggestion ? thx~

                        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