Results 1 to 11 of 11

Thread: Application Plugins in Windows [XP]

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Application Plugins in Windows [XP]

    Yes, i am using vc2005.

    I am also manually loading plugins from my Main app. I don't believe this is the same problem.

    Thanks for the reply though.

  2. #2
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Application Plugins in Windows [XP]

    So why don't you try out to debug it as I mentioned?

  3. #3
    Join Date
    Jan 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Application Plugins in Windows [XP]

    Quote Originally Posted by ChristianEhrlicher View Post
    So why don't you try out to debug it as I mentioned?
    i already did with my own app.. i know they are being found because with the same directory structure on another machine they work.

  4. #4
    Join Date
    Jan 2006
    Location
    Bremen, Germany
    Posts
    554
    Thanked 86 Times in 81 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Application Plugins in Windows [XP]

    So the only problem I can think of is a problem with the manifests / side by side assemblies. The goal was to simplify the dll hell with those crap, but ...
    Try to load the dll with QLibrary and see if it works - when it works, the manifest shouldn't be the problem.

  5. #5
    Join Date
    Jan 2007
    Posts
    8
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Application Plugins in Windows [XP]

    Quote Originally Posted by ChristianEhrlicher View Post
    So the only problem I can think of is a problem with the manifests / side by side assemblies. The goal was to simplify the dll hell with those crap, but ...
    Try to load the dll with QLibrary and see if it works - when it works, the manifest shouldn't be the problem.
    Well, i've debugged the problem and here it is;

    in vs2005, it automatically embeds the manifest into the .dll / .exe file. For some reason if you do embed the manifest into a plugin dll, it will NOT load. I don't know why but that is the problem. I recompiled all my plugins without the manifest and they run fine. I'm going to attempt to use the command line tools to embed the manifest and see if there is the same problem just for my own curiosity. Thanks for all your replies. Thanks cmake! Really i love it but damn, what a bug.


    /edit: also, if you embed the manifest into the plugin dll using mt.exe (rather than letting VS2005 do it for you, it does not cause a problem!) What the heck MS...
    Last edited by dcurtis; 9th February 2007 at 03:17.

Similar Threads

  1. transporting qt application fron linux to windows
    By deekayt in forum Qt Programming
    Replies: 4
    Last Post: 20th October 2006, 22:56
  2. Porting Qt application on windows from linux
    By safknw in forum Qt Programming
    Replies: 13
    Last Post: 22nd May 2006, 13:11
  3. Replies: 10
    Last Post: 28th April 2006, 15:48
  4. Application plugin on windows
    By Eyee in forum Qt Programming
    Replies: 2
    Last Post: 22nd March 2006, 17:36
  5. Plugins as small application
    By blackliteon in forum Qt Programming
    Replies: 4
    Last Post: 12th January 2006, 09:39

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Qt is a trademark of The Qt Company.