SOLVED: Fail to load custom plugin (Symbian, Qt 4.6.3, 4.7.1)



  • I solved this issue. On Windows I have some configuration problems, and somehow the build environment produced the windows DLL instead of Symbian DLL (in binary MZ format). But I also tried to build this on Linux development environment (used gnupoc utilites) and found, that elf2e32 from CSL GCC package produces wrong plugin dll. Putting the original elf2e32.exe from SDK fixed that problem and now everything works fine.

    ORIGINAL POST:

    Hello,

    I tried to create custom Qt plug-in and use it. I used Nokia's knowledge base articles for reference ("Implementing the Qt plug-in interface":http://wiki.forum.nokia.com/index.php/CS001391_-_Implementing_the_Qt_plug-in_interface etc.). But I continuously ends up with KERN-EXEC 3 panic when I try to get the plugin instance. My test project works perfectly on Linux, but fails on Nokia 5800 and Nokia N8 with Qt 4.6.3 and Qt 4.7.1 installed.

    You can download my project (both plug-in and test application) from here: "http://bit.ly/fOLTRh":http://bit.ly/fOLTRh

    Can anyone tell me where is my problem ?

    Thanks in advance.

    Best regards,
    Vasyl



  • maybe there's some functions that are not supported by Symbian OS



  • When I implemented one Qt plugin, I had hard time deploying it correctly to a Symbian device. Try to get hold of a file browser that allows you to look into protected folders and try and see, if your plugin was correctly deployed.



  • Mohsen,

    [quote author="mohsen" date="1294987902"]maybe there's some functions that are not supported by Symbian OS[/quote]

    I don't think so, because I am able to get other plug-ins instances (which are supplied with Qt), so plug-ins should be supported by the system.

    -Vasyl



  • Fuzzbender,

    I analyzed the sis contents, and looks like it installs in the correct paths:

    c:\resource\qt\plugins\exampleplugins\echoplugin.qtplugin
    c:\sys\bin\echoplugin.dll

    Also I've tried to add all Symbian Signed capabilities to the plugin and checked the .def file for exports. Everything are seemed to be ok.

    -Vasyl

    [quote author="Fuzzbender" date="1294992704"]When I implemented one Qt plugin, I had hard time deploying it correctly to a Symbian device. Try to get hold of a file browser that allows you to look into protected folders and try and see, if your plugin was correctly deployed.[/quote]



  • Hmm... Which version of Qt you are using to build the plugin ?
    http://bugreports.qt.nokia.com/browse/QTBUG-9287 would cause Kern-Exec 3.

    Also check that the buildkey doesn't contain compiler name and version. This issue was fixed at some point but didn't find the corresponding bug report. Symptom is that plugin fails to load.


Log in to reply
 

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