Results 1 to 6 of 6

Thread: Developing Plugins

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Location
    Edmonton, Canada
    Posts
    101
    Thanks
    13
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Developing Plugins

    Quote Originally Posted by fullmetalcoder View Post
    Just the same way, if you distribute only binaries (as your use of MSVC might suggest), they will be compiled on your box and plugins and app will always have the same build key...
    Thanks for the info. My concern is with the fact that the app will be compiled on my machine, but it is possible for third-party developers to compile their own plugins for the app. I am trying to determine how much if a problem this could be if they're using a different compiler. Ideally I'd like to be able to provide documentation listing which compilers they could use to create compatible plugins. Is this something that is known, or do I have to try different compilers and see what works and what doesn't?

  2. #2
    Join Date
    Jan 2006
    Location
    travelling
    Posts
    1,116
    Thanks
    8
    Thanked 127 Times in 121 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Developing Plugins

    Quote Originally Posted by Jimmy2775 View Post
    Thanks for the info. My concern is with the fact that the app will be compiled on my machine, but it is possible for third-party developers to compile their own plugins for the app. I am trying to determine how much if a problem this could be if they're using a different compiler. Ideally I'd like to be able to provide documentation listing which compilers they could use to create compatible plugins. Is this something that is known, or do I have to try different compilers and see what works and what doesn't?
    Well basically the build platform already brings restriction and I think that, except some exceptions, binaries build on the same platform should be compatible especially if the use of external libraries (apart from Qt) is reduced...

    See :
    Quote Originally Posted by Methedrine
    For example I was able to load a plugin built with gcc from an executable built with MSVC 8.
    Current Qt projects : QCodeEdit, RotiDeCode

  3. #3
    Join Date
    Jan 2006
    Location
    Edmonton, Canada
    Posts
    101
    Thanks
    13
    Thanked 6 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Developing Plugins

    Okay - I guess that makes sense. Let's see if I understand this right - If all my Windows code is compiled with MSVC8, most other Windows compilers should be able to compile compatible plugins, and likewise if I use Intel's C++ compiler for Mac, most other Mac compilers should create compatible plugins. If that's the case then that's good enough for me.

    Thanks fullmetalcoder and Methedrine for your help.

    Jimmy

Similar Threads

  1. Nightmares with plugins
    By KShots in forum Qt Programming
    Replies: 6
    Last Post: 8th February 2007, 16:46
  2. Qt plugins - how to do a libtool-style autoload
    By KShots in forum Qt Programming
    Replies: 2
    Last Post: 7th February 2007, 12:40
  3. Arthur Plugins demos and designer
    By antonio.r.tome in forum Installation and Deployment
    Replies: 4
    Last Post: 21st March 2006, 14:01
  4. How to reload widget plugins?
    By victorng in forum Qt Programming
    Replies: 2
    Last Post: 1st March 2006, 23:27
  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.