Qt Graphical Objects & Multi-Thread
Functions
WidgetUpdate.cpp File Reference

This source file and its related header demonstrate that Qt graphical objects are not thread-safe! More...

#include "WidgetUpdate.hpp"
#include <QPainter>
#include <QPaintEvent>
#include <QMouseEvent>
#include <QMainWindow>
#include <QApplication>
Include dependency graph for WidgetUpdate.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 This is the main function of this bug testing application. More...
 

Detailed Description

This source file and its related header demonstrate that Qt graphical objects are not thread-safe!

Definition in file WidgetUpdate.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

This is the main function of this bug testing application.

Parameters
argcThe parameters' count, and
argvthe parameters' values, are both forwarded to Qt.
Returns
The result of Qt application's execution.

Definition at line 61 of file WidgetUpdate.cpp.