Results 1 to 12 of 12

Thread: GUI thread blocked using QThread.

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2009
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI thread blocked using QThread.

    I don't know but this is very strange problem I am facing.

    It's working perfectily OK with only one Log(QString("")) , problem occurs when I introduces some more Log(QString("")) in different functions.

    E.g. (
    If I comment these two lines
    Log(QString("Start Creating ToolBar\n"));
    Log(QString("Start Creating Menus\n"));

    and leave
    Log(QString("Start Creating Actions\n"));

    Than application will work fine and Log file is also created .)


    Is everything OK with QString.???

    I am unable to track the error.

  2. #2
    Join Date
    May 2009
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI thread blocked using QThread.

    Quote Originally Posted by summer_of_69 View Post
    I don't know but this is very strange problem I am facing.

    It's working perfectily OK with only one Log(QString("")) , problem occurs when I introduces some more Log(QString("")) in different functions.

    E.g. (
    If I comment these two lines
    Log(QString("Start Creating ToolBar\n"));
    Log(QString("Start Creating Menus\n"));

    and leave
    Log(QString("Start Creating Actions\n"));

    Than application will work fine and Log file is also created .)


    Is everything OK with QString.???

    I am unable to track the error.
    But I can't understand why it's working for above condition ,I send just before your mail.

  3. #3
    Join Date
    May 2009
    Posts
    23
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: GUI thread blocked using QThread.

    But I can't understand why it's working for above condition ,I send just before your mail.

Similar Threads

  1. QThread event loop seems blocked
    By eurodatar in forum Qt Programming
    Replies: 3
    Last Post: 6th May 2009, 16:50
  2. Replies: 4
    Last Post: 26th June 2008, 18:41
  3. KDE/QWT doubt on debian sarge
    By hildebrand in forum KDE Forum
    Replies: 13
    Last Post: 25th April 2007, 06:13
  4. QThread: Destroyed while thread is still running
    By Shuchi Agrawal in forum Newbie
    Replies: 8
    Last Post: 3rd April 2007, 06:27
  5. [QT4] QThread and printing a QList<QPixmap>
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 24th April 2006, 21:44

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.