Commit Graph

5 Commits

Author SHA1 Message Date
El Mehdi Fekari
4e78a95263 Qnx: Refactor BlackBerryApiLevelConfiguration class
Add a QnxBaseConfiguration class as base class for
the BlackBerryApiLevelConfiguration and the new
QnxConfiguarion classes.

The split of the BlackBerryApiLevelConfiguration logic
makes the code more flexible to add support for
the user's SDP/Qnx configurations.

Upcoming patches adding support for the SDP/Qnx configuration
will depend on this change.

Change-Id: I44258d9a9f0dc44bb196f4178974ad04d4caf70a
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-05-05 10:46:53 +02:00
El Mehdi Fekari
d190704b43 Qnx: Skip warnings when deactivating an API level
Task-number: QTCREATORBUG-11792

Change-Id: If683ce1261bbcdfd3ffd2d949c355e6edf376839
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-24 12:46:17 +01:00
Tobias Hunger
0e67b293b7 Qnx: Fix lifecycle of the BlackBerryConfigurationManager
This fixes a crash when this class tries to show a UI while it is
destructed.

Task-number: QTCREATORBUG-11712
Change-Id: If4aca14a3ca4792bec1a45903a1f38287d16dbc4
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2014-03-19 14:31:09 +01:00
El Mehdi Fekari
71510a8d41 Qnx: Use correct mkspec in the qmake step
In order to use the correct mkspec in the qmake step,
the qt version mkspec needs to be explicitly listed in the QnxToolChain
suggested mkspec list (Otherwise the first one found in
list will be used).

That is currently broken due to the following issues:

* The mkspec for BB armle-v7 target has been recently
changed to blackberry-armle-v7-qcc, which was not listed
in the QnxToolChain suggested mkspec list.

* The Qt4 for BB armle-v7 uses the "default" mkspec which is a copy
of the "blackberry-armv7le-qcc" mkspec. The mkspec
name should be explicit in order to be found and used.

Task-number: QTCREATORBUG-11674

Change-Id: Idb53d22e7c4b746b23dd3a65c42d00dca5c27d0c
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
2014-03-17 17:05:41 +01:00
El Mehdi Fekari
aa8786fb2e Qnx: Add BlackBerry runtime management support
Add support for managing user BlackBerry runtime configurations.

This does not handle adding manual runtimes yet, but only detects
runtimes from the NDK directories of the available API levels.

The BlackBerry NDK should provide a better way to detect installed
runtimes (e.g xml installation files) in order to improve
the BlackBerry runtime managemnt in Qt Creator.

Change-Id: I4f139d52352f903a27dfe4175d12b016b4ee25a9
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2014-02-19 10:28:58 +01:00