Can't find webkitwidgets
-
I've installed Qt 5.11.3 and QtCreator 4.4.1 on Centos 8. When I tried to run my project, I get an error stating:
"Project MESSAGE: Normal Build
Project ERROR: Unknown module(s) in QT: webkitwidgets
12:47:30: The process "/home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/bin/qmake" exited with code 3.
Error while building/deploying project SPIT_MP (kit: Desktop)
When executing step 'qmake'"I installed the qt5-webkit-devel, but it didn't fix the issue. Am I missing anything?
-
I've installed Qt 5.11.3 and QtCreator 4.4.1 on Centos 8. When I tried to run my project, I get an error stating:
"Project MESSAGE: Normal Build
Project ERROR: Unknown module(s) in QT: webkitwidgets
12:47:30: The process "/home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/bin/qmake" exited with code 3.
Error while building/deploying project SPIT_MP (kit: Desktop)
When executing step 'qmake'"I installed the qt5-webkit-devel, but it didn't fix the issue. Am I missing anything?
@Phamy1289
QtWebKit was removed with Qt 5.6. You can either add it yourself from the repos.
Or better, port your project to QtWebEngine -
@Phamy1289
when you talk about the widget used to display QtWebKit then yes of course.
If you talk about the QtWebView module, then no. this is uses QtWebEngine -
I tried porting the project to QtWebEngine and now I'm getting linker errors stating that QtCore and stdc++ are incompatible with Qt5.11.3. What versions of the two would be compatible with Qt5.11.3?
@Phamy1289 said in Can't find webkitwidgets:
QtCore and stdc++ are incompatible with Qt5.11.3
Looks like you're mixing two different Qt versions.
Please show the whole error. -
The following is what is displayed when I try to build my project:
/usr/bin/ld: skipping incompatible /home/hpham/DevEnv/Qt5.11/5.11.3/gcc_64/lib/libQt5Core.so when searching for -lQt5Core
/usr/bin/ld: cannot find -lQt5Core
/usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/8/libstdc++.so when searching for -lstdc++
make[2]: Leaving directory '/home/hpham/DevEnv/SpitClient/orig_spit/quazip/quazip'
make[1]: Leaving directory '/home/hpham/DevEnv/SpitClient/orig_spit/quazip'
/usr/bin/ld: cannot find -lstdc++
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:315: libquazip.so.1.0.0] Error 1
make[1]: *** [Makefile:46: sub-quazip-make_first] Error 2
make: *** [Makefile:79: sub-quazip-make_first] Error 2
09:51:21: The process "/usr/bin/make" exited with code 2.
Error while building/deploying project SPIT_MP (kit: Desktop)
The kit Desktop has configuration issues which might be the root cause for this problem.
When executing step "Make"I'm using QtCreator 4.4.1 and Qt Library 5.11.3