module "QtCharts" is not installed
-
Hi communiity!
I'm trying to run a Qt application on remote.
But when I'm trying to running it gives me this errore: module "QtCharts" is not installed
At if I got to the linked error it takes me to this line: import QtCharts 2.3 in a .qml file.I'm new to QT and this project was made by a colleague, but by looking online I tried installing qml-module-qtcharts that in fact I didnt have.
I tried restart the virtual machine (I have my linux there) but it's still giving me that errorWhat can I do to resolve and finally launch my application?
I have linux 18.04 and Qt Creator 5.0.3, based on Qt 5.15.2
(I hope I choose the right categories) -
Hi communiity!
I'm trying to run a Qt application on remote.
But when I'm trying to running it gives me this errore: module "QtCharts" is not installed
At if I got to the linked error it takes me to this line: import QtCharts 2.3 in a .qml file.I'm new to QT and this project was made by a colleague, but by looking online I tried installing qml-module-qtcharts that in fact I didnt have.
I tried restart the virtual machine (I have my linux there) but it's still giving me that errorWhat can I do to resolve and finally launch my application?
I have linux 18.04 and Qt Creator 5.0.3, based on Qt 5.15.2
(I hope I choose the right categories)@aim0d said in module "QtCharts" is not installed:
based on Qt 5.15.2
How did you install it? I guess using Qt Online INstaller? If so open the Qt Maintenance Tool from Qt installtion folder and select the QtCharts module there.
-
@aim0d said in module "QtCharts" is not installed:
based on Qt 5.15.2
How did you install it? I guess using Qt Online INstaller? If so open the Qt Maintenance Tool from Qt installtion folder and select the QtCharts module there.
-
@jsulm
if I remeber correctly yes, I've install it from there.I dont remember from where I download itIt's like the free version of QT.
But is it possible that I cannot find the maintenance tool anywhere?@aim0d if the installation was faulty then yes.
but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D
also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.
And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6
-
@aim0d if the installation was faulty then yes.
but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D
also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.
And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6
@J-Hilk I cannot use the version 8 cause it's not supported by Linux 18.04
And for work reason I cannot upgrade it, for the same reason my version of QT has to remain thisI made a mistake by saying I download it from the online installer, because, as I said in the main topic, I'm new and I struggle to download this version
-
@aim0d if the installation was faulty then yes.
but QtCreator is now version 8. If you had used the online installer it would have enforced an upgrade :D
also there's a significant difference between QtCreator and the QtVersion of a kit, which includes the QtCharts Module.
And that is important to know, the structure/place where you select the charts module changed a good bit between Qt5 and Qt6
-
@aim0d great, well you should consider upgrading to 5.15.4 iirc the latest open source release but thats beside the point.
That still doesn't clarify where you got the version from.
If you're missing the maintenance Tool, it should be in the same folder as the QtCreator executable, then you'll either have to use use an other installer, or get the sources and compile the module yourself
-
@aim0d great, well you should consider upgrading to 5.15.4 iirc the latest open source release but thats beside the point.
That still doesn't clarify where you got the version from.
If you're missing the maintenance Tool, it should be in the same folder as the QtCreator executable, then you'll either have to use use an other installer, or get the sources and compile the module yourself
@J-Hilk How can I compile the module myself?
I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
I just remember it(Little details: I'm using it with Yocto)
-
@J-Hilk How can I compile the module myself?
I downloaded from here -> https://download.qt.io/official_releases/qtcreator/5.0/5.0.3/
I just remember it(Little details: I'm using it with Yocto)
@aim0d If I see that correctly, than that is a standalone QtCreator installer :D
anyway, you said, the kit you used was 5.15.0:
https://download.qt.io/official_releases/qt/5.15/5.15.0/submodules/-> qtcharts-everywhere-src-5.15.0.zip
unzip
./configure
qmake
make
make install
...
the usual -
@aim0d If I see that correctly, than that is a standalone QtCreator installer :D
anyway, you said, the kit you used was 5.15.0:
https://download.qt.io/official_releases/qt/5.15/5.15.0/submodules/-> qtcharts-everywhere-src-5.15.0.zip
unzip
./configure
qmake
make
make install
...
the usual@J-Hilk OP is using Yocto, I guess he needs to build that module using Yocto