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: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
 
(12 intermediate revisions by 5 users not shown)
Line 1: Line 1:
=Work in Progress!=
[[Category:Tools::QtCreator::QualityAssurance]]


=Qt Creator Manual Tests: iOS=
You might need information from [http://doc.qt.io/qt-5/ios-support.html Qt's] and [http://doc.qt.io/qtcreator/creator-developing-ios.html Creator's documentation].


You might need information from [http://doc.qt.io/qt-5/ios-support.html Qt’s] ''[qt.io]'' and [http://doc.qt.io/qtcreator-3.2/creator-developing-ios.html Creator’s documentation] ''[qt.io]''.
{| class="wikitable"
 
|+ iOS
{| class="infotable line"
|- style="background: #009900"
! Test
! Test
! Result
! Result
! Annotation
! Annotation
|-
|-
|
| If you installed Creator as part of a Qt SDK, does Creator correctly detect the kits installed with itself?
If you installed Creator as part of a Qt <span class="caps">SDK</span>, does Creator correctly detect the kits installed with itself?
# Remove Creator's settings from .config/QtProject/.
 
# Remove Creator’s settings from .config/QtProject/.
# Start Creator.
# Start Creator.
# In “Qt Creator” -&gt; “Preferences…” -&gt; “Build &amp; 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” -&gt; “Preferences…” -&gt; “Build &amp; Run” -&gt; “Qt Versions”, set up a qmake from a Qt for iOS. Will Creator detect it as “Qt version &lt;version number&gt; 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"?
|
|
|
|
Line 36: Line 33:
|
|
|-
|-
| Do the previous tasks work for Qt <span class="caps">GUI</span> Applications and Qt Quick Applications?
| Do the previous tasks work for Qt GUI Applications and Qt Quick Applications?
|
|
|
|
|-
|-
| While an application is running on an iOS device, quit the application on the device. Does Creator notice this and reflect the changed state?
| 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?  
|
|
|
|
|-
|-
| 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, quit the application on the device.
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, quit the Simulator.
Does Creator notice this and reflect the changed state?
|
|
|
|
|-
|-
| 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?
| 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?
|
|
|
|
Line 60: Line 70:
|
|
|-
|-
| Set a breakpoint before debugging an application on an iOS device. Does the execution of the program stop at the breakpoint?
| 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?
| 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 <span class="caps">QML</span> code?
| Do the previous tasks work for breakpoints in C++ code as well as in QML code?
|
|
|
|
Line 80: Line 92:
|
|
|-
|-
| 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 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?  
|
|
|
|
|}
|}
===Categories:===
* [[:Category:Tools|Tools]]
** [[:Category:Tools::QtCreator|QtCreator]]
* [[:Category:Tools::QtCreator::QualityAssurance|QualityAssurance]]

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?