Start by installing a few packages:
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:
sudo apt install build-essential qtcreator qt6-base-devhttps://github.com/AndrewFromMelbourne/qtsize
Code:
git clone https://github.com/AndrewFromMelbourne/qtsize.gitcd qtsizemkdir buildcd buildcmake ..makeStatistics: Posted by AndyD — Fri Feb 13, 2026 8:32 am