Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Use COM objects from non-gui thread (Qt5.1)

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

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 1.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    ObukhovAlexey
    wrote on 28 Jun 2013, 05:10 last edited by
    #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?

    1 Reply Last reply
    0
    • O Offline
      O Offline
      ObukhovAlexey
      wrote on 28 Jun 2013, 06:22 last edited by
      #2

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

      1 Reply Last reply
      0

      1/2

      28 Jun 2013, 05:10

      • Login

      • Login or register to search.
      1 out of 2
      • First post
        1/2
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved