Install aqt https://github.com/miurahr/aqtinstall/
pip install aqtinstall
List Qt versions
aqt list-qt linux desktop
Install Qt
aqt install-qt linux desktop 6.2.1
Add to the end of .profile
:
export PATH="$PATH:$HOME/6.2.1/gcc_64/bin"
In windows
%USERPROFILE%\6.2.1\mingw81_64\bin\
Install libGL
sudo apt install libgl-dev
Install clang-format
pip install clang-format
Create config
clang-format -style=google -dump-config > .clang-format
Format code
clang-format -i window.cpp
Download and add upx
to PATH
https://github.com/upx/upx/releases
Compile file bat
@echo off
clang-format -i %1 && g++ %1 -o out_c -s -Os && upx --best --ultra-brute -q -q -q out_c.exe && out_c.exe
where %1
is source file name