aboutsummaryrefslogtreecommitdiff
path: root/smolbote.qbs
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2017-08-23 14:52:58 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2017-08-23 14:52:58 +0200
commit3810a2bff06a38c9d4098560cd94a17a24031e23 (patch)
treed3f079161dcd3b7a37f3d2a737c6c72f8a49e187 /smolbote.qbs
parentAdded URL bar completer (diff)
downloadsmolbote-3810a2bff06a38c9d4098560cd94a17a24031e23.tar.xz
Split address bar off into static library
Diffstat (limited to 'smolbote.qbs')
-rw-r--r--smolbote.qbs12
1 files changed, 9 insertions, 3 deletions
diff --git a/smolbote.qbs b/smolbote.qbs
index a70d49e..ea05578 100644
--- a/smolbote.qbs
+++ b/smolbote.qbs
@@ -15,6 +15,10 @@ Project {
// The code also fails to compile if you use APIs deprecated before Qt 5.9.
property string deprecatedBefore: "0x050900"
+ references: [
+ "src/lib/navigation/navigation.qbs"
+ ]
+
CppApplication {
id: poi
name: "poi"
@@ -26,6 +30,10 @@ Project {
submodules: ["core", "widgets", "webengine", "webenginewidgets"]
}
+ Depends {
+ name: "navigation"
+ }
+
Probe {
id: git
property string version: ""
@@ -46,7 +54,7 @@ Project {
cpp.cxxFlags: ["-Xclang", "-load", "-Xclang", "ClangLazy.so", "-Xclang", "-add-plugin", "-Xclang", "clang-lazy"]
}
// global includes
- cpp.includePaths: ['src', 'src/3rd-party']
+ cpp.includePaths: ['src', 'src/3rd-party', 'src/lib']
// global defines
cpp.defines: {
if(project.deprecatedWarnings)
@@ -92,8 +100,6 @@ Project {
"src/widgets/loadingbar.h",
"src/widgets/mainwindowmenubar.cpp",
"src/widgets/mainwindowmenubar.h",
- "src/widgets/urllineedit.cpp",
- "src/widgets/urllineedit.h",
"src/widgets/webviewtabbar.cpp",
"src/widgets/webviewtabbar.h",
]