How import QtQuick.Window 2,15 in windows 11?

Viewed 38

I have Windows 11, the last version of Qt creator(Community) and coding in Qt 5.15.

In a Qt for python project, in the line 2 says: QML module not found (QtQuick.Window). And putting the mouse over the error says:

-For qmake projects, use the QML_IMPORT_PATH variable to add import paths.

-For Qbs projects, declare and set a qmlImportPaths property in your product to add import -paths.

-For qmlproject projects, use the importPaths property to add import paths.

-For CMake projects, make sure QML_IMPORT_PATH variable is in CMakeCache.txt.

My project is Qmake project? How I import the qmake path? How I do this?

0 Answers
Related