You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
583 B
29 lines
583 B
|
3 years ago
|
QT += core gui
|
||
|
|
greaterThan(QT_MAJOR_VERSION, 4) QT += widgets
|
||
|
|
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
|
||
|
|
|
||
|
|
TARGET = echartgauge
|
||
|
|
TEMPLATE = app
|
||
|
|
DESTDIR = $$PWD/../bin
|
||
|
|
|
||
|
|
SOURCES += main.cpp
|
||
|
|
SOURCES += widget.cpp
|
||
|
|
HEADERS += widget.h
|
||
|
|
FORMS += widget.ui
|
||
|
|
|
||
|
|
include ($$PWD/webcore.pri)
|
||
|
|
|
||
|
|
#自动拷贝文件
|
||
|
|
src_file = $$PWD/file/*
|
||
|
|
dst_file = $$DESTDIR
|
||
|
|
win32 {
|
||
|
|
#转换斜杠 / 到 \\
|
||
|
|
src_file ~= s,/,\\,g
|
||
|
|
dst_file ~= s,/,\\,g
|
||
|
|
dst_file2 ~= s,/,\\,g
|
||
|
|
QMAKE_POST_LINK += copy $$src_file $$dst_file
|
||
|
|
}
|
||
|
|
unix {
|
||
|
|
QMAKE_POST_LINK += cp -r -f $$src_file $$dst_file
|
||
|
|
}
|