I installed Qt Creator via the Software Manager on Linux Mint 18 (x86_64).
I made a few sample projects, and some dependencies/packages/libraries/whatever were missing, so I installed the via apt.
I made a QtQuick application and in Issues there is an error message saying:
error: Unknown module(s) in QT: qml quick
I read that there is some libraries to build and link, but I don't know where to find them.
According to Hayt's answer (and the askubuntu post), I had to install the qtdeclarative5-dev package.
Related
Already referred below old posts, but its solution of installing websockets didn't work in my Ubuntu 21.10.
Project ERROR: Unknown module(s) in QT: websockets
Project ERROR: Unknown module(s) in QT: webkitwidgets
This could be probably due to my Qt is 6.2, while the available library is from Qt5, viz. libqt5websockets5-dev.
How to install websocket module properly for the Qt6, to fix below error?
Project ERROR: Unknown module(s) in QT: websockets
When installing Qt via Qt Maintenance Tool, just go to Additional Libraries and check QtWebSockets. It is available in Qt 6.2.x versions.
I am getting this error when trying to compile one C++ Qt project
Unknown module(s) in QT: networkauth
The *.pro file starts with:
QT += core gui network networkauth
It's Fedora 31 KDE, I did install qt5-qtnetworkauth and qt5-devel,
I am reading that it could be due to wrong LD_LIBRARY_PATH, but none of the changes I was trying to resolved my problem. Qt version is 5.14.1
Can someone suggest where the problem may be?
Thank you
I'm trying to compile this code where the .pro file includes a
QT += serialport
gives me a
Project MESSAGE: Warning: unknown QT: serialport
error. Without Qt, I would use CMake and install the package via vcpkg, Conan, HomeBrew, or something like that. But not sure if Qt has its own package manager. I would appreciate it if you could help me know what is the most canonical way to install and include this library.
P.S.1. In the comments, I'm being told that I need to use Qt's Maintenance Tool, which is sorta the internal package manager for Qt, to install QtSerialPort module. Given that I don't know how to install that via HomeBrew, I installed Qt Creator from the Qt website. I found the Maintenance Tool in <install_dir> the installation folder /Users/<user>/Qt/MaintenanceTool.app which I could open from the terminal by open MaintenanceTool.app while being in that folder. However, I can not see any QtSerialPort module in the options, nor a way to search.
P.S.2. Posted a new question here.
P.S.3. I think this issue arises because I had multiple versions of Qt installed. once I searched for locate qmake and found out the other versions I have installed (e.g., /System/Volumes/Data/usr/local/Cellar/qt/5.14.1/bin/qmake) I could just run that and the MakeFile was generated.
I have QtRPTProject to run in the QtCreator but It is showing errors like " Cannot run compiler 'g++'. Maybe you forgot to setup the environment?" and "Project ERROR: Unknown module(s) in QT: script" while building.Any help ??
Project ERROR: Unknown module(s) in QT: script
This means that the module Qt Script is not installed.
This module has been deprecated and is not installed by default, you have to opt-in.
The exact procedure on how to install it depends on how you installed Qt in the first place. If you used the online installer, it is just a matter of running the "Maintenance Tool" and checking the Qt Script checkbox.
Cannot run compiler 'g++'. Maybe you forgot to setup the environment?
This means that Qt Creator cannot find the c++ compiler.
That means that you have not installed a compiler, or not configured Qt Creator correctly.
Again the exact procedure depends on your system and which compiler you want to use. If you are on Windows, the Qt Maintenance Tool offers to install MinGW for your. Like for Qt Script it is just a matter of checking the right checkbox. Be sure to select the MinGW version that matches the version of Qt you selected.
If you need more help, please edit your question and add details about your system and your current installation.
hope you're well. Does anyone know how to solve this error
:-1: error: Unknown module(s) in QT: webkit webkitwidgets creating a click package:-1: error: Unknown module(s) in QT: webkit webkitwidgets
when creating a click package? Already installed:
sudo apt-get install libqt5webkit5-dev
It was working well so far debugging locally but getting the error back when trying to publish my programme. Thanks in advance!
Use webengine and webenginewidgets instead.
webkit and other related classes has been replaced by webengine .
Go through the following guide to learm how to port webkit project to webengine project.
http://wiki.qt.io/QtWebEngine/Porting_from_QtWebKit