Qt Creator Manual

Building and Running an Example Application

You can test that your installation is successful by opening an existing example application project.

  1. On the Welcome page, select Choose an Example... in the Explore Qt Quick Examples field, and then select Toys > Clocks.

    "Selecting an example"

  2. Select targets for the project. Select at least Qt Simulator and one of the mobile targets, Symbian Device, Maemo 5, or Harmattan, depending on the device you develop for.

    "Selecting targets"

    Note: You can add targets later in the Projects mode.

  3. To test the application in Qt Simulator, click the Target Selector and select Qt Simulator.

    "Selecting Qt Simulator as target"

  4. Click to build the application and run it in Qt Simulator.
  5. To see the compilation progress, press Alt+4 to open the Compile Output pane.

    The Build progress bar on the toolbar turns green when the project is successfully built. The application opens in Qt Simulator.

    "Qt Simulator"

  6. Change the settings in the View pane. For example, rotate the device by clicking the Orientation buttons or choose from the various Symbian and Maemo configurations in the Device field. You can also simulate various mobile functions and create your own scripts.
  7. To test the application on a Symbian device, install Qt libraries and a debugging agent on the device. For more information, see Connecting Symbian Devices.
  8. Click the Target Selector and select Symbian Device.
  9. Click Run to build the application and run it on the Symbian device.
X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.

[0]; s.parentNode.insertBefore(ga, s); })();