Qt Creator ManualTests Android: Difference between revisions
Jump to navigation
Jump to search
(Don't expect debug output in red: QTCREATORBUG-14663) |
(Improved autodetection tests) |
||
Line 17: | Line 17: | ||
# In "Tools" -> "Options…"-> "Android", set the correct paths to the Android SDK and the Android NDK. | # In "Tools" -> "Options…"-> "Android", set the correct paths to the Android SDK and the Android NDK. | ||
# Click "Apply". | # Click "Apply". | ||
# In "Tools" -> "Options…"-> "Build & Run", verify that Creator shows | # In "Tools" -> "Options…"-> "Build & Run" -> "Kits", verify that Creator shows a Kit for each Qt for Android version you installed. | ||
# Verify that each of these Kits has a valid Debugger, Compiler and Qt Version. | |||
| | | | ||
| | | | ||
|- | |- | ||
| | | If you installed Creator from a standalone package, does it add Kits when adding qmake? | ||
# In "Tools" -> "Options…"-> "Android", set the correct paths to the Android SDK and the Android NDK. | |||
# Click "Apply". | |||
# In "Tools" -> "Options…"-> "Build & Run" -> "Compilers", verify that Creator shows valid Compilers for Android. | |||
# In "Tools" -> "Options…"-> "Build & Run" -> "Qt Versions", set up a qmake from a Qt for Android. | # In "Tools" -> "Options…"-> "Build & Run" -> "Qt Versions", set up a qmake from a Qt for Android. | ||
# Click "Apply". | # Click "Apply". | ||
# In "Tools" -> "Options…"-> "Build & Run" -> "Kits", verify that Creator added an auto-detected kit named "Android for ..." | # In "Tools" -> "Options…"-> "Build & Run" -> "Kits", verify that Creator added an auto-detected kit named "Android for ..." | ||
# Verify that this Kit has a valid Debugger and Compiler and uses the Qt Version you set before. | |||
| | | | ||
| | | |
Revision as of 15:29, 28 July 2015
You will need the tools listed here.
Test | Result | Annotation |
---|---|---|
If you installed Creator as part of a Qt SDK, does Creator correctly detect the kits installed with itself?
|
||
If you installed Creator from a standalone package, does it add Kits when adding qmake?
|
||
Can Creator compile an application using an Android kit? | ||
Can Creator run an application on an Android device? | ||
Do the previous tasks work for Qt GUI Applications and Qt Quick Applications? | ||
QML errors:
Do error messages appear in Application Output and are these clickable when running the app? Do they open the "right" file and location in the desktop's source directory? |
||
While an application is running on an Android device, quit the application on the device. Does Creator notice this and reflect the changed state? | ||
While an application is running on an Android device, click the "Stop" icon in the "Application Output" view. Does Creator terminate the application on the device? | ||
Can Creator debug an application on an Android device? | ||
Set a breakpoint before debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | ||
Set a breakpoint while debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | ||
Do the previous tasks work for breakpoints in C++ code as well as in QML code? | ||
When stopped at a breakpoint, does Creator show valid data for Locals and Expressions? | ||
When stopped at a breakpoint, does Creator show a valid stacktrace? | ||
Does the Debugger Log View show qDebug output from an Android device when debugging? | ||
Try the QML Profiler in the Analyze mode for an app on the device. Does it collect data and does that data look sane? | ||
Does Creator handle disconnecting properly? Disconnect the Android device while:
Please verify that Creator neither crashes nor freezes. It can still be used locally and after reconnecting it can use the device again. |