summaryrefslogtreecommitdiffstats
path: root/features
diff options
context:
space:
mode:
authorThomas McGuire <thomas.mcguire.qnx@kdab.com>2012-11-22 18:41:29 +0000
committerThomas McGuire <thomas.mcguire@kdab.com>2012-11-23 09:24:05 +0100
commit14a366111055d4651d960a7d5f051a1e04e63485 (patch)
tree3764014a88de5322406c2e58837e672d3c680307 /features
parent09a0e56acb6a49a99fc1c0feaa2ab9344dcfd8c3 (diff)
Fix build on QNX.
* Not all C++ compilers inject C functions into global namespace, On QNX you need to use std:: when using functions from <cstdlib> for example. * Disable a few modules that don't compile. * QNX linker doesn't like -rdynamic. * Explicitly link against network, sql and declarative modules since QNX's linker doesn't pull in indirect dependencies. * Don't build against gstreamer on QNX. Change-Id: Ic3a202fbbbb77b25334323681e7dbf8bd5872f59 Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'features')
-rw-r--r--features/mobility.prf.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/features/mobility.prf.template b/features/mobility.prf.template
index c9faa1ee0b..86353b14ce 100644
--- a/features/mobility.prf.template
+++ b/features/mobility.prf.template
@@ -63,10 +63,12 @@ contains(MOBILITY, publishsubscribe) {
}
contains(MOBILITY, location) {
+ qnx: QT += network sql declarative
qtMobilityAddLibrary(QtLocation)
}
contains(MOBILITY, serviceframework) {
+ qnx: QT += network sql
qtMobilityAddLibrary(QtServiceFramework)
}