From f47e32c5d0451308d5f0ff99e31397bd8ce53f73 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Sun, 2 Jul 2017 14:36:54 +0200 Subject: Added homepage button --- smolbote.qbs | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) (limited to 'smolbote.qbs') 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 { -- cgit v1.2.1