Skip to content

How third-party components are registered in Qml #81

Closed Answered by omix
ITSweets asked this question in Q&A
Discussion options

You must be logged in to vote

I am not familiar with ZXing. If you want to register third-party components to Qml you must make sure these component types are subclasses of QObject. As far as I see, ZXing does not use Qt, thus, one of the components are expected to derive from QObject. Thus, you need to write wrapper types of QObject making the third-party components accessible in Qml. These wrapper classes are to be registered to Qml.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by omix
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
Converted from issue

This discussion was converted from issue #80 on September 17, 2022 13:31.