Qt 6.12 LTS is out! See what's new in the release
blog
How to import installed QML plugin
-
Hello there! I'm trying to learn to write QML plugins following this guide.
So I cloned this project and run:qmake-qt5 makeand running
qmlscene -I imports plugins.qmlcorrectly shows the clock
now I'd like to install this module to the whole system in order to access it from any QML project, so I runsudo make installit installed it correctly, so now I need to import it in my qml project:
how can I tell qmake (or cmake, even better) that I want to use it?