Results 1 to 8 of 8

Thread: Plugin design advice needed

Hybrid View

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

    Default Re: Plugin design advice needed

    Quote Originally Posted by d_stranz View Post
    QtCreator has adopted the approach of putting all the required bits into the Core module, which is a mandatory plugin.
    The Core plugin is different. It is being loaded by name before other plugins are loaded. It might have been a library instead.

    That's another worry, but I think by careful segregation of functionality into a set of well-defined plugins, I can hopefully avoid this.
    Sharing my experience (I wasn't responsible for this terrible architecture, nevertheless I couldn't find a way to untie this Gordian Knot without totally rewriting the system) I strongly advise you to decide apriori which functionality goes where and what depends on what and then stick to what you designed. Splitting or merging as you go will lead you exactly where we landed.

    This is the hope, isn't it?
    Well... it depends. My problem was that I was the only one fully understanding the plugin architecture so I was being asked a lot of questions how to do things with it.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


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

    d_stranz (29th December 2012)

  3. #2
    Join Date
    Jan 2008
    Location
    Alameda, CA, USA
    Posts
    5,325
    Thanks
    316
    Thanked 871 Times in 858 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Plugin design advice needed

    I strongly advise you to decide apriori which functionality goes where and what depends on what
    I typically do this; by the time I get to actually writing code it almost writes itself, it has been so thoroughly planned out. This helps me later, because I know exactly where everything is and which parts depend on something else when changes must be made. But it frustrates the people who keep asking, "When can you show me something?"

    and then stick to what you designed.
    And that's the hard part. Fortunately most of my efforts are one-person projects, so it is a bit easier to enforce my own design rules.

Similar Threads

  1. Thread design advice needed
    By jonks in forum Qt Programming
    Replies: 3
    Last Post: 22nd October 2009, 21:32
  2. Replies: 1
    Last Post: 7th August 2008, 14:49
  3. Request Qwt histogram design advice
    By goes2bob in forum Qwt
    Replies: 1
    Last Post: 10th April 2008, 10:12
  4. Qtopia H/w Advice needed
    By void* in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 19th January 2007, 11:25
  5. Need some advice for design decision
    By BeS in forum Qt Programming
    Replies: 2
    Last Post: 28th March 2006, 23:06

Tags for this Thread

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.