QT_RESIZE – Automatic Qt GUI Auto-Scaling Code Generator for QWidget Applications
-
Hello Qt Developers,
I developed a utility called QT_RESIZE that helps convert fixed-size Qt Designer interfaces into dynamically scalable and responsive QWidget-based GUIs.
The tool is designed mainly for legacy Qt applications where widgets were placed using fixed geometries instead of layouts.
Hello Qt Developers,
I created a utility called QT_RESIZE that automatically generates responsive resize code for QWidget-based Qt applications.
The tool scans Qt Designer .ui files and generates:
Widget geometry extraction
QMap<QWidget*, QRect> initialization
Dynamic resizeEvent() scaling code
Automatic proportional widget resizingUseful for legacy Qt projects that use fixed widget geometries instead of layouts.
Supports
Qt 5 / Qt 6
QWidget applications
Windows & Embedded Linux
Workflow
Place EXTRACT_UI_ELEMENTS.exe in the Qt project folder
Run the tool
Generated resize code is created automaticallyAvailable as a commercial utility :
https://github.com/pariposh/QT_RESIZE -
S SGaist moved this topic from Qt Creator and other tools