mirror of
https://github.com/githubuser0xFFFF/Qt-Advanced-Docking-System.git
synced 2025-01-14 17:12:04 +08:00
79 lines
1.2 KiB
Prolog
79 lines
1.2 KiB
Prolog
ADS_OUT_ROOT = $${OUT_PWD}/..
|
|
|
|
|
|
TARGET = AdvancedDockingSystemDemo
|
|
DESTDIR = $${ADS_OUT_ROOT}/lib
|
|
QT += core gui widgets quick quickwidgets opengl
|
|
|
|
include(../ads.pri)
|
|
|
|
lessThan(QT_MAJOR_VERSION, 6) {
|
|
win32 {
|
|
QT += axcontainer
|
|
}
|
|
} else {
|
|
QT += openglwidgets
|
|
}
|
|
|
|
CONFIG += c++14
|
|
CONFIG += debug_and_release
|
|
DEFINES += QT_DEPRECATED_WARNINGS
|
|
RC_FILE += app.rc
|
|
|
|
adsBuildStatic {
|
|
DEFINES += ADS_STATIC
|
|
}
|
|
|
|
|
|
HEADERS += \
|
|
MainWindow.h \
|
|
StatusDialog.h \
|
|
ImageViewer.h \
|
|
RenderWidget.h \
|
|
glwidget.h \
|
|
logo.h
|
|
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
MainWindow.cpp \
|
|
StatusDialog.cpp \
|
|
ImageViewer.cpp \
|
|
RenderWidget.cpp \
|
|
glwidget.cpp \
|
|
logo.cpp
|
|
|
|
FORMS += \
|
|
mainwindow.ui \
|
|
StatusDialog.ui
|
|
|
|
RESOURCES += demo.qrc
|
|
|
|
|
|
LIBS += -L$${ADS_OUT_ROOT}/lib
|
|
|
|
|
|
INCLUDEPATH += ../src
|
|
DEPENDPATH += ../src
|
|
|
|
|
|
DEFINES += COIN_NOT_DLL \
|
|
SOQT_NOT_DLL \
|
|
QUARTER_NOT_DLL
|
|
|
|
LIBS *= -lopengl32
|
|
|
|
CONFIG(debug, debug|release){
|
|
LIBS *= -llibSoQtd \
|
|
-llibCoin-80d \
|
|
-lquarterd
|
|
}else{
|
|
LIBS *= -llibSoQt \
|
|
-llibCoin-80 \
|
|
-lquarter
|
|
}
|
|
|
|
# Add your library search path for external libraries here that contain the
|
|
# coin3d libraries
|
|
#LIBS *= -LC:/CodingXP/mingw1120_64_qt6/usr/bin
|