Works! I compiled Qt Mobility from source by following this guide on my Debian installation.
I did:
sh ./configure -prefix /FULL/PATH/TO/QtSDK/Desktop/Qt/474/gcc
make
make install
I had to install a few development libraries (OpenGL, ALSA, etc...) for make to finish successfully but eventually everything worked.
Added this to my .pro file:
CONFIG += mobility
MOBILITY += connectivity
and ran into some undefined reference trouble and Qt not finding the libraries, but I just messed around for a while then had to run qmake and rebuild the project and everything worked.
Thanks Marco!
EDIT:
I forgot to mention an important step, you need to copy these 2 files:
mobility.prf
mobilityconfig.prf
otherwise QtCreator won't find the header files.
I copied my prf files from:
PATH/TO/SDK/QtSDK/Madde/sysroots/harmattan-meego-arm-sysroot-1134-slim/usr/share/qt4/mkspecs/features
to:
PATH/TO/SDK/QtSDK/Desktop/Qt/474/gcc/mkspecs/features/
Then ran qmake, rebuilt the project and it worked!
Bookmarks