With MeeGo 1.1, when compiling MeeGo Touch Framework applications, you may see the following error:
Undefined reference to QDataStream... Undefined reference to QWidgetPrivate... Undefined reference to QObjectPrivate... ...
This is because a different version of Qt has been installed on your system which is being used instead of the MeeGo version.
Ensure Qt Creator finds the MeeGo Qt libraries in sysroot first.
Below, $sysroot should be replaced with the directory for the target you are working on, usually in /usr/lib/madde/linux-${arch}/sysroots/
Option 1:
Edit $sysroot/usr/share/qt4/mkspecs/features/meegotouch_common.prf
Delete the line:
unix: QMAKE_LFLAGS += $${QMAKE_LFLAGS_RPATH}$${M_LIB_DIR}
Option 2:
Edit $sysroot/usr/share/qt4/mkspecs/linux-g++/qmake.conf
Add the line:
QMAKE_LFLAGS += -Wl,-rpath-link,$sysroot/usr/lib