Hi Conny,
>-----Original Message----- >From: [email protected] [mailto:qt-mobility- >[email protected]] On Behalf Of ext Cornelius Hald >I have a geoservice plugin and it's working fine if I put it into >$QTDIR/plugins/geoservices/ or if I link it statically. > >But if I put it into $APPROOT/geoservices/ it is not loaded. To me it >looks like all path besides the Qt and the QtMobility installation paths >are ignored. > >I'm using Qt 4.7 and QtMobility 1.1.0 > >Here is some debug output with QT_DEBUG_PLUGINS=1: > >Plugin paths: ("/usr/lib/kde4/plugins", >"/usr/local/Trolltech/Qt-4.7.0/plugins", >"/home/conny/workspace/cuteschall-desktop", >"/home/conny/workspace/stuff", >"/home/conny/tmp/repos/qt-mobility/install/plugins") > >// Paths are OK > >Looking for "geoservices" plugins in >"/usr/local/Trolltech/Qt-4.7.0/plugins/geoservices" >("libqtgeoservices_nokia.so") >Looking for "geoservices" plugins in >"/home/conny/tmp/repos/qt-mobility/install/plugins/geoservices" () > >// It should have looked also in the other 2 paths > >Dynamic: found a service provider plugin with name "nokia" > >// Good, but missed my plugin... The relevant code is in src/global/qmobilitypluginsearch.h. The location library includes this header for its plug-in logic: inline QStringList mobilityPlugins(const QString& plugintype) There are a couple of dir.exists() calls which might cause some paths to be skipped. This is of particular importance if your plug-in is not in a subdirectory called "plugins/geoservices". What's the absolute path of the directory where your plug-in can be found? -- Alex _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
