提交 7f81d651 编写于 作者: 丁劲犇's avatar 丁劲犇 😸

Add a force link option, which can slove MSYS2 AxContainer, AxServer link problems.

上级 4e80fa68
......@@ -6,7 +6,11 @@
QT += core gui network axserver
linux:QMAKE_CXXFLAGS += -std=c++11
win32-g++:QMAKE_CXXFLAGS += -std=c++11
win32-g++{
QMAKE_CXXFLAGS += -std=c++11
CONFIG += no_lflags_merge
LIBS += -lQt5AxServer -lQt5AxBase -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid
}
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = ../../bin/qtaxviewer_planetosm
......
......@@ -29,3 +29,8 @@ linux{
FORMS += testcontainer_linux.ui
SOURCES += testcontainer_linux.cpp
}
win32-g++{
QMAKE_CXXFLAGS += -std=c++11
CONFIG += no_lflags_merge
LIBS += -lQt5AxContainer -lQt5AxBase -lole32 -loleaut32 -luser32 -lgdi32 -ladvapi32 -luuid
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册