Qt Creator ManualTests Android: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Info what "properly" means when disconnecting.)
No edit summary
Line 37: Line 37:
|-
|-
| Do the previous tasks work for Qt GUI Applications and Qt Quick Applications?  
| Do the previous tasks work for Qt GUI Applications and Qt Quick Applications?  
|
|
|-
| QML errors:
# Create a hybrid QML/C++ project (Qt Quick Application).
# Add errors to the qml file.
# Save and close the file.
# Run this project on the device.
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?
|
|
|
|
Line 77: Line 86:
|-
|-
|Does the Debugger Log View show qDebug output from an Android device when debugging?  
|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?
|  
|  
|  
|  

Revision as of 12:34, 3 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?
  1. Remove Creator's settings from .config (Linux, Mac) or %appdata% (Windows).
  2. Start Creator.
  3. In "Tools" -> "Options…"-> "Android", set the correct paths to the Android SDK and the Android NDK.
  4. Click "Apply".
  5. In "Tools" -> "Options…"-> "Build & Run", verify that Creator shows valid Debuggers, Compilers, Qt Versions and Kits for each Qt for Android version you installed.
  1. In "Tools" -> "Options…"-> "Build & Run" -> "Qt Versions", set up a qmake from a Qt for Android.
  2. Click "Apply".
  3. In "Tools" -> "Options…"-> "Build & Run" -> "Kits", verify that Creator added an auto-detected kit named "Android for ..."
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:
  1. Create a hybrid QML/C++ project (Qt Quick Application).
  2. Add errors to the qml file.
  3. Save and close the file.
  4. Run this project on the device.

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 Application Output View show qDebug output from an Android device in red? Does this work when running an application as well as when debugging?
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:
  • Running an application on the device
  • Debugging an application on the device
  • Having stopped at a breakpoint on the device

Please verify that Creator neither crashes nor freezes. It can still be used locally and after reconnecting it can use the device again.