aboutsummaryrefslogtreecommitdiffstats
path: root/examples/app-and-lib/lib/lib.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/app-and-lib/lib/lib.qbs')
-rw-r--r--examples/app-and-lib/lib/lib.qbs7
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/app-and-lib/lib/lib.qbs b/examples/app-and-lib/lib/lib.qbs
index 5c0098dae..a5fbc6fb8 100644
--- a/examples/app-and-lib/lib/lib.qbs
+++ b/examples/app-and-lib/lib/lib.qbs
@@ -48,10 +48,7 @@
**
****************************************************************************/
-import qbs 1.0
-
-Product {
- type: "staticlibrary"
+StaticLibrary {
name: "mylib"
files: [
"lib.cpp",
@@ -62,7 +59,7 @@ Product {
Export {
Depends { name: "cpp" }
- cpp.includePaths: [product.sourceDirectory]
+ cpp.includePaths: [exportingProduct.sourceDirectory]
}
}