Developing on Centos: Project ERROR: Unknown module(s) in QT: webkitwidgets
-
My student is developing an open source program in Ubuntu and he's ok compiling it on that platform, but I use Centos 6.5 in my desktop and there's no way I can get rid of the message "Project ERROR: Unknown module(s) in QT: webkitwidgets" whenever I run qmake. I've been searching forums for quite some time, but most of the instructions are for other distributions or older Centos versions, and none of those instructions work. Any suggestion? I installed the website version of Qt (I didn't compile it on my system).
-
Hi and welcome
From version Qt 5.6+ webkit* is not included in pre compiled packets. (as far as i know)
So your students might have used 5.5 or simply compiled it.This doc do mention Centos
https://wiki.qt.io/Building_Qt_5_from_Git
https://forum.qt.io/topic/30140/solved-qt-creator-could-not-find-or-load-the-qt-platform-plugin-xcb/6But 2 questions:
1: Did they student in fact use the webkit* classes?
2: What version of Qt do they use/have and what version did you install ?Also as a note. It takes less time to install ubuntu +Qt in a virtual machine
than to compile webkits.
its a full stack and pretty heavy. :)