Results 1 to 3 of 3

Thread: QAxWidget

  1. #1
    Join Date
    Apr 2009
    Posts
    206
    Thanks
    34
    Thanked 2 Times in 2 Posts

    Default QAxWidget

    Hello friends,

    I am playing arround with the QAxWidget. I can create my control onto it. It is a custom control to show files in it.
    So far so goog. But the dynamic call method blocks the ui. Is there a possibility to trigger the method in a another thread?

    Yours,

  2. #2
    Join Date
    Oct 2009
    Posts
    483
    Thanked 97 Times in 94 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QAxWidget

    In general you must not make use of widgets in any thread but the main one. If I understand correctly the heavy work is done by a COM component that you call through dynamicCall(). Can you use a non-GUI component to do that? In that case you should be able to use QAxObject from another thread.

  3. #3
    Join Date
    Apr 2009
    Posts
    206
    Thanks
    34
    Thanked 2 Times in 2 Posts

    Default Re: QAxWidget

    Yes you are right. The heavy work is done by the control. But I have to display the object. Now I add the widget into a stackedwidget etc.

    But what about the object? How can I display it. What are the difference of both?

    Edit: I have to correct myself it is an ActiveX Control.

    Yours,
    Last edited by codeman; 14th August 2012 at 12:13.

Similar Threads

  1. Communication with a QAxWidget
    By hgstoehr in forum Qt Programming
    Replies: 0
    Last Post: 17th January 2012, 00:14
  2. QAxWidget and C#
    By vxmontes in forum Newbie
    Replies: 0
    Last Post: 3rd August 2011, 15:52
  3. QAxWidget
    By rajeshs in forum Qt Programming
    Replies: 1
    Last Post: 5th September 2008, 05:13
  4. QAxWidget
    By chak_med in forum Newbie
    Replies: 1
    Last Post: 10th September 2006, 20:05
  5. QAxWidget
    By ToddAtWSU in forum Newbie
    Replies: 2
    Last Post: 3rd February 2006, 17:29

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.