[SailfishDevel] dqml - Sailfish.Silica is not installed

Schneck, Dennis dennis.schneck at schulergroup.com
Fri Jul 1 07:17:32 UTC 2016


If i understand right:

export QML_IMPORT_TRACE=1
export QT_DEBUG_PLUGINS=1 t


export
QML2_IMPORT_PATH=/home/username/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml/Sailfish/Silica
QML2_IMPORT_PATH


but got error: "file:///home/developer/untitled2/qml/untitled2.qml:32
module \"Sailfish.Silica\" is not installed\n"




Am 01.07.2016 um 08:58 schrieb Chris Adams:
> Hi Dennis,
> 
> Most likely you need to set QML2_IMPORT_PATH to point to wherever you have installed the Sailfish Silica QML plugin.
> 
> You can use QML_IMPORT_TRACE=1 and QT_DEBUG_PLUGINS=1 to get more information.
> 
> Cheers,
> Chris.
> 
> ________________________________________
> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Schneck, Dennis [dennis.schneck at schulergroup.com]
> Sent: Friday, July 01, 2016 4:20 PM
> To: Sailfish OS Developers
> Subject: [SailfishDevel]  dqml - Sailfish.Silica is not installed
> 
> Chirs,
> what i need to do to set PATH for Sailfish.Silica
> because the dqml  say  Sailfish.Silica is not installed
> thanks
> 
> 
> 
> Am 01.07.2016 um 08:00 schrieb Schneck, Dennis:
>>
>> Hi Chris,
>> thanks a lot!
>>
>>
>>
>> Am 01.07.2016 um 07:58 schrieb Chris Adams:
>>> Hi Dennis,
>>>
>>> https://github.com/sletta/dqml
>>>
>>> Cheers,
>>> Chris.
>>>
>>> ________________________________________
>>> From: devel-bounces at lists.sailfishos.org [devel-bounces at lists.sailfishos.org] on behalf of Schneck, Dennis [dennis.schneck at schulergroup.com]
>>> Sent: Friday, July 01, 2016 3:43 PM
>>> To: Sailfish OS Developers
>>> Subject: [SailfishDevel] dqml - where can i get it ?
>>>
>>> Hello,
>>> i am using Manjaro Linux 16.06.1 xfce + SailfishOSSDK-Beta-1602.
>>>
>>> Saw the Video from: Joona Petrell on Youtube (see at the end).
>>>
>>> Where can i get the "dqml" to view the qml Code running ?
>>>
>>> Thanks
>>>
>>>
>>> https://www.youtube.com/watch?v=jByW7UNmbxU
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>>> _______________________________________________
>>> SailfishOS.org Devel mailing list
>>> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
>>>
>>
> 
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to devel-unsubscribe at lists.sailfishos.org
> 

-------------- next part --------------

[username at sailfishsdk qml]$ dqml untitled2.qml 
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforms" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqeglfs.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqeglfs.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "eglfs"
        ]
    },
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("eglfs")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqlinuxfb.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqlinuxfb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "linuxfb"
        ]
    },
    "className": "QLinuxFbIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("linuxfb")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimal.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimal.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimal"
        ]
    },
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("minimal")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqminimalegl.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqminimalegl.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "minimalegl"
        ]
    },
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("minimalegl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqoffscreen.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqoffscreen.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "offscreen"
        ]
    },
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("offscreen")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforms/libqxcb.so"
Found metadata in lib /usr/lib/qt/plugins/platforms/libqxcb.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
        "Keys": [
            "xcb"
        ]
    },
    "className": "QXcbIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("xcb")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/bin/platforms" ...
loaded library "/usr/lib/qt/plugins/platforms/libqxcb.so"
loaded library "Xcursor"
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/xcbglintegrations" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/xcbglintegrations/libqxcb-egl-integration.so"
Found metadata in lib /usr/lib/qt/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_egl"
        ]
    },
    "className": "QXcbEglIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("xcb_egl")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
Found metadata in lib /usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5",
    "MetaData": {
        "Keys": [
            "xcb_glx"
        ]
    },
    "className": "QXcbGlxIntegrationPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("xcb_glx")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/bin/xcbglintegrations" ...
loaded library "/usr/lib/qt/plugins/xcbglintegrations/libqxcb-glx-integration.so"
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platformthemes" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platformthemes/libqgtk2.so"
Found metadata in lib /usr/lib/qt/plugins/platformthemes/libqgtk2.so, metadata=
{
    "IID": "org.qt-project.Qt.QPA.QPlatformThemeFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "gtk2"
        ]
    },
    "className": "QGtk2ThemePlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("gtk2")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/bin/platformthemes" ...
loaded library "/usr/lib/qt/plugins/platformthemes/libqgtk2.so"
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/platforminputcontexts" ...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
Found metadata in lib /usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "compose",
            "xim"
        ]
    },
    "className": "QComposePlatformInputContextPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("compose", "xim")
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so"
Found metadata in lib /usr/lib/qt/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1",
    "MetaData": {
        "Keys": [
            "ibus"
        ]
    },
    "className": "QIbusPlatformInputContextPlugin",
    "debug": false,
    "version": 329217
}


Got keys from plugin meta data ("ibus")
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/bin/platforminputcontexts" ...
loaded library "/usr/lib/qt/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so"
running in local mode with "untitled2.qml"
QQmlImportDatabase::addImportPath: "/usr/lib/qt/qml"
QQmlImportDatabase::addImportPath: "/home/developer/SailfishOS/mersdk/targets/SailfishOS-i486/usr/lib/qt5/qml/Sailfish/Silica"
QQmlImportDatabase::addImportPath: "/usr/lib/qt/bin"
dqml: reloading...
QQmlImports(file:///home/developer/untitled2/qml/untitled2.qml)::addLibraryImport: "QtQuick" 2.0 as ""
QQmlImports(file:///home/developer/untitled2/qml/untitled2.qml)::importExtension: loaded "/usr/lib/qt/qml/QtQuick.2/qmldir"
Found metadata in lib /usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so, metadata=
{
    "IID": "org.qt-project.Qt.QQmlExtensionInterface/1.0",
    "MetaData": {
    },
    "className": "QtQuick2Plugin",
    "debug": false,
    "uri": [
        "QtQuick.2"
    ],
    "version": 329217
}


loaded library "/usr/lib/qt/qml/QtQuick.2/libqtquick2plugin.so"
QQmlImportDatabase::registerPluginTypes: "QtQuick" from "/usr/lib/qt/qml/QtQuick.2"
QQmlImports(file:///home/developer/untitled2/qml/untitled2.qml)::addFileImport: "pages" -1.-1 as ""
dqml: loaded url..
"file:///home/developer/untitled2/qml/untitled2.qml:32 module \"Sailfish.Silica\" is not installed\n"
dqml: tracking "current-directory" "/home/developer/untitled2/qml"
dqml:  - ignoring "."
dqml:  - ignoring ".."
dqml:  - tracking file "untitled2.qml" 1467349882000
dqml:  - ignoring "cover"
dqml:  - ignoring "pages"
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/plugins/accessiblebridge" ...
QFactoryLoader::QFactoryLoader() checking directory path "/usr/lib/qt/bin/accessiblebridge" ...


More information about the Devel mailing list