View Single Post
Posts: 40 | Thanked: 265 times | Joined on Aug 2007
#123
Originally Posted by freemangordon View Post
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?
Yep, that make sense. I guess it also make sense to figure out some bug tracking system, probably simple is enough... also grant access to repository to people who willing to contribute...
 

The Following 6 Users Say Thank You to romaxa For This Useful Post: