Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct


    Qt World Summit: Early-Bird Tickets

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

    Mobile and Embedded
    4
    6
    3460
    Loading More Posts
    • 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
      vasylp last edited by

      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 Reply Quote 0
      • M
        mohsen last edited by

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

        1 Reply Last reply Reply Quote 0
        • F
          Fuzzbender last edited by

          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 Reply Quote 0
          • V
            vasylp last edited by

            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 Reply Quote 0
            • V
              vasylp last edited by

              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 Reply Quote 0
              • K
                koshui last edited by

                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 Reply Quote 0
                • First post
                  Last post