User Tools

Site Tools




COMFILE Technology does not provide technical support for Visual Studio. Contact the Microsoft directly.

C/C++ (Remote Compiling)

Microsoft has had Linux software development tooling in Visual Studio since Visual Studio 2015.

The Visual Studio Linux Features do not inherently support cross-compiling on a Windows PC. Instead, Visual Studio will upload the the source files to the ComfilePi, and use the ComfilePi's toolchain to build the executable. The executable is then executed on the ComfilePi, and the Visual Studio Remote GDB Debugger attaches to it.

  1. Install Visual Studio Linux Features - How to install the Linux Development Features in Visual Studio 2015, 2017, 2019, and 2022.
  2. Create a Linux Project - How to create a new Visual Studio Project for Linux Development

For more information about using Visual Studio for Linux software development, see the Visual C++ Linux Documentation.

C++ with Qt (Cross-Compiling)

The Qt Company has released a product called Qt Visual Studio Tools to enable Qt development and cross-compiling from a Windows PC to a Linux embedded system like the ComfilePi.

See the Build and debug Qt on Linux with Qt Visual Studio Tools blog post for details

To install the latest Qt release on the ComfilePi run the following commands in a terminal:


sudo apt-get update
sudo apt-get install qt5-default qtbase5-examples qt5-doc qt5-doc-html qtbase5-doc-html


sudo apt-get update
sudo apt-get install qtbase5-dev qtbase5-examples qtbase5-doc qtbase5-doc-html

Additional Qt libraries can be installed using libqt5* and qt* package names.

NOTE: COMFILE Technology does not provide technical support for Qt; please contact The Qt Company for support.

ComfilePi - Industrial Raspberry Pi Panel PC

comfilepi/cplusplus/index.txt · Last modified: 2023/01/25 15:22 by COMFILE Technology