1
0
mirror of https://github.com/jaredtao/TaoQuick.git synced 2025-01-31 21:22:58 +08:00

update prf

This commit is contained in:
jared 2020-06-20 01:41:26 +08:00
parent c7f152026e
commit 5483b00a40
4 changed files with 20 additions and 19 deletions

View File

@ -19,10 +19,13 @@
MAJ = $$take_first(VerList) MAJ = $$take_first(VerList)
MIN = $$take_first(VerList) MIN = $$take_first(VerList)
PAT = $$take_first(VerList) PAT = $$take_first(VerList)
# VER_MAJ = $${MAJ} equals(TEMPLATE, lib) {
# VER_MIN = $${MIN} CONFIG += skip_target_version_ext
# VER_PAT = $${PAT} VER_MAJ = $${MAJ}
# VERSION = $${Ver} VER_MIN = $${MIN}
VER_PAT = $${PAT}
VERSION = $${Ver}
}
DEFINES += TaoREVISION=$${REVISION} DEFINES += TaoREVISION=$${REVISION}
DEFINES += TaoREVISIONSTR=\"\\\"$${REVISION}\\\"\" DEFINES += TaoREVISIONSTR=\"\\\"$${REVISION}\\\"\"

View File

@ -71,14 +71,14 @@ Item {
NotifyBox { NotifyBox {
id: notifyBox id: notifyBox
} }
ShaderEffectSource { // ShaderEffectSource {
anchors { // anchors {
right: parent.right // right: parent.right
bottom: parent.bottom // bottom: parent.bottom
} // }
sourceItem: rootView // sourceItem: rootView
width: 300 // width: 300
height: width / rootView.width * rootView.height // height: width / rootView.width * rootView.height
recursive: true // recursive: true
} // }
} }

View File

@ -11,17 +11,14 @@ CONFIG += file_copies
# HEADERS += $$PWD/Ver-u8.h # HEADERS += $$PWD/Ver-u8.h
#} #}
msvc{ msvc {
QMAKE_CFLAGS += -source-charset:utf-8 QMAKE_CFLAGS += -source-charset:utf-8
QMAKE_CXXFLAGS += -source-charset:utf-8 QMAKE_CXXFLAGS += -source-charset:utf-8
} }
#一部分头文件加入编译预处理,提高编译速度 #一部分头文件加入编译预处理,提高编译速度
msvc { msvc | gcc | xcode {
CONFIG += precompile_header CONFIG += precompile_header
PRECOMPILED_HEADER = $$PWD/Src/stdafx.h PRECOMPILED_HEADER = $$PWD/Src/stdafx.h
precompile_header:!isEmpty(PRECOMPILED_HEADER) {
DEFINES += USING_PCH
}
} }
HEADERS += \ HEADERS += \

View File

@ -4,3 +4,4 @@ SUBDIRS += \
TaoQuickApp \ TaoQuickApp \
TaoQuickPlugin \ TaoQuickPlugin \
TaoEffectPlugin TaoEffectPlugin
CONFIG+= ordered