Use COM objects from non-gui thread (Qt5.1)

  • Main task: Application need use COM objects from non-gui thread.

    With Qt 4.8.4 and older all nice - cppdump generate wrapper, replace QAxWidget -> QAxObject and QWidget -> QObject. All working properly.

    But after migrate to Qt 5.1 cppdump generating more complex code with integrated static metasystem tables. Trick with replacing base class not working.
    I try to generate wrapper with parameters -nometaobject -compat - take nagative rusult because COM objects not using IDispatch interface.

    Who faced such a problem may have a solution?

  • I solved this problem. Just patched cppdump adding flag banning use QAxWidget.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.