Results 1 to 2 of 2

Thread: Design question regarding dll

  1. #1
    Join Date
    Jan 2006
    Location
    Ljubljana
    Posts
    687
    Thanks
    111
    Thanked 4 Times in 4 Posts
    Qt products
    Qt5 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows Android

    Default Design question regarding dll

    Hi to all!

    I was instructed to create serial port communication library (dll), which will be used by other higher-level developers. I've chosen Evaluation Version of Qt 4.4.3 Commercial and MS Visual Studio 2008. Now, how do I now create externally visible methods like (OpenPort, ClosePort, ....) and how do I "hide" information in dll - like create private methods?
    Qt 5.3 Opensource & Creator 3.1.2

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Design question regarding dll

    How about the same way they do it in Qt? Public exported classes in public headers that are installed, private non-exported classes in private headers that aren't installed.
    J-P Nurmi

Similar Threads

  1. MDI design question
    By mooreaa in forum Qt Programming
    Replies: 8
    Last Post: 8th April 2011, 09:42
  2. Replies: 3
    Last Post: 4th April 2008, 19:51
  3. QTableWidget Design & Thread Safety Question
    By bpetty in forum Qt Programming
    Replies: 4
    Last Post: 28th March 2008, 00:09
  4. Client-Server software project design question
    By MarkoSan in forum Qt Programming
    Replies: 7
    Last Post: 25th March 2008, 09:31
  5. A question of style and design
    By Kumosan in forum General Programming
    Replies: 7
    Last Post: 16th March 2007, 09:34

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.