Fix bugs 430, 426, 429, 394, 433.

These bugs are about QApplication instance being destroyed  before
some QObject.

Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
          Renato Araújo <renato.filho@openbossa.org>
This commit is contained in:
Hugo Parente Lima 2010-10-22 17:28:43 -02:00
commit 77a1654ad5
11 changed files with 112 additions and 39 deletions

View file

@ -84,6 +84,11 @@ typedef void (*CleanupFunction)(void);
PYSIDE_API void registerCleanupFunction(CleanupFunction func);
PYSIDE_API void runCleanupFunctions();
/**
* Destroy a QCoreApplication taking care of destroy all instances of QObject first.
*/
PYSIDE_API void destroyQCoreApplication();
} //namespace PySide