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...