Important: Please read the Qt Code of Conduct -

Module "" not found - qt-mobility-opensource-src-1.1.0 - a cleaner way?

  • Windows XP

    While playing with declarative-music-browser I was missing the
    QML editor says "package not found".
    After reading this
    "QML Modules":
    I figure out that this module is not installed - I must have done sth wrong while installing qtmobility, enen though I followed the
    "Mobility Installation Guide":
    very strictly.
    I set up the QML_IMPORT_PATH to
    and set up the QML_IMPORT_TRACE to 1

    than it showed me this

    QDeclarativeImportDatabase::addImportPath: "C:\temp\Qt\4.7.1\imports"
    QDeclarativeImportDatabase::addImportPath: "c:\temp\Qt\qt-mobility-opensource-src-1.1.0\qt-mobility-opensource-src-1.1.0\plugins\declarative\gallery"
    QDeclarativeImportDatabase::addImportPath: "C:/temp/Qt/qt-mobility-opensource-src-1.1.0/qt-mobility-opensource-src-1.1.0/examples/declarative-music-browser-build-desktop/release"
    QDeclarativeImports(qrc:///musicbrowser.qml)::addImport: "." -1.-1 File as ""
    QDeclarativeImports(qrc:///musicbrowser.qml)::addImport: "Qt" 4.7 Library as ""
    QDeclarativeImports(qrc:///musicbrowser.qml)::addImport: "" 1.1 Library as ""
    QDeclarativeImports(qrc:///musicbrowser.qml::importExtension: loaded "C:/temp/Qt/4.7.1/imports/QtMobility/gallery/qmldir"
    QDeclarativeImportDatabase::resolvePlugin: Could not resolve plugin "declarative_gallery" in "C:/temp/Qt/4.7.1/imports/QtMobility/gallery"
    qrc:///musicbrowser.qml:42:1: module "" plugin "declarative_gallery" not found
    @ I figured what directories it is looking for gallery qmldir .A and .DLL files; and copied the whole directory

    and than copied .A and .DLL
    from gallery\release
    to QtMobility\gallery

    And after that declarative-music-browser started working.
    However QML editor still says: "package not found" for 1.1

    So my questions would be:
    Is there a cleaner way for the modules to be included?
    What do I have to do for the QML editor not to moan anymore?


  • This post is deleted!

Log in to reply