I'm building QtMobility (just multimedia) on Windows. I've using 1.0.2 with Qt 4.6.2 but I've also tried the same test with 1.1.0-tp and Qt 4.6.3.
Everything builds OK and my release version runs fine. But for either the debug version, I get messages like this when it tries to load the plugins: QMediaPluginLoader: Failed to load plugin: "C:/QtMobility/plugins/mediaservice/dsengine.dll" "The plugin 'C:/QtMobility/plugins/mediaservice/dsengine.dll' uses incompatible Qt library. Expected build key "Windows msvc debug full-config", got "Windows msvc release full-config"" Somehow, it seems, the path for the plug-in is being hard coded into the DLLs. But what's strange is that the hard coded path is not used all of the time. If I do not put the 'mediaservice' plug-in directory in the same directory as my .exe, then it simply says the media service cannot be found (as a log message when I run the .exe). This is as expected. On the other hand, if I put the media service plug-in directory into the same folder, it finds the plug-ins, but then seems to do another check that results in the error message above. Finally, if I put the debug versions of the plug-ins (see below) into C:/QtMobility/plugins/mediaservice and remove the release versions, then things work OK for the debug version and I have the symmetric problem with the release version. On debug plug-ins: When I do this: configure -modules multimedia nmake nmake install It will build the whole project in debug and release form, except for the plug-ins which only get built in release (not debug) form. To build the plug-ins in debug form, I do: nmake debug Bottom line... what am I missing about the installation procedure? What is the proper technique to build the plug-ins? What key magic ingredient am I missing here? _______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-mobility-feedback
