2016-12-10 21:13:41 -08:00
|
|
|
import qbs
|
|
|
|
|
|
2018-09-07 15:22:02 +02:00
|
|
|
QtApplication {
|
|
|
|
|
cpp.cxxLanguageVersion: "c++11"
|
2016-12-10 21:13:41 -08:00
|
|
|
|
2018-09-07 15:22:02 +02:00
|
|
|
cpp.defines: [
|
2020-06-24 12:24:27 +02:00
|
|
|
// You can make your code fail to compile if it uses deprecated APIs.
|
2018-09-07 15:22:02 +02:00
|
|
|
// In order to do so, uncomment the following line.
|
|
|
|
|
//"QT_DISABLE_DEPRECATED_BEFORE=0x060000" // disables all the APIs deprecated before Qt 6.0.0
|
|
|
|
|
]
|
2016-12-10 21:13:41 -08:00
|
|
|
|
2018-09-07 15:22:02 +02:00
|
|
|
consoleApplication: true
|
2019-07-26 16:46:42 +02:00
|
|
|
files: [
|
|
|
|
|
"%{CppFileName}",
|
|
|
|
|
@if %{HasTranslation}
|
|
|
|
|
"%{TsFileName}",
|
|
|
|
|
@endif
|
|
|
|
|
]
|
2021-01-11 16:50:34 +01:00
|
|
|
@if %{HasTranslation}
|
|
|
|
|
|
|
|
|
|
Group {
|
|
|
|
|
fileTagsFilter: "qm"
|
|
|
|
|
Qt.core.resourcePrefix: "/i18n"
|
|
|
|
|
fileTags: "qt.core.resource_data"
|
|
|
|
|
}
|
|
|
|
|
@endif
|
2016-12-10 21:13:41 -08:00
|
|
|
|
2018-09-07 15:22:02 +02:00
|
|
|
Group { // Properties for the produced executable
|
|
|
|
|
fileTagsFilter: "application"
|
|
|
|
|
qbs.install: true
|
|
|
|
|
qbs.installDir: "bin"
|
2016-12-10 21:13:41 -08:00
|
|
|
}
|
|
|
|
|
}
|