For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings


Need to speed up your development?
Have a look at our:

Samples & Tools


Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

Qt5/Qml UI in windows application

Davide Sammaritani's picture

i'm developing a Windows desktop application and I'd like to write UI with Qt5/Qml.
Unfortunately, the only example provided by OpenCascade with Qt is for an Android app.
I'm sure that is possible, because I think that CAD Assistant is developed with Qt5/Qml.

Can someone provide an example to render an occ viewer in a qml window?

jelle's picture

hi Davide,

Take a look at {YOUR_OCC_ROOT}/src/samples/qt/AndroidQt.

I've been working with QML & OCC myself now for about a year, its lots of fun ;)


Davide Sammaritani's picture


I already study AndroidQt example, but it is not useful for me because it use EGL.
You have any advice on how to modify the function "initViewer" to initialize context for a Windows Desktop application with QML UI?

Anton Shabalin's picture

Hello, everyone!

I've made a project based on AndroidQt example and this repository:

Here is the link:

Daniel Neander's picture

Very good job, a very nice example :)

Mehboob Bagwan's picture


Anyone know how to implement part document ( containing single solid ) and assembly document

containing multiple parts. 

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.