View Single Post
Posts: 3,074 | Thanked: 12,964 times | Joined on Mar 2010 @ Sofia,Bulgaria
#120
So far the only dependency to Qt 4.8 is:

Code:
QApplication::setAttribute(Qt::AA_X11InitThreads, true);
which is easily replaceable with:
Code:
.
.
.
#if defined(Q_WS_X11)
#include <X11/Xlib.h>
#endif
.
.
.

#if QT_VERSION >= 0x040800
    QApplication::setAttribute(Qt::AA_X11InitThreads, true);
#else
    XInitThreads();
    QApplication::setAttribute(static_cast<Qt::ApplicationAttribute>(10), true);
#endif
Of course -lX11 should be added to make scripts too

@romaxa - would you consider adding that code to your branch?
__________________
Never fear. I is here.

720p video support on N900,SmartReflex on N900,Keyboard and mouse support on N900
Nothing is impossible - Stable thumb2 on n900

Community SSU developer
kernel-power developer and maintainer

 

The Following 5 Users Say Thank You to freemangordon For This Useful Post: