Subscribe

Can't get plugin to register (ideas)?

  1. 2008-10-05 19:19:18 PDT
    Followed all the instructions (using Qt 4.4.3 with the latest version of launchy, vs2005, winxp), but can't seem to get the example plugin to register after I build it and move the dll into the plugin folder (it doesn't show up in the plugins tab). Went through the forums and as far as I can tell I did everything correctly that others typically made mistakes on (got the switches right during the qt setup, etc).

    Is there any way I can debug this without just trying to redo the whole QT setup? Note: I do have vs2008 installed on this machine as well -- don't know if there is any way that could conflict with any settings.

    Thanks, I appreciate any help!
  2. 2008-10-06 00:41:06 PDT
    Hi,

    this may have to do with "incompatible" Qt versions. A plugin built with a newer version of Qt (v4.4.3) can not be loaded from a main application built against an older version.
    Hence, the current release of Launchy (v2.1.2, built against Qt v4.4.0 I think) will not load plugins built using your setup.

    Which plugin folder did you copy your plugin dll into?
    If you copied it into your runtime Launchy installation then I guess that the scenario described above causes your issue.
    If you copied it into your build environment of Launchy (like ...\Launchy\trunk\Launchy_QT\debug) then rebuilding Launchy.exe (and maybe platform_win.dll) should do it for debugging at least.

    Regards,

    Fabian.
  3. 2008-10-06 01:02:34 PDT
    Another thing you could check is if it works if you copy your new Qt dlls to your Launchy installation folder. (I guess that my previous explanation was not 100% accurate because this is probably more a runtime than a build-time issue - at build time you just define your minimum version requirements that your normal installation doesn't match. In the end, the result is still the same, however. Thus, if this really causes your issues I see two possibilities: Either build against an older version of Qt or deploy newer Qt dlls with your plugin)
  4. 2008-10-06 11:34:05 PDT
    When I copied in the 4.4.3 Qt dll's into my launchy installation folder my plugin worked. thanks!
  5. 2008-10-06 11:43:32 PDT
    BTW, how can I get an older version of Qt? Can't seem to find it on their site anywhere.
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.