Results 1 to 6 of 6

Thread: Creating DLL with dialogs for Qt app

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: Creating DLL with dialogs for Qt app

    The DLL is part of the same address space as your main application once loaded (by LoadLibraryEx on Windows). If you don't use the Qt plugin mechanism then you have to resolve names in the library yourself (GetProcAddress() on Windows) and do all the plumbing. Your "classic DLL", which differs from a Qt plugin only that it is more effort to manage and less portable, can call QApplication::instance() just the same as a routine in the main program exe.

    If your "classic DLL" requirement is because you want to load the resulting DLL into a non-Qt program then you have a different issue, not the one you described in your first post, and not the one from your linked post.
    Last edited by ChrisW67; 21st September 2011 at 23:25.

Similar Threads

  1. Creating modal dialogs
    By Luc4 in forum Qt Programming
    Replies: 8
    Last Post: 17th June 2010, 10:35
  2. using native kde-dialogs
    By #andi# in forum Newbie
    Replies: 2
    Last Post: 11th August 2009, 10:50
  3. Translation of app and Qt Dialogs
    By honza in forum Qt Programming
    Replies: 4
    Last Post: 11th May 2009, 17:53
  4. Qt dialogs in other lenguages...
    By Sparhawk in forum Qt Programming
    Replies: 3
    Last Post: 13th June 2008, 11:18
  5. Skinned dialogs
    By Lele in forum Qt Programming
    Replies: 24
    Last Post: 9th August 2007, 08:43

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.