Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-29734

QAxServer based controls need a explicit event process immediately after ui setup

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.2
    • Component/s: ActiveX Support
    • Environment:
      Windows XP Sp3, windows 7 x86

      Description

      I find some problem when using ActiveQt in 5.0.0, windows XP Sp3 VS2010.

      Active Control based on QAxbase will not enter a correct event loop unless QCoreApplication::processEvents() is called immediately after ui setup (my control has sub widgets, such as QListView and QTreeView). We will mostly get a white-style blocked widget area if processEvents is not called in-time.

      Even if the control has been successfully created using processEvents(), some problems still happen. Anytime I want to create a new widget from control, eg, a floatbar, processEvents must be called again immediately after creation statement.

      I tested my control in C#, MFC, ActiveX test container from microsoft. Just create a ActiveX server with default options, and put a widget (such as ListView) on it, and have a test .

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            goldenhawking dunnyee
            Reporter:
            goldenhawking dunnyee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes