[SOLVED]Unknown module(s) in QT: webkitwidgets error
-
wrote on 29 Jun 2013, 21:37 last edited by
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 ?
-
wrote on 29 Jun 2013, 21:40 last edited by
I am using Ubuntu 13.04 64pt.
Installing directory is home/Qt5.0.2 -
wrote on 30 Jun 2013, 04:18 last edited by
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.
-
wrote on 30 Jun 2013, 05:21 last edited by
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]
-
wrote on 30 Jun 2013, 23:00 last edited by
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.
-
wrote on 30 Jun 2013, 23:02 last edited by
4/7