Okay, here's what I've learned so far....
1) download QT4.7 from
OS4 Depot. Decompress & Install it.
2) Run the QTprefs program in sys:prefs and set:
Native Menus (ON)
Native Dialogs (ON)
Native Paint engine (ON)
Native Fonts (OFF)
3) Add these files: .qmake.cache and .qmake.var from the link previously listed
HERE to the root of the QT-4.7 directory.
4) Ensure that the qt-4.7/bin moc command has the execute bit set
5) Add the path command:
setenv PATH $PATH:/qt/bin
to the end of startup-sequence, save and reboot
To build a QT application;
a) open a shell
b) Set stack to 2000000
c) cd to the directory of your source code you want to build
d) type "qmake"
e) type "gmake"
At this point, I am getting an error when linking with the symbol "protected" as follows:
/SDK/newlib/include/sys/select.h:80: error: expected ',' or '...' before 'protected'
gmake: *** [imagewidget.o] Error 1
Your solution for this is: Solution: Just put an underscore in front of the word "signals", ie. "_signals". This you will have to do in three places (you will be told by the compiler where to look). (i.e. search your source for signals and change to _signals), then run qmake/gmake again!
You should now be able to build many QT applications.
Great work alfkil! This is awesome!
Scott