Solved How can I import path to QT Creator?
-
I wanted to use QtMultimedia 5.9 in QT Creator, but there was an error:
QML module not found QtMultimedia
Import paths:
D:/qt/tools/qtcreator/bin/qmlHere I want to add other path which includes QtMultimedia module. But I made a QT project on Visual Studio. And there is no .pro file to import module path.
How can I add path to QT Creator?
(For visual studio, importing QtMultimedia works well. I just want to use QT Creator because of its convenient GUI.) -
@JANG-SOONMYUN said in How can I import path to QT Creator?:
I just want to use QT Creator because of its convenient GUI
For QtCreator you need .pro file (you can use CMake also).
How do you import QtMultimedia in your QML app?
As shown here: https://doc.qt.io/qt-5.9/qtmultimedia-qmlmodule.html
it should be:import QtMultimedia 5.8
-
@JANG-SOONMYUN said in How can I import path to QT Creator?:
I just want to use QT Creator because of its convenient GUI
For QtCreator you need .pro file (you can use CMake also).
How do you import QtMultimedia in your QML app?
As shown here: https://doc.qt.io/qt-5.9/qtmultimedia-qmlmodule.html
it should be:import QtMultimedia 5.8
-
@jsulm Thank you for your reply. So, it is necessary to create .pro file to import the module.