Mare Nostrum

Getting Started Developing Qt with VS Code Development Containers as Simple as Possible

Getting Started Developing Qt with VS Code Development Containers as Simple as Possible


Disclaimer — This is just my humble opinion and maybe there is more convenient way out there for this purpose.
For this purpose I already prepared a repo on GitHub1. The repo is a collection of some experimental works on AI, Image Processing, Qt Qml and embedded RPC. The procedure is is simple as follow.

Requirements

  • Any Linux Distribution (tested on Debian 11) with Wayland Display Manager
  • Docker daemon
  • VS Code with Remote Container extension. Or alternatively it can be used Remote SSH

Run Just as Follow

  • Clone the repos as follow
$ git clone https://github.com/ierturk/qt-qml-ai-collection.git
$ git submodule update --init

Just open the cloned folder in VS Code

  • Reopen in the development container
  • Build with CMake
  • Run any target built by CMake

For more information including building development containers you can refer the links below

The repo used for demonstration1
Development Container Sources2

That’s all