Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

Linux / Window default close button / Segmentation fault

$
0
0
Hi everybody, Linux machine: Ubuntu 12.04/Ubuntu Unity gcc-Version 4.6.3 Qt5.0.2 Starting an application from the console I’m currently facing a challenge regarding the windows default close button (Qt::WindowCloseButtonHint). 100 events clicking on the close button I’m facing about 62% segmentation faults. After reimplementing “closeEvent(QCloseEvent *event)”: event->ignore(); emit globalQuit(); (A Signal that a QPushButton triggers too to “quit()” the QApplication) I’m still facing 28% segmentation faults in contrast to using the Quit-QPushButton itself which never causes a segmentation fault. This just happens on Linux and is not reproducible on a Mac e.g. Is there anybody having an idea about the reason? Thanks Michael

Viewing all articles
Browse latest Browse all 13965

Trending Articles