[maemo-developers] QtComponents and qmlviewer on N900

From: Thomas Perl th.perl at gmail.com
Date: Thu Aug 18 22:09:05 EEST 2011
Hi,

2011/8/18 mece <mece66 at gmail.com>:
> I'm trying to get a QtQuick app I made for Harmattan to work on N900 with
> qmlviewer, and ran into some trouble.
> [...]
> Here's the error message:
> file:///home/user/tmp/qml/main.qml:1:1: plugin cannot be loaded for module
> "QtQuick": Cannot load library
> /usr/lib/qt4/imports/QtQuick/libQtQuickCompat.so:
> (/usr/lib/qt4/imports/QtQuick/libQtQuickCompat.so: undefined symbol:
> _ZNK21QDeclarativeListModel4dataEiRK5QListIiE)

You have the Qt Quick Compatibility module installed (the one that
allows you to "import QtQuick 1.0" even on 4.7.0). It's part of the
"mcsp" package:

http://maemo.org/packages/view/mcsp/

The problem is that your libQtQuickCompat.so is compiled against a
different version of Qt (that's why you get the "undefined symbol"
error). Try removing this package (and "qtquickcompat" if it's
installed) and it should work again - or at least not fail with that
error :)

HTH.
Thomas
More information about the maemo-developers mailing list