This solution worked! Thanks!

  Arto

[email protected] wrote:
> Hi Arto,
> 
> I'm finished with the investigation and I've run in the same error like you 
> until I've added the QtMobility library path to my Path variable in Windows.
> 
> The declarative-location.dll has dependencies to the QtLocation from 
> QtMobility. To check if you have the PATH right please use the depends tool 
> attached to this EMail. Start  the depends.exe and drag and drop the 
> declarative_location.dll. If you see QTLOCATION1.DLL in a yellow icon, then 
> windows can't find the QTLOCATION1.dll. Therefore you need to modify your 
> PATH variable by adding the QtMobility lib path.
> Depends.exe should find all dll starting with Qt. 
> 
> After that there can be some other errors happening.
> If Qt is build only with release or only debug QtMobility must be build in 
> the same way.
> The plugin loader contains a check and if Qt is Build in release mode then 
> only QtMobility plugins build in release mode will be loaded. The same check 
> happens with debug if Qt is build in debug mode.
> 
> Please check the following points.
> 
> 1. For the mapviever qml example you need to have the following files 
> available:
> release: QTMOBILITY_PREFIX\lib\QtLocation1.dll
> debug: QTMOBILITY_PREFIX\lib\QtLocationd1.dll
> QTMOBILITY_PREFIX\bin\mapviewer.qml
> release: QTMOBILITY_PREFIX\plugins\geoservices\qtgeoservices_nokia.dll
> debug: QTMOBILITY_PREFIX\plugins\geoservices\qtgeoservices_nokiad.dll
> QT\imports\QtMobility\location\declarative_location.dll (release version size 
> arround 226KB or check with depends.exe. The library name will not differ 
> between release and debug)
> 
> 2. Check if all Qt libraries can be found by loading
> declarative-location.dll  in depends.exe. Check further if debug or release 
> library are used.
> Qt Libraries ending with d4.dll or d1.dll are debug versions.
> 
> 3. Check if all Qt libraries can be found by loading
> qtgeoservices_nokia.dll in depends.exe if point 2 was release.
> Otherwise load qtgeoservices_nokiad.dll.
> 
> Try to load the QTMOBILITY_PREFIX\bin\mapviewer.qml example with qmlviewer.exe
> Hope that will help, if not please don't hesitate to write back.
> 
> Cheers,
>  WB

_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback

Reply via email to