Summary
( verified again new clean setup )
RPIOS desktop 64bit comes preinstalled with:
g++
makefile ( must use [tab] instead spaces [ ][ ][ ] )
hello_world.cpp
and the command
make
and to run it by call the created target:
./hello_world
get a text in that terminal.
for GUI app ( Qt6 C++ ) and
if have external source code example ( like above AndyD: qtsize )
need:cmake ..
make
./qtsize
but sure you want design your own app like with:( better restart )
[menu] [Programming] [QT Creator]
[Create Project] [Application (Qt)] [Qt Widgets Application] [Choose]
Location: 'qtstart' /home/pi/Projects/CPP [default yes] [Next]
[Next][Next][Next][Next][Next][Finish]
[build][Run]
get a terminal window and a empty app window
now try
[Forms] [mainwindow.ui] double click to open in Design Mode
( verified again new clean setup )
RPIOS desktop 64bit comes preinstalled with:
g++
makegcc version 14.2.0 (Debian 14.2.0-19)
so with 2 project filesGNU Make 4.4.1
makefile ( must use [tab] instead spaces [ ][ ][ ] )
hello_world.cpp
and the command
make
can make a C++ terminal app ( without any installation )g++ hello_world.cpp -o hello_world
and to run it by call the created target:
./hello_world
get a text in that terminal.
for GUI app ( Qt6 C++ ) and
if have external source code example ( like above AndyD: qtsize )
need:
Code:
sudo apt install cmake qt6-base-dev qt6-waylandmake
./qtsize
but sure you want design your own app like with:
Code:
sudo apt install qtcreator[menu] [Programming] [QT Creator]
[Create Project] [Application (Qt)] [Qt Widgets Application] [Choose]
Location: 'qtstart' /home/pi/Projects/CPP [default yes] [Next]
[Next][Next][Next][Next][Next][Finish]
[build][Run]
get a terminal window and a empty app window
now try
[Forms] [mainwindow.ui] double click to open in Design Mode
Statistics: Posted by PiPlay — Sat Feb 14, 2026 9:28 am