Module QtCharts not installed - Qt Quick for Python - qt

I am new to Qt Quick for Python and I have a problem importing QtCharts in the QML file.
This image explain my whole Problemmodule QtCharts not installed
I allready verified the installation from the Qt Maintenance Tool.
Do you have any Suggestion ?
Thanks !

Related

QML QtGraphicalEffects is not Installed

I am trying to build any random QML component, and having this line import QtGraphicalEffects 1.15 will cause an error: 'module "QtGraphicalEffects" is not installed`
I am running on a virtual machine and just created a new virtual environment with Pyside6 and Python using pip install PySide6==6.1.2 to get the latest version. I can find the folder GraphicalEffects with a qtgraphicaleffectsplugin.dll in the Qt5Compat folder of the PySide6 Lib so I do not know why it cannot import this module. The other ones like QtQuick.Controls import fine.
I have also used print("Qt version: " + str(QtCore.qVersion())) to double check Qt version, and I get Qt version: 6.1.2
There seems to be some solutions in other discussion posts, but I have not found one that refers to Python side of things. I am aware Qt 6.0 does not seem to have QtGraphicalEffects, but it's supposed to be in 6.1. I am also not sure if this has to do with the virtual machine because on host I actually have no issue using QtGraphicalEffects
Qt QtGraphicalEffects is available in PySide6 but the module has changed the way of importing to import Qt5Compat.GraphicalEffects as indicated in the docs.

Where do I find the latest version of the QtQuick2 libraries?

I'm new to Qt/QML/Qt Quick.
I have Qt 5.14 and QtCreator installed and am attempting to build a sample application.
Currently I have QtQuick 2.12 installed (which came with the QtCreator installation).
How/where do I get the latest version of the QtQuick2 libraries and make them
accessible to QtCreator?
What is the latest version of QtQuick2?
Change import QtQuick 2.12 to import QtQuick 2.14.
TL; DR;
Before responding you should know the following:
If you have Qt 5.14 then you must have the most up-to-date components of Qt (stable version).
When you create your project Qt Creator will choose the version of the components depending on the configuration you set in the wizard, but you can change it manually: import QtQuick 2.14.
As the last stable version points out is Qt 5.14 that contains all the most up-to-date stable components, if you want to use the components of a developing version such as Qt 5.15 then you must download the source code and compile it which can be complicated if you are a beginner.

qt creator error on "import QtMultimedia"

Recently, I have been studying on Qt5 Audio and followed this youtube lecture.
https://www.youtube.com/watch?v=Dh6ax1xVJD0
During the course I had to put the line into one of 'qml' file
import QtMultimedia 5.0
The name "QtMultimedia 5.0" came up automatically so did the help menu.
However, the line has red underline that says "QML module not found Import paths:..."
How may I fix this problem?
OS: Ubuntu
Project build steps: Applications => "Qt Quick UI" => "Qt Quick 2.0"
Thank you for reading my story.
JB
Try to add:
QT += multimedia
to your .pro file
try this command export LD_LIBRARY_PATH=/path-to-your-qt-installation/Qt5.9.2/5.9.2/gcc_64/lib it helped me with similar issue with PyQt and QML

Qt 5.5: module "QtAudioEngine" is not installed

I'm running the official Qt 5.5 SDK on Ubuntu 15.10 and trying to play 3D sounds in QML:
import QtAudioEngine 1.0
The project file:
qt += multimedia
The import statement results in qrc:///Main.qml:1:1: module "QtAudioEngine" is not installed. I'm a bit confused as I can see that the needed libs are in the SDK. What might be wrong here?
It's a bug in the official Qt SDK : https://bugreports.qt.io/browse/QTBUG-51567

I have this version of Qt. still unable to use Qt.controls and QtQuick 2.0.

I have updated my Qt version to
Qt Creator 2.7.1
Based on Qt 5.0.2 (32 bit)
Built on Sep 6 2013 at 08:23:22
Still I am not able to use Qt Quick controls and Qt Quick 2.0. I get this error
module "QtQuick" version 2.0 is not installed
import QtQuick 2.0
I have imported QtQuick 2.0 still it's not working.
The solution might be adding:
QT += quick
in your .pro file. If it doesn't help please install this.

Resources