Results 1 to 2 of 2

Thread: Observation of PyQt and execution of some commands

  1. #1
    Join Date
    Apr 2008
    Posts
    3
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Observation of PyQt and execution of some commands

    Hi:

    I've noticed while debugging PyQt apps, that commands like 'print' won't execute until after the gui is closed. Why is this? Is there any way to get print statements to execute while the gui is running?

    I've also noticed the same thing inserting data into an sqlite db. The inserts work just fine, this can be verified by externally doing a select on the db, but the changes aren't reflected until after restarting the app.

    Any thoughts are greatly apreciated.

    Regards,
    hf

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Observation of PyQt and execution of some commands

    Have you tried printing to stderr?

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
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.