Project ERROR: Unknown module(s) in QT: charts on Mac [duplicate] - c++

This question already has answers here:
How to install a missing Qt module?
(3 answers)
Closed 4 years ago.
I am trying to deploy a local app, but the when I tried to do the qmake in terminal under the app folder directory, it has the error
Project ERROR: Unknown module(s) in QT: charts
I have the qt chart installed in when I ran the QT installer, and I also have included
QT += charts
in the .pro file, I checked Project ERROR: Unknown module(s) in QT: charts and Project ERROR: Unknown module(s) in QT: multimedia but I don't know how to apply that in osx.
Thanks

This post solved it for me. Basically, open MaintenanceTool.app in your Qt install folder, go to the version of Qt you have installed, expand it, and select charts (and anything else you want installed, but don't have installed).

Related

How to install websockets for Qt 6?

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.

Unknown module(s) in Qt: networkauth

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

Unknown module(s) in QT: webkit webkitwidgets creating a click package on Ubuntu

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

Build error OSX

I have a working project on Qt 5.5 and I had to migrate to Qt 5.8 to use the new QCharts feature. When I tried to compile a working project (Qt 5.5) I get the following error;
:-1: error: no such file or directory: '5.8/5.8/clang_64/lib'
What does this mean? How do I resolve this?
UPDATE
According to the comment I checked the director is missing;
Qt needs '5.8/5.8/clang_64/lib'
But my system directory is: 5.8/clang_64/lib'.
I added a 5.8 folder but then Qt reports it cannot locate the qmake file at 5.8/clang_64/lib'.
What would be my next step?

error: Unknown module(s) in QT: qml quick - Qt Creator

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.