Results 1 to 4 of 4

Thread: adding a qt-ui to a non-qt project, dll

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #2
    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: adding a qt-ui to a non-qt project, dll

    You need a running event loop to be able to handle the widget. So you need to create QApplication and then run its exec(), but this will block the rest of your application (along the WinAPI event loop). Alternatively you can use some WinAPI calls to start a timer, which will call QApplication::processEvents() every now and then.

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

    TheKedge (28th February 2007)

Similar Threads

  1. how do i use a same project in multiple systems ?
    By nhatkhang in forum KDE Forum
    Replies: 6
    Last Post: 21st December 2006, 16:32
  2. Project generation on linux from QT Project
    By darpan in forum Qt Programming
    Replies: 6
    Last Post: 11th December 2006, 09:43
  3. Clean project deletes makefile
    By Djony in forum Qt Programming
    Replies: 2
    Last Post: 7th December 2006, 10:15
  4. Replies: 2
    Last Post: 11th July 2006, 14:19
  5. Big Qt Project planning...
    By blackliteon in forum Qt Programming
    Replies: 9
    Last Post: 8th February 2006, 08:40

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.