61 lines
1.5 KiB
Prolog
61 lines
1.5 KiB
Prolog
QT += core gui
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
CONFIG += c++17
|
|
|
|
QMAKE_LFLAGS += /ignore:4099
|
|
QMAKE_CXXFLAGS_WARN_ON += -wd4100
|
|
|
|
include("$$PWD/QtSingleApplication/qtsingleapplication.pri")
|
|
|
|
DEFINES += HAVE_CONFIG_H
|
|
DEFINES += _CRT_SECURE_NO_WARNINGS
|
|
|
|
INCLUDEPATH += $$PWD/../../SDK/include
|
|
|
|
CONFIG(debug, debug|debug) {
|
|
INCLUDEPATH += "D:/Visual Leak Detector/include"
|
|
win32:LIBS += "D:/Visual Leak Detector/lib/Win64/vld.lib"
|
|
}
|
|
|
|
CONFIG(debug, debug|release) {
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\libdesd.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libcrypto64MDd.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libssl64MDd.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\hv.lib
|
|
win32:LIBS += Ws2_32.lib
|
|
}else{
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\libdes.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libcrypto64MD.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\OpenSSL_VC\libssl64MD.lib
|
|
win32:LIBS += $$PWD/..\..\SDK\lib\hvd.lib
|
|
win32:LIBS += Ws2_32.lib
|
|
}
|
|
|
|
|
|
# You can make your code fail to compile if it uses deprecated APIs.
|
|
# In order to do so, uncomment the following line.
|
|
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
SOURCES += \
|
|
main.cpp \
|
|
maindialog.cpp \
|
|
mainwindow.cpp
|
|
|
|
HEADERS += \
|
|
maindialog.h \
|
|
mainwindow.h
|
|
|
|
FORMS += \
|
|
maindialog.ui \
|
|
mainwindow.ui
|
|
|
|
# Default rules for deployment.
|
|
qnx: target.path = /tmp/$${TARGET}/bin
|
|
else: unix:!android: target.path = /opt/$${TARGET}/bin
|
|
!isEmpty(target.path): INSTALLS += target
|
|
|
|
RESOURCES += \
|
|
emscfgres.qrc
|