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. qt module "QtWebKit" is not installed
QtWS25 Last Chance

qt module "QtWebKit" is not installed

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 3 Posters 3.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.
  • ModongaM Offline
    ModongaM Offline
    Modonga
    wrote on last edited by
    #1

    i am getting this error, i am using QtQuick 2.2

    Qt Creator 3.4.0 (enterprise)
    Based on Qt 5.4.1 (GCC 4.6.1, 64 bit)
    Built on Apr 22 2015 04:30:06

    (I am a noob in this). I need to install something?
    i search a lot of tutorials but i cant solve it any suggestions?

    Regards and thanks for u time

    p3c0P 1 Reply Last reply
    0
    • ModongaM Modonga

      i am getting this error, i am using QtQuick 2.2

      Qt Creator 3.4.0 (enterprise)
      Based on Qt 5.4.1 (GCC 4.6.1, 64 bit)
      Built on Apr 22 2015 04:30:06

      (I am a noob in this). I need to install something?
      i search a lot of tutorials but i cant solve it any suggestions?

      Regards and thanks for u time

      p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi @Modonga
      Have you compiled Qt by yourself ?
      What import statement are you using for QtWebKit in your code ?

      157

      1 Reply Last reply
      0
      • ModongaM Offline
        ModongaM Offline
        Modonga
        wrote on last edited by
        #3

        what do you mean? i import webkit in code.

        "import QtWebKit 1.0" and i test with different versions such as 1.1,1.2,2.0,3.0 etc

        but i still having this error, some way to solve it? best regards and thanks for the reply!

        p3c0P 1 Reply Last reply
        0
        • ModongaM Modonga

          what do you mean? i import webkit in code.

          "import QtWebKit 1.0" and i test with different versions such as 1.1,1.2,2.0,3.0 etc

          but i still having this error, some way to solve it? best regards and thanks for the reply!

          p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          @Modonga 3.0 should work. The rest wont work. Tested with Qt 5.4.1 on Ubuntu with Qt Community edition.
          Which OS are you using ?

          157

          1 Reply Last reply
          0
          • J Offline
            J Offline
            JohnYork
            wrote on last edited by JohnYork
            #5

            It seems that the Qt distribution on qt.io does not contains all the required files of webkit. I'm compiling Qt 5.4.1 in windows currently, and today while checking the pkgconfig files(*.pc whose located in <Qt-INSTALL-ROOT>/5.4/mingw491_32/lib/pkgconfig/), I found the contents of file Qt5Webkit.pc are like these:

            prefix=D:\\Qt\\Qt5.4.1\\5.4\\mingw491_32
            exec_prefix=${prefix}
            libdir=${prefix}/lib
            includedir=${prefix}\/include
            
            
            Name: Qt5 Widgets
            Description: Qt Widgets module
            Version: 5.4.1
            Libs: -L${libdir} -lQt5Widgetsd 
            Libs.private: -lcomdlg32 -loleaut32 -limm32 -lwinmm -lws2_32 -lole32 -luuid -ladvapi32 -lglu32 -lopengl32 -lgdi32 -luser32 -LC:\mingw491\mingw32\lib -LC:\Utils\icu32_53_1_mingw482\lib -LC:\utils\postgresql\pgsql\lib -LC:\utils\mysql\mysql\lib -LC:\opensll\lib -LD:\\Qt\\Qt5.4.1\\5.4\\mingw491_32/lib -lQt5Guid -lQt5Cored .obj\debug\Qt5Widgetsd_resource_res.o -lshell32  
            Cflags: -I${includedir}/QtWidgets -I$\{includedir\}
            Requires: Qt5Core Qt5Gui
            

            It seems to indicates that the webkit module in Qt requires some libraries which are stored in compiling directory -_-!
            Well, maybe you have to download the source package of Qt and recompile it to use webkit, I think.

            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