[email protected] wrote:
>> QDeclarativeEngine::importPlugin "Qt.multimedia" from
>> "C:/Qt/qtcreator-1.3.83/bin/Qt/multimedia/multimedia.dll"
> 
> This is the real problem: multimedia.dll is being found in
> you Qt Creator bin directory. Sorry, no idea why. 

Because he has launched 'tvtennis' probably with the qmlviewer bundled with 
creator, 
which comes along with it's own multimedia.dll library, placed in the 
application
directory.

His own app, however, has it's own main.cpp, isn't stored in 
C:/Qt/qtcreator-1.3.83/bin, and therefore the multimedia.dll isn't picked up 
either.

> So really,
> neither should work, and the Qt Creator guys should fix this
> terrible bug that it works for you at all ;-)
>
> The import path should already be set in the Qt library you
> link against, but quite certainly there have been builds
> where this was not the case.

The order in which import libraries are searched is right now:

 1. QApplication::applicationDirPath()
 2. $QML_IMPORT_PATH (environment variable)
 3. QLibraryInfo::ImportsPath (usually $QTDIR/imports)


Kai

-- 
Kai K?hne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Gesch?ftsf?hrer: Dr. Michael Halbherr, Karim T?htivuori

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

Reply via email to