Qt 6.2.0 for AmigaOS 4.1 Final Edition - with optional support for OpenGLES2
First of all : Do not try to build on AmigaOS. Get Ubuntu and go to this page :
https://github.com/sba1/adtools
Follow the instructions here to set up the adtools cross toolchain. Qt6 is known to build and work with gcc 9 and 11.
In order to cross-build Qt6 for amiga, you need a Qt6 host install. If you are lucky then
sudo apt install qt6-base-dev
will get you, what you need.
If successful, you might need to edit amiga-qt6/configure-amiga.sh in the following way :
DQT_HOST_PATH='edit this part to point to your Qt6 host install'
You also need an up-to-date version of cmake. Google 'install cmake ubuntu' to find instructions of that, in case there is not already a working version of cmake on your system.
The following steps will build the amiga version :
git clone https://github.com/alfkil/amiga-qt6.git
mkdir qt6-amiga-build
cd qt6-amiga-build
../amiga-qt6/configure-amiga.sh
make
sudo make install
This will install Qt6 into /qt6-amiga (in the root of your linux machine).
You need to copy this entire directory unto your amiga hd and create
assign qt6-amiga: yourhd:yourpath
on the amiga side.
Also you need to copy your truetype fonts from FONTS:_TrueType/ and into
qt6-amiga:lib/fonts
Qt6 will warn you of this last step, if you forget.
To run Qt6 apps on OS4.1, you probably need to update the following files from adtools into SYS:sobjs/
Remember to backup your files accordingly.
Qt6 for amiga is known to work with the following setup :
cd into the source directory containing the .pro file. Then do:
/qt6-amiga/bin/qmake
make
Transfer the resulting executable to the amiga and test. Good luck :).