[Development] Change in qt/qtactiveqt[master]: Port ActiveQt to meta-object revision 7

kent.hansen at nokia.com kent.hansen at nokia.com
Thu Mar 22 20:22:11 CET 2012


Hi Mark!
The main problem with activeqt is that it doesn't have autotests.
activeqt relies on a lot of internal/low-level details of the Qt meta-type/object system. We've made big changes to these internals for Qt5 -- but since there are no autotests to verify that activeqt is working as intended, this module has gotten progressively more and more broken without anyone noticing/caring.

So the biggest help would be if someone could suggest or provide some sort of skeleton/stub for an ActiveQt autotest. The test needs to be self-contained; it should just run without having to open Internet Explorer, Qt Designer or whatnot. For the meta-object stuff, I know exactly what must be tested; I just need to get my hands on actual QAxObject (created from a .idl file or something? Never used activeqt...), so that I can introspect it using QMetaObject, QMetaMethod and friends.

If you've looked at the activeqt implementation, qaxbase.cpp is the file that has the most low-level, meta-object kernel stuff. In order to have any hope of activeqt being a stable module, as much as possible of that logic should be exercised by autotests.

Best regards,
Kent

________________________________________
From: ext Mark [mark at lorimarksolutions.com]
Sent: Thursday, March 22, 2012 5:22 PM
To: Hansen Kent (Nokia-MP/Oslo)
Subject: Re: Change in qt/qtactiveqt[master]: Port ActiveQt to meta-object revision 7

Test what?  I am a serious activeqt user.  I'm just trying to figure my
way through codereview to see what's going on.  I heard a rumor that
activeqt wasn't working in 5.0 or something?

(I had to hack activeqt to allow my app to run as a COM server and
client simultaneously.)

How can I help?

~mark
c: 469-556-5075
t: 4695565075 at mms.att.net

Kent Hansen (Code Review) wrote:
> Kent Hansen has posted comments on this change.
>
> Change subject: Port ActiveQt to meta-object revision 7
> ......................................................................
>
>
> Patch Set 3:
>
> It builds for me, but I need to test this stuff somehow...
>
> --
> To view, visit http://codereview.qt-project.org/19181
> To unsubscribe, visit http://codereview.qt-project.org/settings
>
> Gerrit-MessageType: comment
> Gerrit-Change-Id: Ia87652ade4a2905d6feecd852403af9a9c705976
> Gerrit-PatchSet: 3
> Gerrit-Project: qt/qtactiveqt
> Gerrit-Branch: master
> Gerrit-Owner: Kent Hansen<kent.hansen at nokia.com>
> Gerrit-Reviewer: Friedemann Kleint<Friedemann.Kleint at nokia.com>
> Gerrit-Reviewer: Jędrzej Nowacki<jedrzej.nowacki at nokia.com>
> Gerrit-Reviewer: Kent Hansen<kent.hansen at nokia.com>
> Gerrit-Reviewer: Qt Sanity Bot<qt_sanity_bot at ovi.com>



More information about the Development mailing list