Skip to content

Qml module RESOURCE_PREFIX configuration #967

Discussion options

You must be logged in to vote

Hi @Billyzou0741326 , thank you for your interest in CXX-Qt and for contributing this discussion.

Currently we do not have a way to change the RESOURCE_PREFIX for qml modules generated by CXX-Qt.
Because /qt/qml/ is in the import path by default, all modules generated by CXX-Qt should already be available from QML, so you should not need to change the RESOURCE_PREFIX.
We also make sure that your qml plugin is registered with QML automatically through our build system (and maybe a init method in the future, see: #964 ). This is very similar to what qt_add_qml_module does and should work out of the box.

If you have another reason for changing the default RESOURCE_PREFIX, please let us know :)

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Billyzou0741326
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants