I have been trying to get Qt X11 cross compiled for PowerPC for a while now and kept having various problems.
From the information given my Qt support, all one needs to do is:
- Create a new mkspec
- Copy an existing directory in
mkspec/
I used linux-g++ and modified it.
- Copy an existing directory in
- Modify qmake.conf to use your toolchain, libraries and includes
Run the following configure command:
./configure -arch <your arch> -xplatform <your mkspec> -prefix <where you want Qt installed> <other options>
After configure is done, run
make
thenmake install
. You'll find Qt installed in the directory you specified in the-prefix
option.
Had all kinds of problems doing this. My solution in the answers section.