#include <QtGui>#include <ActiveQt\QAxBase.h>#include <ActiveQt\QAxObject.h>...QAxObject *Word = new QAxObject("Word.Application"); // Создаю интерфейс к MSWord// Ну и так далее...
CONFIG = qt release warn_onCONFIG += qaxcontainer LIBS += -lqaxserver -luuid
j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x12f): undefined reference to `IID_IClassFactory2'j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x159): undefined reference to `SysAllocStringLen@8'j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x166): undefined reference to `IID_IUnknown'j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x191): undefined reference to `SysFreeString@4'j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0x1ba): undefined reference to `IID_IUnknown'j:\0903\qt\lib/libQAxContainer.a(qaxbase.o):qaxbase.cpp:(.text+0xb84): undefined reference to `IID_IClassFactory'
LIBS += -lqaxserverLIBS += -lqaxcontainer -loleaut32 -lole32 -lgdi32 -luuid
CONFIG += qaxserver