2009-04-17 11:26:03 +02:00
|
|
|
TEMPLATE = subdirs
|
2017-02-08 10:57:10 +01:00
|
|
|
SUBDIRS = qtcreator/static.pro
|
|
|
|
|
|
|
|
|
|
defineTest(hasLupdate) {
|
|
|
|
|
cmd = $$eval(QT_TOOL.lupdate.binary)
|
|
|
|
|
isEmpty(cmd) {
|
|
|
|
|
cmd = $$[QT_HOST_BINS]/lupdate
|
|
|
|
|
contains(QMAKE_HOST.os, Windows):exists($${cmd}.exe): return(true)
|
|
|
|
|
contains(QMAKE_HOST.os, Darwin):exists($${cmd}.app/Contents/MacOS/lupdate): return(true)
|
|
|
|
|
exists($$cmd): return(true)
|
|
|
|
|
} else {
|
|
|
|
|
exists($$last(cmd)): return(true)
|
|
|
|
|
}
|
|
|
|
|
return(false)
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
hasLupdate(): SUBDIRS += qtcreator/translations
|
|
|
|
|
|
2014-09-12 14:34:28 +02:00
|
|
|
DISTFILES += share.qbs \
|
2012-10-12 14:12:40 +02:00
|
|
|
../src/share/share.qbs
|