Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit 027fcd5f authored by Michal Policht's avatar Michal Policht

Improve examples handling in Qbs.

parent d2dd8c22
......@@ -2,6 +2,7 @@ import qbs
Project {
property bool buildTests: false
property bool buildExamples: true
property bool staticExtensions: false
qbsSearchPaths: ["qbs"]
......@@ -10,11 +10,13 @@ CommonProduct {
baseName: name
condition: project.buildExamples
cpp.includePaths: [cutehmi.dirs.externalIncludeDir]
cpp.libraryPaths: [cutehmi.dirs.externalLibDir]
property string installDir: FileInfo.relativePath(path + "/../../..", sourceDirectory)
property string installDir: cutehmi.dirs.examplesInstallDirname + "/" + FileInfo.baseName(sourceDirectory)
FileTagger {
patterns: "*.qml"
......@@ -18,14 +18,14 @@ Module {
property bool generateHeaderFile: false
property string toolInstallDirname: "bin"
property string testInstallDirname: "bin"
property string examplesInstallDirname: "examples"
property string extensionInstallDirname: "bin"
property string extensionsSourceDir: project.sourceDirectory + "/extensions"
property string externalDeployDir: project.sourceDirectory + "/external/deploy"
property string externalLibDir: externalDeployDir + "/lib"
property string externalIncludeDir: externalDeployDir + "/include"
property string testInstallDirname: "bin"
property string toolInstallDirname: "bin"
FileTagger {
patterns: ["*.qbs"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment