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. [SOLVED]Unknown module(s) in QT: webkitwidgets error
QtWS25 Last Chance

[SOLVED]Unknown module(s) in QT: webkitwidgets error

Scheduled Pinned Locked Moved Qt WebKit
7 Posts 2 Posters 5.0k 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.
  • T Offline
    T Offline
    ThElitEyeS
    wrote on last edited by
    #1

    Hello guys i have downloaded Qt 5.0.2 for Linux 64-bit
    from here http://qt-project.org/downloads.
    And when i try to use webkitwidgets it's give me that error:
    :-1: error: Unknown module(s) in QT: webkitwidgets.
    Line added in .pro:
    QT += webkitwidgets
    Lines added in mainwindow.h or main.cpp
    #include <QtWebKitWidgets>
    #include <QUrl>

    How i can solve this problem ?

    1 Reply Last reply
    0
    • T Offline
      T Offline
      ThElitEyeS
      wrote on last edited by
      #2

      I am using Ubuntu 13.04 64pt.
      Installing directory is home/Qt5.0.2

      1 Reply Last reply
      0
      • T Offline
        T Offline
        ThElitEyeS
        wrote on last edited by
        #3

        !http://s21.postimg.org/pyphjz48n/Screenshot_from_2013_06_30_00_53_25.png(include)!
        !http://s24.postimg.org/thx6l4gqd/Screenshot_from_2013_06_30_00_54_58.png(error)!

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ChrisW67
          wrote on last edited by
          #4

          What version of Qt is the qmake you are using coming from? Your PRO file will fail in exactly the way you describe if you try to use the Qt4 qmake.

          BTW: There is no include file called "QtWebkitWidgets"... not that you are getting that far.

          1 Reply Last reply
          0
          • T Offline
            T Offline
            ThElitEyeS
            wrote on last edited by
            #5

            Yeah i have noticed i have changed it already in the picture as you can see
            i am using 5.0.2
            [quote author="ChrisW67" date="1372565898"]What version of Qt is the qmake you are using coming from? Your PRO file will fail in exactly the way you describe if you try to use the Qt4 qmake.

            BTW: There is no include file called "QtWebkitWidgets"... not that you are getting that far.[/quote]

            1 Reply Last reply
            0
            • C Offline
              C Offline
              ChrisW67
              wrote on last edited by
              #6

              No, I cannot see that in the picture. I can see you have Qt5 installed on your machine, but that does not preclude other versions being present and Qt Creator being told to use one of those.

              1 Reply Last reply
              0
              • T Offline
                T Offline
                ThElitEyeS
                wrote on last edited by
                #7

                !http://s23.postimg.org/6uk9rjqej/Screenshot_from_2013_07_01_02_01_51.png(there you go)!

                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