Results 1 to 7 of 7

Thread: The plugin [path] uses incompatible Qt Library (4.8.2.) [Debug] (or [Release])

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #6
    Join Date
    Mar 2011
    Posts
    82
    Thanks
    13
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: The plugin [path] uses incompatible Qt Library (4.8.2.) [Debug] (or [Release])

    It's been pointed out by a friend of mine that the question might not only be unclear, but it might even be misleading, so I will rewrite it here (because I am unable to edit original post)

    I am trying to compile a Qt Library Project to use its DLL as a plugin of my Main Application.
    I've come across this particular error and I cannot seem to get past it, no matter what I try.

    I believe cluttering the question with code tags is pointless when I can just provide you with the "working issue" (for lack of better wording).

    [This is a link to both projects. The main application AND the plugin I am currently testing on.]

    (please remember to modify the path in the Application project of the dll. I am using absolute path, which will most likely never be the same one you will use. I used absolute paths to make sure the problem was unrelated to finding the file itself)

    So far I've checked:

    * My Qt version is, indeed, 4.8.2. Built with VS2010 Command Prompt.
    * As far as I understood the documentation, my code (particularly the APlugin project) follows the documentation instructions word by word. There's some space for human error, but I believe I got it right. [as specified here(The Lower-Level API: Extending Qt Applications)]
    * I am able to generate other QPluginLoader::errorString() errors (for example, using an invalid path to the .dll file will return a "file not found" error). Thus diminishing the margin of error in its use.

    As of today, Google results are, at best, cryptic and/or do not apply to my current context of development (I am on VS2010, Win7 N Ultimate, Qt 4.8.2)

    I believe it's better that I provided projects where the issue is reproducible, instead of just cluttering the question with code, but if you think I still should copy-paste my code, let me know and I will provide it explicitely in the question.

    The only thing I am able to provide so far is that, albet I don't use a .pro file, I shouldn't need it, because my application will be windows exclusive, and the vcproj file already contains that data.
    Last edited by alitoh; 31st July 2012 at 19:19. Reason: updated contents

Similar Threads

  1. Cannot mix incompatible Qt library
    By ycyclop in forum Installation and Deployment
    Replies: 0
    Last Post: 12th March 2012, 13:01
  2. Cannot mix incompatible Qt library
    By hubipet in forum Qt Programming
    Replies: 4
    Last Post: 13th February 2012, 19:03
  3. Loading plugin and "Incompatible Qt library" issue.
    By TorAn in forum Qt Programming
    Replies: 4
    Last Post: 31st May 2010, 13:04
  4. Release and debug destination path
    By mdecandia in forum Qt Programming
    Replies: 0
    Last Post: 18th May 2007, 14:45

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.