aboutsummaryrefslogtreecommitdiff
path: root/smolbote.qbs
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-03-20 02:25:38 +0100
committerAqua-sama <aqua@iserlohn-fortress.net>2017-03-20 02:25:38 +0100
commit7a1d3ef7cc8884f7b4a6e6867b0627a0feb226ce (patch)
treec3faea4496a213696371ef3176d6edf644b68e50 /smolbote.qbs
parentUpdated BUILDING.md (diff)
downloadsmolbote-7a1d3ef7cc8884f7b4a6e6867b0627a0feb226ce.tar.xz
Added custom about box
Diffstat (limited to 'smolbote.qbs')
-rw-r--r--smolbote.qbs19
1 files changed, 15 insertions, 4 deletions
diff --git a/smolbote.qbs b/smolbote.qbs
index 829faaa..c4112de 100644
--- a/smolbote.qbs
+++ b/smolbote.qbs
@@ -53,15 +53,29 @@ Project {
files: [
"src/browser.cpp",
"src/browser.h",
- "src/main.cpp"
+ "src/main.cpp",
]
cpp.defines: {
+ if(project.deprecatedWarnings)
+ defines.push("QT_DEPRECATED_WARNINGS", "QT_DISABLE_DEPRECATED_BEFORE="+project.deprecatedBefore);
if(git.found)
defines.push('GIT_VERSION="'+git.version+'"', 'GIT_DESCRIBE="'+git.describe+'"');
return defines;
}
}
+ Group {
+ name: "window"
+ files: [
+ "src/mainwindow.cpp",
+ "src/mainwindow.h",
+ "src/mainwindow.ui",
+ "src/forms/aboutdialog.cpp",
+ "src/forms/aboutdialog.h",
+ "src/forms/aboutdialog.ui",
+ ]
+ }
+
files: [
"data/resources.qrc",
"src/blocker/blockermanager.cpp",
@@ -83,9 +97,6 @@ Project {
"src/forms/profiledialog.cpp",
"src/forms/profiledialog.h",
"src/forms/profiledialog.ui",
- "src/mainwindow.cpp",
- "src/mainwindow.h",
- "src/mainwindow.ui",
"src/settings.cpp",
"src/settings.h",
"src/webengine/downloaditemform.cpp",