Qt Creator ManualTests iOS: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Fix import)
No edit summary
 
(5 intermediate revisions by 2 users not shown)
Line 12: Line 12:
# Remove Creator's settings from .config/QtProject/.
# Remove Creator's settings from .config/QtProject/.
# Start Creator.
# Start Creator.
# In "Qt Creator" -> "Preferences…"-> "Build & Run", verify that Creator shows valid Compilers, Qt Versions and Kits for each Qt for iOS version you installed.
# In "Qt Creator" -> "Preferences…"-> "Kits", verify that Creator shows valid Compilers, Qt Versions and Kits for each Qt for iOS version you installed.
|
|
|
|
|-
|-
| In "Qt Creator" -> "Preferences…"-> "Build & Run" -> "Qt Versions", set up a qmake from a Qt for iOS.
| In "Qt Creator" -> "Preferences…"-> "Kits" -> "Qt Versions", set up a qmake from a Qt for iOS.
Will Creator detect it as "Qt version <version number> for iOS"?
Will Creator detect it as "Qt version <version number> for iOS"?
|
|
Line 34: Line 34:
|-
|-
| 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 85: Line 94:
| Does the Application Output View show qDebug output from an iOS device/the iOS Simulator?
| Does the Application Output View show qDebug output from an iOS device/the iOS Simulator?
Does this work when running an application as well as when debugging?
Does this work when running an application as well as when debugging?
|
|
|-
| Try the QML Profiler in the Debug mode for an app on the device. Does it collect data and does that data look sane?
|
|
|
|
|}
|}

Latest revision as of 11:26, 2 July 2018


You might need information from Qt's and Creator's documentation.

iOS
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/QtProject/.
  2. Start Creator.
  3. In "Qt Creator" -> "Preferences…"-> "Kits", verify that Creator shows valid Compilers, Qt Versions and Kits for each Qt for iOS version you installed.
In "Qt Creator" -> "Preferences…"-> "Kits" -> "Qt Versions", set up a qmake from a Qt for iOS.

Will Creator detect it as "Qt version <version number> for iOS"?

Can Creator compile an application using an iOS kit?
Can Creator run an application on an iOS device?
Can Creator run an application in the iOS simulator?
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 iOS device, quit the application on the device.

Does Creator notice this and reflect the changed state?

While an application is running in the iOS Simulator, quit the Simulator.

Does Creator notice this and reflect the changed state?

While an application is running on an iOS device, click the "Stop" icon in the "Application Output" view.

Does Creator terminate the application on the device?

While an application is running in the iOS Simulator, click the "Stop" icon in the "Application Output" view.

Does Creator terminate the application in the Simulator?

Can Creator debug an application on an iOS device?
Set a breakpoint before debugging an application on an iOS device.

Does the execution of the program stop at the breakpoint?

Set a breakpoint while debugging an application on an iOS 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 iOS device/the iOS Simulator?

Does this work when running an application as well as when debugging?

Try the QML Profiler in the Debug mode for an app on the device. Does it collect data and does that data look sane?