# Unable to buil or execute the QML samples

**URL:** <https://forum.commonvisionblox.com/t/unable-to-buil-or-execute-the-qml-samples/1920>\
**Category:** Modular Embedded\
**Tags:** display, acquisition, python\
**Created:** [February 15, 2023, 10:59am UTC](https://forum.commonvisionblox.com/t/unable-to-buil-or-execute-the-qml-samples/1920 "2023-02-15T10:59:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Odontoglyfida](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/odontoglyfida/32/167_2.png) [@Odontoglyfida](https://forum.commonvisionblox.com/u/Odontoglyfida)\
**Post date:** [February 15, 2023, 10:59am UTC](https://forum.commonvisionblox.com/t/unable-to-buil-or-execute-the-qml-samples/1920/1 "2023-02-15T10:59:10Z")

</div>

I am not able to build or run any of the QML base samples in the tutorial. I tried the C++ samples as well as the python samples. For python I can not get the PySide2 package required to execute the sample.

---

<div class="post-metadata">

**Author:** ![Odontoglyfida](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/odontoglyfida/32/167_2.png) [@Odontoglyfida](https://forum.commonvisionblox.com/u/Odontoglyfida)\
**Post date:** [February 15, 2023, 12:18pm UTC](https://forum.commonvisionblox.com/t/unable-to-buil-or-execute-the-qml-samples/1920/2 "2023-02-15T12:18:06Z")

</div>

To build and run the QML C++ samples (e.g. QmlStreamDisplay) you need to install some additional components:

1. sudo apt install cmake
2. sudo apt install qt5-default
3. sudo apt install qtdeclarative5-dev
4. sudo apt install qml-module-qtquick2

After that you can create the build files for a single sample with cmake and build the binary with make.

---

<div class="post-metadata">

**Author:** ![Chris](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.commonvisionblox.com/chris/32/1154_2.png) [@Chris](https://forum.commonvisionblox.com/u/Chris)\
**Post date:** [February 23, 2023, 11:38am UTC](https://forum.commonvisionblox.com/t/unable-to-buil-or-execute-the-qml-samples/1920/3 "2023-02-23T11:38:28Z")

</div>

Hi @Odontoglyfida

great, you already figured out how to get your tutorials up and running.

I would like to post the link to our getting started here:  
[Getting started with CVB Tutorials](https://help.commonvisionblox.com/NextGen/14.0/md_theory_of_operation_appnotes__c_v_b_tutorials.html)

This should be a nice step by step guide to avoid problems for the future.

Cheers  
Chris
