aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-10 15:31:05 +0200
committerJoerg Bornemann <joerg.bornemann@theqtcompany.com>2015-09-11 08:16:50 +0000
commit90c4ca7070273929c87e481f18015a226124b3db (patch)
tree363ee83330f4ba7e167502e4948cf60dcb8d7396 /examples
parent31881df00d0321f54b8f0d1865d8b16847befde0 (diff)
fix examples/code-generator
This example did nothing since commit c91dcd35. Change-Id: I7aa440272b2499e26bc947e9b973682a82ca2b75 Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/code-generator/code-generator.qbs7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/code-generator/code-generator.qbs b/examples/code-generator/code-generator.qbs
index 591d7cb82..a8a804be2 100644
--- a/examples/code-generator/code-generator.qbs
+++ b/examples/code-generator/code-generator.qbs
@@ -38,16 +38,15 @@ import qbs
Project {
// A code generator that outputs a "Hello World" C++ program.
- Product {
+ CppApplication {
name: "hwgen"
- Depends { name: "cpp" }
files: ["hwgen.cpp"]
+ bundle.isBundle: false
}
// Generate and build a hello-world application.
- Product {
+ CppApplication {
name: "hello-world"
- Depends { name: "cpp" }
Depends { name: "hwgen" }
Rule {
inputs: ["qbs"] // needed to trigger this rule