PDA

View Full Version : QT ActiveX server doesn't work with Delphi 7.0



_AK_
15th December 2009, 08:34
Issue: I need to make an ActiveX control (in-proc-server) to use it with Borland Delphi 7.0 project.
Solution: My class Svr_3 inherits from QWidget and QAxBindable:
class Svr_3 : public QWidget, public QAxBindable
{
Q_OBJECT
public:
Svr_3(QWidget *parent = 0);
private:
Ui::Svr_3Class ui;
public slots:
int SomeMeth (const QString& aVal);
};

It works as in-place ActiveX control in IE8, MS Word. It repaints itself and executes SomeMeth () correct.
It DOESN’T work with Delphi. It draws in design-time incorrect, it isn’t visible in run-time. But it executes SomeMeth () correct.

How can I solve this problem?

Opensource QT 4.6.0, VS2005

galaxy66
22nd August 2016, 09:21
Unsupported Clients
We have not managed to make ActiveQt based COM objects work with the following client applications.
• Borland C++ Builder (Versions 5 and 6)
• Borland Delphi

From resource (http://qt.developpez.com/doc/4.7/activeqt-server/)

d_stranz
24th August 2016, 05:55
And why did you think it was important to bring a nearly 7 year old post back from the dead to report this? At this point, who cares?