changes to make development easier in QtCreator

This commit is contained in:
Eduardo Bart
2012-06-12 13:50:43 -03:00
parent 72f569c250
commit 318109158a
9 changed files with 276 additions and 126 deletions

View File

@@ -20,6 +20,8 @@
* THE SOFTWARE.
*/
#ifdef __linux
#include "crashhandler.h"
#include <framework/global.h>
#include <framework/application.h>
@@ -131,3 +133,5 @@ void installCrashHandler()
sigaction(SIGFPE, &sa, NULL); // floating-point exception
sigaction(SIGABRT, &sa, NULL); // process aborted (asserts)
}
#endif

View File

@@ -20,6 +20,8 @@
* THE SOFTWARE.
*/
#ifdef WIN32
#include "crashhandler.h"
#include <framework/global.h>
#include <framework/application.h>
@@ -156,3 +158,5 @@ void installCrashHandler()
{
SetUnhandledExceptionFilter(ExceptionHandler);
}
#endif

View File

@@ -20,6 +20,8 @@
* THE SOFTWARE.
*/
#ifdef WIN32
#include "win32window.h"
#include <framework/application.h>
@@ -950,3 +952,5 @@ std::string WIN32Window::getPlatformType()
return "WIN32-EGL";
#endif
}
#endif

View File

@@ -20,6 +20,8 @@
* THE SOFTWARE.
*/
#ifdef __linux
#include "x11window.h"
#include <framework/core/resourcemanager.h>
#include <framework/thirdparty/apngloader.h>
@@ -1065,3 +1067,5 @@ std::string X11Window::getPlatformType()
return "X11-EGL";
#endif
}
#endif