2019-04-05 16:50:34 +02:00
|
|
|
import qbs.FileInfo
|
|
|
|
|
|
|
|
|
|
QtApplication {
|
|
|
|
|
Depends { name: "Qt.widgets" }
|
|
|
|
|
|
|
|
|
|
cpp.defines: [
|
2020-06-24 12:24:27 +02:00
|
|
|
// You can make your code fail to compile if it uses deprecated APIs.
|
|
|
|
|
// In order to do so, uncomment the following line.
|
|
|
|
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
2019-04-05 16:50:34 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
files: [
|
|
|
|
|
"%{MainFileName}",
|
|
|
|
|
"%{SrcFileName}",
|
|
|
|
|
"%{HdrFileName}",
|
2019-07-26 16:46:42 +02:00
|
|
|
@if %{GenerateForm}
|
2019-04-05 16:50:34 +02:00
|
|
|
"%{FormFileName}",
|
2019-07-26 16:46:42 +02:00
|
|
|
@endif
|
|
|
|
|
@if %{HasTranslation}
|
|
|
|
|
"%{TsFileName}",
|
|
|
|
|
@endif
|
2019-04-05 16:50:34 +02:00
|
|
|
]
|
2021-01-11 16:50:34 +01:00
|
|
|
@if %{HasTranslation}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
fileTagsFilter: "qm"
|
|
|
|
|
Qt.core.resourcePrefix: "/i18n"
|
|
|
|
|
fileTags: "qt.core.resource_data"
|
|
|
|
|
}
|
|
|
|
|
@endif
|
2019-04-05 16:50:34 +02:00
|
|
|
|
|
|
|
|
install: true
|
|
|
|
|
installDir: qbs.targetOS.contains("qnx") ? FileInfo.joinPaths("/tmp", name, "bin") : base
|
|
|
|
|
}
|