From 3810a2bff06a38c9d4098560cd94a17a24031e23 Mon Sep 17 00:00:00 2001 From: Aqua-sama Date: Wed, 23 Aug 2017 14:52:58 +0200 Subject: Split address bar off into static library --- smolbote.qbs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'smolbote.qbs') 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", ] -- cgit v1.2.1