Symbian - Unable to qml plugin



  • I have created a QML plugin. sample.qml which uses Qt component. on symbian device, qt component plugins are getting loaded, however for sample plugin, getting an error

    @
    [Wed Jun 29 2011 15:24:04] QDeclarativeImports(qrc:///testapp.qml)::addImport: "." -1.-1 File as ""
    [Wed Jun 29 2011 15:24:04] QDeclarativeImports(qrc:///testapp.qml)::addImport: "Qt" 4.7 Library as ""
    [Wed Jun 29 2011 15:24:04] QDeclarativeImports(qrc:///testapp.qml)::addImport: "com.nokia.symbian" 1.0 Library as ""
    [Wed Jun 29 2011 15:24:04] QDeclarativeImports(qrc:///testapp.qml::importExtension: loaded "C:/resource/qt/imports/com/nokia/symbian/qmldir"
    [Wed Jun 29 2011 15:24:04] QDeclarativeImportDatabase::importPlugin: "com.nokia.symbian" from "C:/resource/qt/imports/com/nokia/symbian/symbianplugin_1_0.qtplugin"
    [Wed Jun 29 2011 15:24:05] QDeclarativeImports(qrc:///testapp.qml)::addImport: "Qt.labs.components" 1.0 Library as ""
    [Wed Jun 29 2011 15:24:05] QDeclarativeImports(qrc:///testapp.qml::importExtension: loaded "C:/resource/qt/imports/Qt/labs/components/qmldir"
    [Wed Jun 29 2011 15:24:05] QDeclarativeImportDatabase::importPlugin: "Qt.labs.components" from "C:/resource/qt/imports/Qt/labs/components/qtcomponentsplugin_1_0.qtplugin"
    [Wed Jun 29 2011 15:24:05] QDeclarativeImports(qrc:///testapp.qml)::addImport: "com.test.sample" 1.0 Library as ""
    [Wed Jun 29 2011 15:24:05] QDeclarativeImports(qrc:///testapp.qml::importExtension: loaded "C:/resource/qt/imports/com/test/sample/qmldir"
    [Wed Jun 29 2011 15:24:05] QDeclarativeImportDatabase::importPlugin: "com.test.sample" from "C:/resource/qt/imports/com/test/sample/mySamplePlugin.qtplugin"
    [Wed Jun 29 2011 15:24:05] qrc:///testapp.qml:4:1: plugin cannot be loaded for module "com.test.sample": The file 'C:/resource/qt/imports/com/test/sample/mySamplePlugin.qtplugin' is not a valid Qt plugin.
    @

    mySamplePlugin.qtplugin contains

    @
    This file is a Qt plugin stub file. The real Qt plugin is located in /sys/bin. Created:2011-06-29T14:35:52
    @

    However same application works on windows.

    How do i debug whats going wrong ?



  • Hi, did you found the solution? I'm having same error
    Thanks



  • what operating did you used? .. If windows 7 you will really encountered that. There are some programs that will be error in window 7..

    if you use windows 7 what is the bit 32bit or 64bit?..



  • I am using Windows 7 32 bit. I think I have working code before. Not sure why it's related to Windows 7.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.