Results 1 to 7 of 7

Thread: Threading issue in DLL

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jun 2012
    Posts
    4
    Qt products
    Qt4
    Platforms
    Windows

    Default Threading issue in DLL

    Hi,

    I have a low level HW communication interface, which I would like to embed into a DLL.

    I create and starts a QThread, and in this tread's run loop, I create a simple handler object which I start with a QTimer:singleShot

    My problem:

    Everything works, as long I run the the Application from QtCreator (either in Debug or Release mode - both works)

    But when I build a static release version, the eventloop seems to stop or never start.

    I have build a very basic solution, for anyone to inspect.

    Please advice - Thanks
    Attached Files Attached Files

Similar Threads

  1. Threading with rsh and rcp
    By jaxrpc in forum Newbie
    Replies: 2
    Last Post: 4th June 2010, 11:50
  2. Threading...?
    By sekatsim in forum Qt Programming
    Replies: 12
    Last Post: 10th June 2008, 01:14
  3. Qt Threading
    By avh in forum Newbie
    Replies: 7
    Last Post: 30th May 2008, 20:20
  4. Threading Issue
    By noufalk in forum Qt Programming
    Replies: 4
    Last Post: 4th August 2007, 13:45
  5. Sub-Threading
    By TheGrimace in forum Qt Programming
    Replies: 4
    Last Post: 7th June 2007, 16:38

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.