What Module do I include in .pro file for using Active Qt? I mean QT += ?. And: Can I develop Commercial Software using ActiveQt? (I am using Qt LGPL).

有帮助吗?

解决方案

Qt/QMake isn't always consistent in how to include its modules in .pro files. In this case (as with CONFIG+=designer), it's

CONFIG += axserver    # for an ActiveX server component
CONFIG += axcontainer # for an ActiveX client

Cf. http://doc.trolltech.com/latest/activeqt-server.html.

As for licensing, you should of course always consult a lawyer when you're in doubt.

That said, the common interpretation seems to be that you can use the ActiveQt framework in proprietary projects, yes, due to their BSD license (documented for QAxContainer here and for QAxServer here). You should also be able to link these modules in statically (which is not possible with the LGPL'ed Qt modules), however, you should note the clause that requires binary distributions to include a particular disclaimer...

其他提示

There are 2 modules for ActiveX : QAxServer and QAxContainer. They are both licensed under BSD License as it says in the doc.

To include those modules i beleive you have to use

QT += qaxserver qaxcontainer
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top