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
Forum Updated to NodeBB v4.3 + New Features

qt module "QtWebKit" is not installed

Scheduled Pinned Locked Moved Qt WebKit
5 Posts 3 Posters 3.5k 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.
  • M Offline
    M Offline
    Modonga
    wrote on 3 May 2015, 04:56 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

    P 1 Reply Last reply 3 May 2015, 15:07
    0
    • M Modonga
      3 May 2015, 04:56

      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

      P Offline
      P Offline
      p3c0
      Moderators
      wrote on 3 May 2015, 15:07 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
      • M Offline
        M Offline
        Modonga
        wrote on 5 May 2015, 01:40 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!

        P 1 Reply Last reply 5 May 2015, 05:48
        0
        • M Modonga
          5 May 2015, 01:40

          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!

          P Offline
          P Offline
          p3c0
          Moderators
          wrote on 5 May 2015, 05:48 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 7 May 2015, 12:22 last edited by JohnYork 5 Jul 2015, 12:35
            #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

            4/5

            5 May 2015, 05:48

            • Login

            • Login or register to search.
            4 out of 5
            • First post
              4/5
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved