This topic has been deleted. Only users with topic management privileges can see it.
Hello,
I installed Qt 5.15.0 STL along with Qt 4.13.0 to start a new project for my client, except I noticed that there are a lot of modules that qt can’t find like webenginewidgets and the pdf examples also don’t still works same error:
Project ERROR: Unknown module (s) in QT: pdf
Project ERROR: Unknown module (s) in QT: pdfwidgets
Project ERROR: Unknown module (s) in QT: webenginewidgets
I have reinstalled the components with the maintenancetools.exe but still the same problem.
can someone help me to solve this, thanks
I am under windows 10.
Hi,
Some modules have to be explicitly selected in the installer or maintenance tool. Check them there. Note that some module like QtWebEngine are not available for all compilers because of Chromium’s restrictions.
Hello,
I checked that the modules are all installed, I took a screenshot.
When i add pdf module, webenginewdigets or pdfwidgets in .pro file. is still the same problem «Project ERROR: Unknown module (s) in QT» is install compilers are MinGW and MSVC 32 and 64 all the same problem.
@GeminiMan Are you sure you’re using one of the Qt versions where you installed these modules?
100% sure I format my computer, I download Qt installer and I just install Qt 5.15.0 only.
Look at the qt folder in the installation
So I only have version 5.15.0, tried guy and you will see
This post is deleted!
@GeminiMan said in Qt creator 4.13.0 and Qt5.15.0 Unknown module(s) not found:
Project ERROR: Unknown module (s) in QT: pdf
Project ERROR: Unknown module (s) in QT: pdfwidgets
The Qt Company is currently finalizing ways to distribute the Qt PDF module: https://bugreports.qt.io/browse/QTBUG-87746?focusedCommentId=532158
In the meantime, you can:
- Build it from source code under the GPL/LGPL license (https://code.qt.io/cgit/qt/qtwebengine.git/tree/src/pdf ), or
- Purchase it from the Qt Marketplace under the Qt Marketplace license (https://marketplace.qt.io/products/qtpdf )
Project ERROR: Unknown module (s) in QT: webenginewidgets
Note that Qt WebEngine is only compatible with MSVC; it is not compatible with MinGW.
Well thank you for your answer, but it’s fixed in version 5.15.1 ?
for webenginewidgets does not work with MSVC2019 compiler.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Open
qiuzhu opened this issue
Nov 30, 2018
· 17 comments
Open
Project ERROR: Unknown module(s) in QT: webkitwidgets
#1086
qiuzhu opened this issue
Nov 30, 2018
· 17 comments
Comments
I install QT 5.11.2 on ubuntu 16.04 , and when qmake the project, it throws error:
Project ERROR: Unknown module(s) in QT: webkitwidgets
how to solve the problem
GD require QtWebkit module. Find it or build from source.
QtWebkit module is removed from QT 5.11,how to find this Qtwebkit ?I Google it,but failed
IDK. QtWebkit source you can find here.
I also have this problem. And when i build QtWebKit alone, it shows
«Project ERROR: WebKit requires SQLite. Either make it available via pkg-config, set $SQLITE3SRCDIR or build WebKit under qt5.git.»
so, is there a simple way to build this project with recent Qt?
Some distributions package the latest version of Qt and QtWebkit. For instance the Arch Linux package uses the source code package from here. So for Arch Linux users building Goldendict with the latest Qt and QtWebkit versions is trivial. If anyone manages to build Goldendict with a non-system Qt and QtWebkit versions, they are welcome to post the steps in the Goldendict wiki.
What is so important for Goldendict in recent Qt versions that you would suffer the overhead and possible inconsistencies of running two versions of Qt in one system?
Are there any plans to port to QtWebEngine? Qt5WebKit is deprecated for a long time, not part of official Qt releases since 5.6 and meanwhile dropped wherever possible.
in the wiki, there is a compiled portable edition, but it is too old, I hope the latest release will be maintained. because install by myself is painstaking.
@qiuzhu, why not build goldendict with your Ubuntu 16.04 system Qt version 5.5.1? This build and installation process is documented in Goldendict’s README and should be straightforward.
@vedgy
thank you very much, because I install the latest QT 5.11.2, and that is a tragedy. how can I make it compiled successfully without changing the QT edition?
@qiuzhu, the process is described at length here: https://github.com/goldendict/goldendict/blob/master/README.md. You don’t have to install any libraries from outside the official Ubuntu repositories. Start with the Installing External Deps on Ubuntu Linux for Qt5 section.
Alternatively start with Installing External Deps on Ubuntu Linux if you prefer the older Qt4. You only have to run a single apt-get command — installing either Qt5 or Qt4 dependencies.
I have just compiled it with qt5.12.0 (lastest) at ubuntu 18.04.1.
You can add qtwebkit submodule to yout QT to compile it. Something in my memory:
- Download qtwebkit soure code to compile it with&for your current qt at first. It may be error,but Just get .so files for using. http://code.qt.io/cgit/qt/qtwebkit.git/
- Add include files etc. from old(lastest as you find) compiled by others,
- Compile goldendict as usual.
Because of no detail recorded, just this info for you. And my problems still there, i give up the new version i compiled.
@vedgy
I try the method following step by step, and the same error.
well, this is my default setting QT as is shown in the below snapshot:
You need qtwebkit module for your Qt. Compile it first.
@SunYongshuai, Qt WebKit is available in official Ubuntu repositories. No need to compile it manually when using system Qt version.
@qiuzhu, your qmake uses the new Qt version you have installed in your home directory. Either switch back to the system one by invoking something like /usr/bin/qmake (not sure if it will work so simply), or better uninstall Qt 5.11 if you don’t need it for any other application.
Qt-make in Ubuntu18.04.1 is just 5.9.5.
@SunYongshuai, yes, it’s 5.9 in 18.04 and 5.5 in 16.04. These versions are perfectly suitable to build Goldendict with. I’ve actually compiled and run a recent Goldendict version with Qt 5.1/5.2 in Ubuntu 14.04. Why do you need the latest Qt version?
@vedgy I just like to use latest Qt version. Maybe it is better to suit for recently applications.
neosapient1
Новичок Offline Сообщений: 10
|
Здравствуйте. Хочу поработать с модулем построения графиков Qt Charts. Создаю новый проект. QT += charts core gui то получаю ошибку Project ERROR: Unknown module(s) in QT: charts Как заставить увидеть Qt Charts? Спасибо. |
||
|
kambala |
может она установилась под какую-то конкретную версию Qt? у тебя их вон 3. |
||
Изучением C++ вымощена дорога в Qt. UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher |
neosapient1
Новичок Offline Сообщений: 10
|
Галки выставлены так, как указано на прикрепленной картинке. |
||
|
kambala |
речь не о галках, там особо нечем управлять. поищи в каких из папок появился модуль. если лишь в одной — тогда проблема ясна. |
||
Изучением C++ вымощена дорога в Qt. UTF-8 has been around since 1993 and Unicode 2.0 since 1996; if you have created any 8-bit character content since 1996 in anything other than UTF-8, then I hate you. © Matt Gallagher |
neosapient1
Новичок Offline Сообщений: 10
|
Я не знаю, как этот модуль должен выглядеть. Смотрел в папке C:Qt5.15.2msvc2015_64bin (и ей подобным ‘msvc2019’ и ‘msvc2019_64’). Там нет библиотек вида Qt5Cahrts.dll (или что там должно быть?) P.S. |
||
|
neosapient1
Новичок Offline Сообщений: 10
|
В итоге поборол сборку файлов Qt5Charts.dll и Qt5Chartsd.dll из исходников. P.S. |
||
|
PimenS
Крякер Сообщений: 363
|
Галки выставлены так, как указано на прикрепленной картинке. Просто нужно было галку Qt Charts выставлять в той ветке для которой уже установлены пакеты. |
||
|
neosapient1
Новичок Offline Сообщений: 10
|
Просто нужно было галку Qt Charts выставлять в той ветке для которой уже установлены пакеты. Ох, проглядел. Есть такая галка. |
||
|