From 5a0e1c8b431573f203bd28e06b5fcbfbb237ecae Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Fri, 21 Feb 2014 12:15:12 +0100 Subject: [PATCH] SettingsWidgets: Put JDK path field to the first place JDK should come first, because Android SDK depends on it. If a user fills the form from top to bottom while installing the tools, [s]he will have problems with the Android JDK entry because of two reasons: 1) In order to launch the Android SDK Manager (in order to install the platform tools) Java is required. 2) On Windows the Android SDK now comes with an installer (unlike the .zip file on Linux/OSX) which enforces the JDK to already be installed beforehand. Task-Number: QTCREATORBUG-11522 Change-Id: I533acca502625afce3708c8b303085819b153f29 Reviewed-by: Daniel Teske Reviewed-by: BogDan Vatra --- src/plugins/android/androidsettingswidget.ui | 176 +++++++++---------- 1 file changed, 88 insertions(+), 88 deletions(-) diff --git a/src/plugins/android/androidsettingswidget.ui b/src/plugins/android/androidsettingswidget.ui index d40f5cfcb43..eb1f5e6d096 100644 --- a/src/plugins/android/androidsettingswidget.ui +++ b/src/plugins/android/androidsettingswidget.ui @@ -15,6 +15,79 @@ + + + + 0 + 0 + + + + JDK location: + + + Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter + + + + + + + + + + Browse + + + + + + + Download JDK + + + + :/android/images/download.png:/android/images/download.png + + + + + + + + + + 0 + 0 + + + + + + + :/projectexplorer/images/compile_warning.png + + + + + + + + 0 + 0 + + + + + + + true + + + + + + @@ -30,17 +103,17 @@ - + - + Browse - + Download Android SDK @@ -51,7 +124,7 @@ - + @@ -87,7 +160,7 @@ - + @@ -103,17 +176,17 @@ - + - + Browse - + Download Android NDK @@ -124,7 +197,7 @@ - + 2 @@ -160,7 +233,7 @@ - + @@ -176,7 +249,7 @@ - + 2 @@ -215,7 +288,7 @@ - + @@ -231,17 +304,17 @@ - + - + Browse - + Download Ant @@ -252,79 +325,6 @@ - - - - - 0 - 0 - - - - JDK location: - - - Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter - - - - - - - - - - Browse - - - - - - - Download JDK - - - - :/android/images/download.png:/android/images/download.png - - - - - - - - - - 0 - 0 - - - - - - - :/projectexplorer/images/compile_warning.png - - - - - - - - 0 - 0 - - - - - - - true - - - - -