1 # This script sets up variables for cross-compilation of KDE 4 + tilibs programs to MinGW.
2 # It assumes a KDE 4+ development environment installation and the tilibs from TiEmu 3.
3 export CC
=i386-mingw32-gcc
4 export CXX
=i386-mingw32-g
++
5 export RC
=i386-mingw32-windres
6 export KDEPREFIX
=~
/.wine
/c
/kde4
7 TIEMUPREFIX
=~
/.wine
/c
/tiemu
8 #export C_INCLUDE_PATH=$KDEPREFIX/include:$TIEMUPREFIX/include:/usr/local/i386-mingw32/include
9 #export LIBRARY_PATH=$KDEPREFIX/lib:$TIEMUPREFIX/lib:/usr/local/i386-mingw32/lib/w32api:/usr/local/i386-mingw32/lib
10 export PKG_CONFIG_PATH
=/usr
/local
/i386-mingw32
/lib
/pkgconfig
:$KDEPREFIX/lib
/pkgconfig
:$TIEMUPREFIX/lib
/pkgconfig
:/target
/lib
/pkgconfig
11 export QMAKESPEC
=win32-cross-g
++