![]() KDE Developer ![]()
|
Hi!
I'm currently doing some experiments with signal handlers. After some working examples I started with something more powerful:
The signal-handling is no problem (it worked nearly the same way with a simplier example) but I get strange runtime error, they are not reproducable, but it's always something with "QPixmap outside of GUI-Thread", "Cannot create children for parent that is in a different thread. (Parent is Oxygen...)", the application crashes with "X Error: BadPixmap" or "Fatal IO error". These faults happen before my experiments with null-pointers. (they should happen after at least 5 seconds) Any idea where I could break the GUI-thread? Compilation:
Thank you! The User |
![]() Administrator ![]()
|
Qt does not use Exceptions, which may lead to internal corruption, leading to failure of the GUI thread.
KDE Sysadmin
[img]content/bcooksley_sig.png[/img] |
![]() KDE Developer ![]()
|
The runtime error occur before I throw any exceptions.
Edit: Sorry, I forgot that setTimer takes the number of milliseconds. Forget about this thread. ![]() PPS: It had nothing todo with exceptions: It was the QMessageBox... |
Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]