Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Regarding QAxBase & QAxObject
Indrajeet last edited by
I have created a QT Console Application, but when i include QAxBase & QAxObject header files it gives me following
error C1083: Cannot open include file: 'QAxBase': No such file or directory
int main(int argc, char *argv)
QCoreApplication a(argc, argv);
How to resolve this error.
andre last edited by
Could you post your .pro file contents?
I thing you forgot to add support there for the module.
giesbert last edited by
AFAIK, you have to add Qt += activeqt in the pro file.
goetz last edited by
According to the "docs":http://developer.qt.nokia.com/doc/qt-4.7/activeqt-container.html it should be
CONFIG += qaxcontainer
in the .pro.
jsveiga last edited by
Excuse me for bringing up such an old thread from the museum, but it's the first google hit when searching for
Qt5 QAxObject: No such file or directory
So, if someone gets here with the same problem but on Qt 5:
1 - on your .pro, add:
CONFIG += axcontainer
(it was qaxcontainer on qt 4)
and "axcontainer" to the QT += line too
2 - on the includes use
Joao S Veiga