2,新增“Apps”; 3,新增“Common”; 4,新增“FileList”; 5,新增“MediaX”; 6,新增“OpenSource”; 7,新增“Samples”; 8,新增“SoftwareBusinessLines”.
77 lines
2.0 KiB
Prolog
77 lines
2.0 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 = SQLite3_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
|
|
|
|
# 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/SQLite3/ \
|
|
|
|
SOURCES += \
|
|
$$PWD/../../Common\GdSQLite3.cpp \
|
|
main.cpp \
|
|
mainwindow.cpp \
|
|
frameless_helper.cpp \
|
|
frmmessagebox.cpp \
|
|
CustomSlider.cpp \
|
|
|
|
HEADERS += \
|
|
$$PWD/../../Common\CommDef.h \
|
|
$$PWD/../../Common\GdSQLite3.h \
|
|
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){
|
|
LIBS += -L$$PWD/../../Common/lib/x64/SQLite3/ -lsqlite3
|
|
}else{
|
|
LIBS += -L$$PWD/../../Common/lib/x86/SQLite3/ -lsqlite3
|
|
}
|
|
}
|
|
|
|
#文件采用utf-8编码
|
|
msvc {
|
|
QMAKE_CFLAGS += /utf-8
|
|
QMAKE_CXXFLAGS += /utf-8
|
|
}
|
|
|
|
# exe所带图标
|
|
RC_ICONS = skin/ico/Guide.ico
|