#include <cppunit/TestRunner.h>
#include <cppunit/TextTestProgressListener.h>
#include <stdexcept>
+#include <QApplication>
-int
- main( int argc, char* argv[] )
+int main( int argc, char* argv[] )
{
+ QApplication anApp( argc, argv );
+
std::string testPath = (argc > 1) ? std::string(argv[1]) : "";
// Create the event manager and test controller