Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8609

C/C++ • Re: first C++ Qt setup

$
0
0
Start by installing a few packages:

Code:

sudo apt install build-essential qtcreator qt6-base-dev
I have a very simple piece of C++ code that creates a MainWindow and displays the size of the window size in pixels. It updates as the window is resized.

https://github.com/AndrewFromMelbourne/qtsize

Code:

git clone https://github.com/AndrewFromMelbourne/qtsize.gitcd qtsizemkdir buildcd buildcmake ..make

Statistics: Posted by AndyD — Fri Feb 13, 2026 8:32 am



Viewing all articles
Browse latest Browse all 8609

Trending Articles