Skip to content

elfpipe/amiga-qt6

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

amiga-qt6

Qt 6.2.0 for AmigaOS 4.1 Final Edition - with optional support for OpenGLES2

About the project

First of all, note that the repository structure and the workflow on this repository is probably not standardized correctly. This is mainly due to the inexperience of the development team at the point of entry and not at all due to evil intent, lazyness etc.

For instance, it would not be easy or even possible to merge these changes into the main qtbase repo at this point. Also, the base of development is not any of the version tags of the original qtbase, but rather some inbetween version. It would require some amount of footwork to organize this more conveniently, and the developers absolutely intend to do this at some point. Until then, regard this as a state of the development, trying its best to adhere to normative needs of the qt developer cycle.

Build instructions

You need a clib4 compliant version of adtools and a gcc version later than 8 to build this.

Also needed in the SDK:

  • ICU
  • openSSL
  • ogles2

Configure and build on linux

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.

Shared object dependencies

To run Qt6 apps on OS4.1, you probably need to update the following files from adtools into SYS:sobjs/

  • libatomic.so
  • libgcc.so
  • libstdc++.so
  • libc.so

Remember to backup your files accordingly.