Qt

Building and Running an Example

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

  1. In the Welcome mode, select Examples (1).

    "Selecting an example"

  2. Select an example in the list of examples. You can also search for examples (2).

    Note: The project opens in the Edit mode, and the documentation for the example hides these instructions. To return to these instructions, select Previous Page on the toolbar or press Alt+Left.

  3. To check that the application code can be compiled and linked for a device, click the Kit Selector and select a kit for the device.

    "Selecting a kit to build with"

    If you installed Qt Creator as part of a Qt installation, it should have automatically detected the installed kit. If no kits are available, see Adding Kits.

  4. Click (Run) to build and run the application.
  5. To see the compilation progress, press Alt+4 to open the Compile Output pane.

    If build errors occur, check that a Qt version and compiler are installed and configured and that the necessary kits are configured.

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