Commit Graph

23 Commits

Author SHA1 Message Date
David Kaspar
269d51935d Qnx: Add BlackBerry Device wizard queries device to prefill wizard fields
BlackBerry Device wizard is having the following pages:
* Setup page - simplified to contains the device listing,
device host name and device password fields only
* Query page - queries device for information
* SshKey page - no changes there
* Config page - contains config-name and debug token fields

Change-Id: I30e05b984960df2184353209bff1f07c9440e6b1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
2013-08-12 15:49:14 +02:00
Tobias Hunger
3e62b80bf9 Qnx: Compile fix
Change-Id: I77e6182a6b908857d7bc382582915b88cc2e78e2
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-08-08 18:47:47 +02:00
David Kaspar
256509541b Qnx: Device auto-detection in Add BlackBerry Device wizard
BlackBerryDeviceConfigurationWizardSetupPage auto-detects devices
that are reachable from a host machine and allows an user to choose
one of them to pre-fill the fields on the page.

DeviceListDectector class added for auto-detecting devices.

BlackBerryNdkProcess::resolveNdkToolPath() method added to allow
resolve cmd-line tools fill path.

Change-Id: I58287b40a5f20662fc09665c3a3c492294bb57f3
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Reviewed-by: David Kaspar <dkaspar@blackberry.com>
2013-08-08 17:26:13 +02:00
David Kaspar
41f8674c3e Qnx: Fixing incorrect ssh key generation
blackberry-connect tool requires to have public key with no comment
or comment with 'usename@hostname' format
QSsh::SshKeyGenerator creates comments in 'QtCreator/TIMEZONE' format
there we are stripping them out

This issue has been introduced by commit:
bd064d50e6

Task-number: QTCREATORBUG-9888

Change-Id: Ied96720b004cfe4f5bb95adec3401b6b6d30db5c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-08-06 11:46:00 +02:00
David Kaspar
bd064d50e6 Qnx: Fixing UI freeze when canceling SSH-keys generation
The UI freeze happens when an user cancels 'Add BlackBerry Device' wizard
while SSH-keys are being generated.

Removing a need for terminate() and wait() calls in
BlackBerryDeviceConfigurationWizardSshKeyPage dtor by invoking a new
thread each time a Generate button is pressed. Such a thread can delete
itself later when the calculation is finished.
The only drawback is that the calculation is still happening even when the
wizard is closed. Just the calculation results are not used anywhere.

Task-number: QTCREATORBUG-9888

Change-Id: Ibc5e98d08e129d7f76620a5dea9ed5190932243b
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-07-30 15:03:11 +02:00
El Mehdi Fekari
31a8b4cb98 Qnx: Use native separators when generating SSH keys
Task-number: QTCREATORBUG-9830

Change-Id: Icab0b46b5e35439e4e6f98f244e8aaa0cc559af0
Reviewed-by: Robert Loehning <robert.loehning@digia.com>
2013-07-22 11:25:08 +02:00
El Mehdi Fekari
6b2162f2a9 Qnx: Move the dataDirPath() method to QnxUtils class
Change-Id: I6bc02a83263da4ce01fe3238aefee20a68507595
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-06-24 23:03:01 +02:00
Friedemann Kleint
b3c8dec943 Fix single-character strings in QNX-plugin.
Change-Id: I5a4780fe4fcd285df9f8cbae712e12bff2d2bdda
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
2013-05-14 20:17:51 +02:00
Tobias Nätterlund
082bf324fe BlackBerry: Browse for debug token now starts in the correct directory
Change-Id: I471f24bc65b393ee9d619198c1bb982cf93e2786
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-05-02 08:54:51 +02:00
Tobias Nätterlund
9728afadb0 QNX: Improved generation of SSH keys for BlackBerry devices
The user is now asked where to store the generated SSH key,
before it is generated, and if that would fail, is still
enabled to select a different key.

Task-number: QTCREATORBUG-9101
Task-number: QTCREATORBUG-9102
Change-Id: I8e2f732dbcbe7bd3bd3fa9b512a7a195fa868c17
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Mehdi Fekari <mfekari@blackberry.com>
2013-04-30 07:35:09 +02:00
Mehdi Fekari
b91462aad1 Qnx: Generate SSH keys in a separate thread
This avoids locking up the UI while the keys are being generated

Task-number: QTCREATORBUG-9078
Change-Id: I2229811298f07a6c402d39dd83773fb453d2b2ae
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
2013-04-25 18:51:21 +02:00
El Mehdi Fekari
c6449e55ff Qnx: Auto detect device PIN when requesting debugToken
Task-number: QTCREATORBUG-9062

Change-Id: Ib6bc2f2da6f6cfe9e78eb1d9d7e9d8f6abbd9948
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
Reviewed-by: Kevin Krammer <kevin.krammer@kdab.com>
2013-04-16 22:50:33 +02:00
Friedemann Kleint
aebf19eabd Clean headers in Utils.
Forward-declare QGraphicsOpacityEffect in DetailsButton,
QProcessEnvironment in Environment, QFileInfo in fileutils,
QUrl in IWelcomePage, FancyLineEdit in PathChooser and
remove unneeded headers.

Change-Id: I7d5f273530dd2059bbdaf0899f0a3bc7e49e8482
Reviewed-by: hjk <hjk121@nokiamail.com>
2013-03-19 17:19:26 +01:00
Friedemann Kleint
d799befe29 Fix Krazy warnings about includes/header guards in QNX plugin.
Change-Id: I01bb273268bdc473dfeaf68915f37909af2534a1
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-03-12 14:26:53 +01:00
Rafael Roquetto
0a0debe387 Qnx: Simple BlackBerry debug token management.
This patch enables debug token creation and installation.

Change-Id: I85cbb8ddc413228662cd7967e1805196212a430c
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-02-21 18:09:56 +01:00
El Mehdi Fekari
574d4adaad Qnx: Enable Simulator use without debugToken
Change-Id: Icf62ea6f8304d96fe99b7dd673143ca2b0a87094
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-02-13 15:00:04 +01:00
Oswald Buddenhagen
1fda2111d4 Merge remote-tracking branch 'origin/2.6'
Conflicts:
	src/plugins/autotoolsprojectmanager/AutotoolsProjectManager.pluginspec.in
	src/plugins/debugger/qtmessageloghandler.cpp
	src/plugins/debugger/qtmessagelogwindow.cpp
	src/plugins/madde/maemodeployconfigurationwidget.cpp
	src/plugins/qmldesigner/components/integration/designdocumentcontroller.cpp
	src/plugins/qmldesigner/designercore/include/widgetqueryview.h
	src/plugins/qmldesigner/designercore/metainfo/metainfoparser.cpp
	src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.cpp
	src/plugins/qmldesigner/designercore/model/modelnodecontextmenu.h
	src/plugins/qmlprojectmanager/qmlprojectapplicationwizard.cpp
	src/plugins/qnx/bardescriptormagicmatcher.h
	src/plugins/qt4projectmanager/profilekeywords.cpp
	src/plugins/remotelinux/deployablefilesperprofile.cpp
	src/plugins/remotelinux/deployablefilesperprofile.h
	src/plugins/remotelinux/deploymentinfo.cpp
	src/plugins/remotelinux/deploymentsettingsassistant.cpp
	src/plugins/remotelinux/profilesupdatedialog.cpp
	tests/auto/icheckbuild/ichecklib.cpp
	tests/auto/icheckbuild/parsemanager.cpp
	tests/auto/icheckbuild/parsemanager.h

Change-Id: Ie465a578446a089e1c502d1cb1096e84ca058104
2013-01-31 16:25:33 +01:00
Robert Loehning
298531e370 Incremented year in copyright info
Change-Id: Ic6a9ff0359625021ebc061d22db6811814534205
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
2013-01-29 16:27:03 +01:00
Mehdi Fekari
a4455f3711 Qnx: Do not override IP user input value
Change-Id: I3a697cf1392e1ce13310e2af1c3e7d7af1fdf79d
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
2013-01-23 14:53:21 +01:00
Mehdi Fekari
8f4da818c8 Qnx: Set default device host IP for physical device
Change-Id: I54fa8af84df8853c32adde1b94bc6096930e29ba
Reviewed-by: Tobias Nätterlund <tobias.naetterlund@kdab.com>
Reviewed-by: Nicolas Arnaud-Cormos <nicolas@kdab.com>
2013-01-21 07:47:14 +01:00
hjk
386ca7c8dd Adjust license headers
Change-Id: Ice592c6de9951ee3b2c4cb52ed0bb3b6770e0825
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
2012-10-05 17:12:56 +02:00
hjk
b906360a34 madde/qnx/remotelinux: adjust after profile changes
More Profile use, less dependency on QtSupport,
Derive qtVersionId from profile instead of qt build configuration.
Replace qt4BuildConfiguration with buildConfiguration.
Use IDevice base class in AbstractRemoteLinuxApplicationRunner
and in other places.  Simplify remote linux runconfiguration

Change-Id: I6414d3d8146d16c360b3a0465c57a052ea71f899
Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
2012-07-26 12:50:06 +02:00
Tobias Nätterlund
a7ac2bb559 New QNX plugin.
This plugin adds support for cross-compiling, deploying, running
and debugging on a PlayBook or QNX Neutrino device.

Change-Id: I0da7ccee40bd7ce4c0d6bdc6884d48ef23167dac
Reviewed-by: Daniel Teske <daniel.teske@nokia.com>
2012-07-13 15:37:34 +02:00