Qt wiki will be updated on October 12th 2023 starting at 11:30 AM (EEST) and the maintenance will last around 2-3 hours. During the maintenance the site will be unavailable.

Qt Creator ManualTests iOS

From Qt Wiki
Jump to navigation Jump to search


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?