﻿[setup environment]
we have to rebuild Qt for static linking
get Qt 4.5 here http://www.qtsoftware.com/downloads

Linux (Ubuntu 8.04):
install: libqt4-dev
install: libgtk2.0-dev

Mac OS X
install: xcode

[qt compile config]
Windows:
configure -release -static -no-exceptions -no-accessibility -no-stl -no-phonon -no-webkit -no-scripttools -no-3dnow -no-sse -no-sse2 -no-openssl -no-rtti -qt-style-windowsvista -qt-style-plastique -qt-style-cleanlooks -no-style-motif -no-style-cde

Linux:
configure -release -static -no-exceptions -no-accessibility -no-stl -no-phonon -no-svg -no-webkit -no-scripttools -no-3dnow -no-sse -no-sse2 -no-openssl -no-opengl -sm -xinerama -xcursor -xfixes -xrandr -xrender -fontconfig -gtkstyle -nomake examples -nomake demos -nomake tools

Mac OS X:
configure -release -static -no-exceptions -no-accessibility -no-stl -no-phonon -no-svg -no-webkit -no-scripttools -no-3dnow -no-sse -no-sse2 -no-openssl -no-dwarf2 -nomake examples -nomake demos -nomake tools

make
make install

[compile MAMEPGUI]
lrelease mamepgui.pro
qmake
make
