Qt Creator ManualTests Android: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
[[Category:Tools::QtCreator::QualityAssurance]] | [[Category:Tools::QtCreator::QualityAssurance]] | ||
Line 20: | Line 19: | ||
# Verify that each of these Kits has a valid Debugger, Compiler and Qt Version. | # Verify that each of these Kits has a valid Debugger, Compiler and Qt Version. | ||
| | | | ||
| | |I was testing the standalone package. | ||
|- | |- | ||
| If you installed Creator from a standalone package, does it add Kits when adding qmake? | | If you installed Creator from a standalone package, does it add Kits when adding qmake? | ||
Line 32: | Line 31: | ||
# In "Tools" -> "Options…"-> "Kits" -> "Kits", verify that Creator added an auto-detected kit named "Android for ..." | # In "Tools" -> "Options…"-> "Kits" -> "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. | # Verify that this Kit has a valid Debugger and Compiler and uses the Qt Version you set before. | ||
| | | yes | ||
| | |I had a hard time to setup my box to be able to test tis bullet point. Several gotchas crossed my why. | ||
* Wrong JDK version | |||
* Wrong Android NDK version | |||
* Superfluous installation of gradle | |||
* Superfluous installation of MinGW 4.8.0 | |||
The pages http://doc-snapshots.qt.io/qtcreator-4.8/creator-developing-android.html and http://doc-snapshots.qt.io/qt5-dev/androidgs.html differ in content and should be synced. I've created a bugreport here: https://bugreports.qt.io/browse/QTCREATORBUG-21255 | |||
Freeze for several minutes after adding the Android NDK to the device page. | |||
|- | |- | ||
| Can Creator compile an application using an Android kit? (If you didn't install Creator together with a Qt version for Android, you might have to add the path to make or mingw32-make to the PATH environment variable.) | | Can Creator compile an application using an Android kit? (If you didn't install Creator together with a Qt version for Android, you might have to add the path to make or mingw32-make to the PATH environment variable.) | ||
| | |yes | ||
| | | | ||
|- | |- | ||
| Can Creator run an application on an Android device? | | Can Creator run an application on an Android device? | ||
| | |yes | ||
| | | | ||
|- | |- | ||
| Do the previous tasks work for Qt Widgets Applications and Qt Quick Applications? | | Do the previous tasks work for Qt Widgets Applications and Qt Quick Applications? | ||
| | |yes | ||
| | | | ||
|- | |- | ||
Line 53: | Line 60: | ||
# Run this project on the device. | # 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? | 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? | ||
| | |No. | ||
| | |||
Sometimes it even crashes. | |||
|https://bugreports.qt.io/browse/QTCREATORBUG-21256 | |||
|- | |- | ||
| 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, quit the application on the device. Does Creator notice this and reflect the changed state? | ||
| | | Yes. | ||
| | |This works in 'Run' mode only. Every attempt to do this with debug crashes Creator. | ||
https://bugreports.qt.io/browse/QTCREATORBUG-21256 | |||
|- | |- | ||
| 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? | | 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? | ||
| | | Yes. | ||
| | |This works in 'Run' mode only. Every attempt to do this with debug crashes Creator. | ||
https://bugreports.qt.io/browse/QTCREATORBUG-21256 | |||
|- | |- | ||
| Can Creator debug an application on an Android device? | | Can Creator debug an application on an Android device? | ||
| | |No. | ||
| | |One the first attempt nothing happens and on the second attempt it crashes. | ||
https://bugreports.qt.io/browse/QTCREATORBUG-21256 | |||
|- | |- | ||
| Set a breakpoint before debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | | Set a breakpoint before debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | ||
| | | | ||
| | |Not tested further. | ||
|- | |- | ||
| Set a breakpoint while 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? | ||
| | | | ||
| | |Not tested further. | ||
|- | |- | ||
| Do the previous tasks work for breakpoints in C++ code as well as in QML code? | | Do the previous tasks work for breakpoints in C++ code as well as in QML code? | ||
| | | | ||
| | |Not tested further. | ||
|- | |- | ||
| When stopped at a breakpoint, does Creator show valid data for Locals and Expressions? | | When stopped at a breakpoint, does Creator show valid data for Locals and Expressions? | ||
| | | | ||
| | | Not tested further. | ||
|- | |- | ||
| When stopped at a breakpoint, does Creator show a valid stacktrace? | | When stopped at a breakpoint, does Creator show a valid stacktrace? | ||
| | | | ||
| | |Not tested further. | ||
|- | |- | ||
|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? | ||
| | | | ||
| | |Not tested further. | ||
|- | |- | ||
| Try the QML Profiler in the Debug mode for an app on the device. Does it collect data and does that data look sane? | | Try the QML Profiler in the Debug mode for an app on the device. Does it collect data and does that data look sane? | ||
| | | | ||
| | | Not tested further. | ||
|- | |- | ||
|Does Creator handle disconnecting properly? Disconnect the Android device while: | |Does Creator handle disconnecting properly? Disconnect the Android device while: |
Revision as of 12:14, 9 October 2018
You will need the tools listed in Qt's and Qt Creator's manual.
Test | Result | Annotation |
---|---|---|
If you installed Creator as part of a Qt SDK, does Creator correctly detect the kits installed with itself?
|
I was testing the standalone package. | |
If you installed Creator from a standalone package, does it add Kits when adding qmake?
|
yes | I had a hard time to setup my box to be able to test tis bullet point. Several gotchas crossed my why.
The pages http://doc-snapshots.qt.io/qtcreator-4.8/creator-developing-android.html and http://doc-snapshots.qt.io/qt5-dev/androidgs.html differ in content and should be synced. I've created a bugreport here: https://bugreports.qt.io/browse/QTCREATORBUG-21255 Freeze for several minutes after adding the Android NDK to the device page. |
Can Creator compile an application using an Android kit? (If you didn't install Creator together with a Qt version for Android, you might have to add the path to make or mingw32-make to the PATH environment variable.) | yes | |
Can Creator run an application on an Android device? | yes | |
Do the previous tasks work for Qt Widgets Applications and Qt Quick Applications? | yes | |
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? |
No.
Sometimes it even crashes. |
https://bugreports.qt.io/browse/QTCREATORBUG-21256 |
While an application is running on an Android device, quit the application on the device. Does Creator notice this and reflect the changed state? | Yes. | This works in 'Run' mode only. Every attempt to do this with debug crashes Creator. |
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? | Yes. | This works in 'Run' mode only. Every attempt to do this with debug crashes Creator. |
Can Creator debug an application on an Android device? | No. | One the first attempt nothing happens and on the second attempt it crashes. |
Set a breakpoint before debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | Not tested further. | |
Set a breakpoint while debugging an application on an Android device. Does the execution of the program stop at the breakpoint? | Not tested further. | |
Do the previous tasks work for breakpoints in C++ code as well as in QML code? | Not tested further. | |
When stopped at a breakpoint, does Creator show valid data for Locals and Expressions? | Not tested further. | |
When stopped at a breakpoint, does Creator show a valid stacktrace? | Not tested further. | |
Does the Debugger Log View show qDebug output from an Android device when debugging? | Not tested further. | |
Try the QML Profiler in the Debug mode for an app on the device. Does it collect data and does that data look sane? | Not tested further. | |
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. |