Results 1 to 3 of 3

Thread: Plugin Architecture

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,376
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Thanks
    4
    Thanked 5,019 Times in 4,795 Posts
    Wiki edits
    10

    Default Re: Plugin Architecture

    You can export the engine to a separate library and link each plugin against the library. Or you can place the engine in the main application and have a pointer to it somewhere so that plugins can take it and use it. It depends whether you want each plugin to have a separate engine or if they can all share a single instance of it.

  2. The following user says thank you to wysota for this useful post:

    jtaylor108 (8th April 2008)

  3. #2
    Join Date
    Jul 2007
    Posts
    5
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    2

    Default Re: Plugin Architecture

    Many thanks for such a prompt reply

    Using VS2005, I'm building the engine as a library (a '.lib' static library file) and the app and plugins are both linking against this. I would like the app and plugins to share a single instance of the engine, but this doesn't seem to be happening. However, the plan now is to rewrite the engine as a dll so I'll see how that works once it's been done.

    Again, many thanks for the help - it's much appreciated.

    Cheers,

    jt

Similar Threads

  1. Qt designer plugin errors on OSX Leopard
    By mpotocnik in forum Qt Tools
    Replies: 10
    Last Post: 21st January 2008, 10:45
  2. Need help making plugin
    By vieraci in forum Qt Programming
    Replies: 10
    Last Post: 24th September 2007, 14:20
  3. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 15:13
  4. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 20:05
  5. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 10:01

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.