Module "QtWebKit" is not installed
-
wrote on 3 Aug 2014, 13:30 last edited by
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?
-
Hi,
Did you skip QtWebkit module during compilation ?
Can you post your complete configure command for Qt compilation ? -
wrote on 3 Aug 2014, 14:41 last edited by
Hi,
My configure command is as follows:
./configure --prefix=/usr -qt-xcb
-
Did you download src from git ? It's possible to skip qtwebkit during download from git. Any chances here ?
-
wrote on 3 Aug 2014, 14:54 last edited by
Hi,
I downloaded the source code from the following URL:
-
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.
-
wrote on 3 Aug 2014, 15:12 last edited by
That is amazing. There is no such file. So this means that webkit isn't compiling for some reason...
-
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.
-
wrote on 3 Aug 2014, 16:53 last edited by
No way. I just recompiled everything from scratch and somehow it is now working!!! Thanks for the tips though.
-
wrote on 3 Dec 2014, 14:43 last edited by
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 1Do you have any suggestion ? thx~
-
wrote on 3 Dec 2014, 14:43 last edited by
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 1Do you have any suggestion ? thx~