D
D
daemonZ2015-09-02 11:01:43
Qt
daemonZ, 2015-09-02 11:01:43

How to work with activeX in QT 5.5. static build?

Hello.
Based on the instructions , I organized a QT 5.5 static build.
But as it turned out, there are no COM ActiveX objects there, and when compiling, it gives an error:

:-1: error: Unknown module(s) in QT: axcontainer

My .pro file:
QT       += core gui
QT       += network
QT       += axcontainer
QT       += xml
QT       += testlib
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = GoParser
TEMPLATE = app
SOURCES += main.cpp\
        mainwindow.cpp \
    auth.cpp
HEADERS  += mainwindow.h \
    auth.h
FORMS    += mainwindow.ui \
    auth.ui
RESOURCES = resources.qrc
RC_FILE   = resources.rc
DISTFILES +=

When I delete the line from the .pro file: It
QT += axcontainer
gives an error:
QAxObject: No such file or directory

prntscr.com/8bo0qu
When I change the build from static build back to dynamic, there is no such problem, and the program compiles and runs.
How can I compile a program that uses activeX COM objects in QT 5.5. static build?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vitaly, 2015-09-02
@vt4a2h

doc.qt.io/qt-5/activeqt-index.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question