Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. SOLVED: Fail to load custom plugin (Symbian, Qt 4.6.3, 4.7.1)
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Mobile and Embedded
6 Posts 4 Posters 3.9k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vasylp
    wrote on last edited by
    #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

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mohsen
      wrote on last edited by
      #2

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

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Fuzzbender
        wrote on last edited by
        #3

        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.

        1 Reply Last reply
        0
        • V Offline
          V Offline
          vasylp
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          • V Offline
            V Offline
            vasylp
            wrote on last edited by
            #5

            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]

            1 Reply Last reply
            0
            • K Offline
              K Offline
              koshui
              wrote on last edited by
              #6

              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.

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved