Skip to content

Commit

Permalink
refactor: Optimize global project module[468204]
Browse files Browse the repository at this point in the history
  • Loading branch information
Greedysky committed Nov 11, 2022
1 parent 02b3f42 commit 6b51a3b
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion TTKCommon/TTKDumper/TTKDumper.pro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ CONFIG += plugin lib

include($$PWD/../../TTKVersion.pri)

DESTDIR = $$OUT_PWD/../../bin/$$TTKVersion
DESTDIR = $$OUT_PWD/../../bin/$$TTK_VERSION
TARGET = TTKDumper

DEFINES += TTK_LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion TTKCommon/TTKLibrary/TTKLibrary.pro
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CONFIG += plugin lib

include($$PWD/../../TTKVersion.pri)

DESTDIR = $$OUT_PWD/../../bin/$$TTKVersion
DESTDIR = $$OUT_PWD/../../bin/$$TTK_VERSION
TARGET = TTKLibrary

DEFINES += TTK_LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion TTKOCR.pri
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ greaterThan(QT_MAJOR_VERSION, 4){ #Qt5

include($$PWD/TTKVersion.pri)

DESTDIR = $$OUT_PWD/../bin/$$TTKVersion
DESTDIR = $$OUT_PWD/../bin/$$TTK_VERSION

include($$PWD/TTKBuild.pri)

Expand Down
4 changes: 2 additions & 2 deletions TTKOCR.pro
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ include($$PWD/TTKVersion.pri)

##update translation
unix{
output = $$OUT_PWD/bin/$$TTKVersion/GLanguage
output = $$OUT_PWD/bin/$$TTK_VERSION/GLanguage
!exists($$output):system(mkdir -p $$output)

system(find $$PWD/TTKLanguage -name *.ts | xargs $$LRELEASE_EXECUTABLE)
Expand All @@ -54,7 +54,7 @@ unix{
}

win32{
output = $$OUT_PWD/bin/$$TTKVersion/GLanguage
output = $$OUT_PWD/bin/$$TTK_VERSION/GLanguage
output = $$replace(output, /, \\)
!exists($$output):system(md $$output)

Expand Down
2 changes: 1 addition & 1 deletion TTKThirdParty/TTKExtras/TTKExtras.pro
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ CONFIG += plugin lib

include($$PWD/../../TTKVersion.pri)

DESTDIR = $$OUT_PWD/../../bin/$$TTKVersion
DESTDIR = $$OUT_PWD/../../bin/$$TTK_VERSION
TARGET = TTKExtras

DEFINES += TTK_LIBRARY
Expand Down
2 changes: 1 addition & 1 deletion TTKUi/TTKUi.pro
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ CONFIG += plugin lib

include($$PWD/../TTKVersion.pri)

DESTDIR = $$OUT_PWD/../bin/$$TTKVersion
DESTDIR = $$OUT_PWD/../bin/$$TTK_VERSION
TARGET = TTKUi

RESOURCES += $$PWD/TTKOCR.qrc
Expand Down
2 changes: 1 addition & 1 deletion TTKVersion.pri
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ OBJECTS_DIR = ./.build/obj
RCC_DIR = ./.build/rcc

# update time 2022.01.29
TTKVersion = 2.4.0.0
TTK_VERSION = 2.4.0.0

0 comments on commit 6b51a3b

Please sign in to comment.