Files
CodeRepository/Samples/Sample.QCustomPlot/Sample.QCustomPlot.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

73 lines
1.9 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 printsupport
TARGET = QCustomPlotSample
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
win32{
DEFINES += WIN32_LEAN_AND_MEAN ## 减少早期类型重定义引起的编译冲突
}
# 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/ffmpeg4.0/ \
$$PWD/./3rd/QCustomPlot \
SOURCES += \
main.cpp \
mainwindow.cpp \
frameless_helper.cpp \
frmmessagebox.cpp \
$$PWD/./3rd/QCustomPlot/qcustomplot.cpp
HEADERS += \
mainwindow.h \
commonhelper.h \
frameless_helper.h \
frmmessagebox.h \
$$PWD/./3rd/QCustomPlot/qcustomplot.h
FORMS += \
mainwindow.ui \
frmmessagebox.ui
RESOURCES += \
images.qrc
unix|win32: LIBS += -lcomsuppw
unix|win32: LIBS += -lopengl32
#文件采用utf-8编码
msvc {
QMAKE_CFLAGS += /utf-8
QMAKE_CXXFLAGS += /utf-8
}
# exe所带图标
RC_ICONS = skin/ico/Guide.ico