Windows with Visual Studio Code

<< Click to Display Table of Contents >>

Navigation:  Getting started with CVB tutorials > Building a CVB sample application > Python >

Windows with Visual Studio Code

1From Visual Studio Code open the folder (not the file!) %CVB%Tutorial\Image Manager\CVBpy\QmlStreamDisplay.
 
python_VisualStudioCode1
 

2Start Debugging either from menu or with F5. For additional debug output of QML UI, you may set and enable the environment variable QML_IMPORT_TRACE=1 (see https://doc.qt.io/qt-5/qtquick-debugging.html).
 
python_VisualStudioCode2

 
Select Python File.
 
python_VisualStudioCode3

 

 

3The example will start immediately.

 

The result should look like this after a first snap:

python_VisualStudioCode4

 

Congratulations. You have ran your first Common Vision Blox sample using Qt with Python. The code of the sample can be run under different operating systems as well as on different projects.
 
Repeat the steps for the other samples. It is not too difficult.