On this page

Getting started

To check that Qt Extension for VS Code can find your Qt installation and CMake kits, open a Qt example for building and running.

Building and running a Qt example in VS Code.

To open and run a Qt example project in VS Code:

  1. Install Qt Extension for VS Code.
  2. Go to Welcome.

    {Welcome page}

  3. Select Examples to open a Qt example.

    {List of Qt examples}

    For more information, see Tutorial: Build and run Qt examples.

  4. Go to Command Palette, and select Qt: Register Qt installation to register a Qt version.
  5. Go to Command Palette and select Qt: Set the recommended Qt Extension settings to show the registered Qt CMake kits on the status bar.
  6. Go to Command Palette and select Qt: Scan for kits. Then select a kit that matches your Qt version and toolchain.
  7. Select Launch the selected target in the terminal window on the status bar.
  8. Select the executable as the launch target to build and run the project.

You can now select a tutorial to follow to learn about developing Qt applications. Use project wizard templates to create your own application projects.

Enroll to Qt Academy courses

Go to Welcome, and then select Qt academy to browse courses.

{Qt Academy courses view}

You can:

  • Search for courses.
  • Filter courses by type and level.
  • Sort courses by name and other criteria.
  • Go to Qt Academy to browse the whole course catalog.

See also Installation, Register Qt installations, Tutorials, and Create Qt projects.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.