aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-09-01 12:52:24 -0700
committerJake Petroules <jake.petroules@qt.io>2017-09-06 18:52:13 +0000
commita19e5669bc93a9abb789d2d7dd7cca61dfdc2d00 (patch)
treecc3b259a6ecbd9f4d92b0ff021568870771c2526 /doc
parentd615e338efc03934de04149913ba0c7764298746 (diff)
Doc: make the profile example more realistic
targetOS with linux but not unix will result in some weird behavior. arm probably means armv4, so let's say armv7a instead. arm-linux-gnueabi- is a realistic toolchain prefix. Change-Id: Id1f720d78b381201d006828cd331c18e80ee0ed7 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/items/language/profile.qdoc6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/reference/items/language/profile.qdoc b/doc/reference/items/language/profile.qdoc
index c9dcc64cd..e654fa34e 100644
--- a/doc/reference/items/language/profile.qdoc
+++ b/doc/reference/items/language/profile.qdoc
@@ -49,10 +49,10 @@
Profile {
name: "my-special-profile"
qbs.toolchain: ["gcc"]
- qbs.targetOS: ["linux"]
- qbs.architecture: "arm"
+ qbs.targetOS: ["linux", "unix"]
+ qbs.architecture: "armv7a"
cpp.toolchainInstallPath: "/opt/special-gcc/bin"
- cpp.toolchainPrefix: "arm-linux-special-"
+ cpp.toolchainPrefix: "arm-linux-gnueabi-"
}
qbs.profiles: ["my-special-profile"]
// ...