Build project as library and expose one qml file ?
-
-
Hi all,
I have a complex project which contains qml files and c++ files.
- Is it possible to create a library with qml and c++ files?
- Is it possible to expose only one qml file and use this qml file in an other application?
Kind regards,
MHermann@MHermann
what should that library exactly do?
Basically a library is just like any other code in your project, just that it's placed in another file which is loaded by your executable during runtime.
So create a library project and provide the header file with the classes/methods it exposes/exports.See Creating shared libraries and this wiki article
-
@MHermann
what should that library exactly do?
Basically a library is just like any other code in your project, just that it's placed in another file which is loaded by your executable during runtime.
So create a library project and provide the header file with the classes/methods it exposes/exports.See Creating shared libraries and this wiki article
@raven-worx : Thanks. I will check the links.