[Qt-interest] Trouble with ActiveQt Example
David Ching
dc at remove-this.dcsoft.com
Thu Dec 17 20:22:49 CET 2009
"Mark Beckwith (pub)" <pubmark at intrig.com> wrote in message
news:4B2A660E.3030709 at intrig.com...
> I'm having trouble getting the simple ActiveQt example to work. I'm using
> the
> 4.4.2 commercial version of Qt. Here's what I've done:
>
> 1. Run qmake and nmake in $QTDIR/src/activeqt
>
> Confirmed the QAxContainer.lib and QAxServer.lib files are in the
> $QTDIR/lib directory.
>
> 2. Run qmake and nmake in $QTDIR/examples/activeqt/simple.
>
> Confirmed the message "Server registered successfully!" is printed for
> both
> debug and release version.
>
> 3. Then I go to this page in IE:
>
> http://qt.nokia.com/doc/4.4/qaxserver-demo-simple.html
>
> The standard calander app is working, but the ActiveQt widget is not
> working. I'm seeing [Object not available! Did you forget to build and
> register the server?]
>
I'm not sure if this is correct, but: if this is on Vista or Win7, open a
command-prompt as "Run as Administrator" and run regsvr32 <name of the
ActiveX DLL>. It might be some sort of UAC issue.
-- David
More information about the Qt-interest-old
mailing list