diff options
Diffstat (limited to 'smolbote.qbs')
-rw-r--r-- | smolbote.qbs | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/smolbote.qbs b/smolbote.qbs index 3ffd488..a70d49e 100644 --- a/smolbote.qbs +++ b/smolbote.qbs @@ -3,26 +3,29 @@ import "tools/qbs/GitRepo.js" as GitRepo Project { id: project - // Qt 5.7 has qbs version 1.6.0 - // Qt 5.8 has qbs version 1.7.0 - minimumQbsVersion: "1.6.0" + minimumQbsVersion: "1.8.0" property bool gitVersion: true // The following define makes your compiler emit warnings if you use any // feature of Qt which as been marked as deprecated (the exact warnings - // depend on your compiler). Please consult the documentation of the - // deprecated API in order to know how to port your code away from it. + // depend on your compiler). property bool deprecatedWarnings: true - // The code also fails to compile if you use APIs deprecated before Qt 5.7. - property string deprecatedBefore: "0x050700" + // The code also fails to compile if you use APIs deprecated before Qt 5.9. + property string deprecatedBefore: "0x050900" CppApplication { id: poi name: "poi" property stringList defines: [] + Depends { + name: "Qt" + versionAtLeast: "5.9.0" + submodules: ["core", "widgets", "webengine", "webenginewidgets"] + } + Probe { id: git property string version: "" @@ -51,8 +54,6 @@ Project { return defines; } - Depends { name: "Qt"; submodules: ["core", "widgets", "webengine", "webenginewidgets"] } - Group { name: "main" files: [ @@ -83,6 +84,8 @@ Project { "src/forms/aboutdialog.cpp", "src/forms/aboutdialog.h", "src/forms/aboutdialog.ui", + "src/webengine/webview.cpp", + "src/webengine/webview.h", "src/widgets/dockingwidget.cpp", "src/widgets/dockingwidget.h", "src/widgets/loadingbar.cpp", @@ -164,8 +167,6 @@ Project { files: [ "data/resources.qrc", - "src/webengine/webview.cpp", - "src/webengine/webview.h", ] Group { |