01-05-2014, 10:48 AM
(01-04-2014, 11:43 PM)xsacha Wrote: OK. Thanks. So it seems X11 threads doesn't work even though maemo uses X11. A few things to fix up there.
git pull and couple more fixes:
Code:
index 08dfab0..13ea21b 100644
--- a/base/QtMain.h
+++ b/base/QtMain.h
@@ -45,7 +45,7 @@ public:
#if QT_VERSION < 0x50000
setAttribute(Qt::WA_LockLandscapeOrientation);
#endif
-#ifdef USING_GLES2
+#if defined(USING_GLES2) && !defined(MAEMO)
acc = new QAccelerometer(this);
acc->start();
#endif
@@ -54,7 +54,7 @@ public:
startTimer(16);
}
~MainUI() {
-#ifdef USING_GLES2
+#if defined(USING_GLES2) && !defined(MAEMO)
delete acc;
#endif
NativeShutdownGraphics();I got it compiled and running.

