Files
CodeRepository/Samples/Sample.jsoncpp/Sample.jsoncpp.pro
chenzhen 222dda1e43 1,新增“App_ThermalImageSystem”;
2,新增“Apps”;
3,新增“Common”;
4,新增“FileList”;
5,新增“MediaX”;
6,新增“OpenSource”;
7,新增“Samples”;
8,新增“SoftwareBusinessLines”.
2026-02-14 23:03:23 +08:00

77 lines
2.1 KiB
Prolog

#-------------------------------------------------
#
# Project created by QtCreator 2020-11-18T10:59:17
#
#-------------------------------------------------
QT += core gui opengl
CONFIG += c++11
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets serialport
TARGET = jsoncpp_Demo
TEMPLATE = app
DESTDIR=$$PWD/../bin
# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
DEFINES += _XKEYCHECK_H #pcie class error/warning disabled
DEFINES += _HAS_STD_BYTE=1
# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += $$PWD/../../Common/ \
$$PWD/../../Common/include/ \
$$PWD/../../Common/include/jsoncpp/ \
SOURCES += \
main.cpp \
mainwindow.cpp \
frameless_helper.cpp \
frmmessagebox.cpp \
CustomSlider.cpp \
HEADERS += \
mainwindow.h \
commonhelper.h \
frameless_helper.h \
frmmessagebox.h \
CustomSlider.h \
FORMS += \
mainwindow.ui \
frmmessagebox.ui
RESOURCES += \
images.qrc
#unix|win32: LIBS += -lcomsuppw
win32{
contains(DEFINES,WIN64){
CONFIG(release, debug|release): LIBS += -L$$PWD/../../Common/lib/x64/jsoncpp/ -ljsoncpp
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Common/lib/x64/jsoncpp/ -ljsoncppd
}else{
CONFIG(release, debug|release): LIBS += -L$$PWD/../../Common/lib/x86/jsoncpp/ -ljsoncpp
else:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../Common/lib/x86/jsoncpp/ -ljsoncppd
}
}
#文件采用utf-8编码
msvc {
QMAKE_CFLAGS += /utf-8
QMAKE_CXXFLAGS += /utf-8
}
# exe所带图标
RC_ICONS = skin/ico/Guide.ico