Setting up Development Environment

This section covers the details of setting up your development environment. You can set it up yourself or get a pre-configured virtual machine, from MRS Electronic.

Important
The document solely focuses on the development on Linux host. However, it can be setup on Windows host as well. For more details, contact MRS Electronic.
There are multiple virtualization techniques, but the document focuses on setting up an Ubuntu development environment using VirtualBox.

Download the latest version of VirtualBox according to your device’s architecture.

Pre-Configured Machine

If you are using a pre-configured virtual machine from MRS, you can simply install it and jump to the Setting Up MConn section. The virtual machine is already setup for the development and cross-compiling.

Manual Configuration

To configure your machine manually, the following requirements must be fulfilled:

System Requirements

Component Requirement
Operating System Most modern Linux distributions (Ubuntu 22.04, Fedora, Debian, CentOS)
Processor Dual-core
Memory 8 GB of RAM
Disk Space 20 GB of free disk space

Software Requirements

Software Type Ubuntu 22.04
Build Essential Tools build-essential
Qt 5.12.9 Dependencies libxcb1 libxcb1-dev libxcb-keysyms1-dev libxcb-image0 libxcb-image0-dev
Development Libraries libgl1-mesa-dev libglu1-mesa-dev libxrender-dev libfontconfig1-dev
Other Useful Tools pkg-config git cmake

Required Permissions

You require admin privileges to perform the steps of installation.

Installation Steps

The steps of installation are as follows:

  1. Install the latest version of Ubuntu.
  2. Follow this tutorial to configure your machine.
  3. Setup Qt development environment by downloading the latest version of Qt. At the time of writing this document, the MRS Display has Qt 5.12.9 installed. Navigate to this link to find the steps to install Qt5 in Ubuntu.
Important
Depending on your deployment strategy, you can either purchase Qt Commercial or begin development using the Open-source version of Qt, which is free. Consult your lawyers regarding the suitable version for your application.
  1. Run the installer to begin the installation process.
Information
To attain the steps to set up a cross-compile toolchain for Qt to allow the deployment of application to the Display, contact MRS Electronic.

The development environment is now all set.