It is no longer possible to build the GUI with Qt 5.2.1, which is on Ubuntu Trusty:
0 CXX qt/test/qt_test_test_bitcoin_qt-util.o
1qt/test/util.cpp: In function ‘void ConfirmMessage(QString*, int)’:
2qt/test/util.cpp:21:24: error: no matching function for call to ‘QTimer::singleShot(int&, FunctionCallback<ConfirmMessage(QString*, int)::__lambda0>*, void (Callback::*)())’
3 }), &Callback::call);
4 ^
5qt/test/util.cpp:21:24: note: candidates are:
6In file included from /usr/include/qt5/QtCore/QTimer:1:0,
7 from qt/test/util.cpp:5:
8/usr/include/qt5/QtCore/qtimer.h:81:17: note: static void QTimer::singleShot(int, const QObject*, const char*)
9 static void singleShot(int msec, const QObject *receiver, const char *member);
10 ^
11/usr/include/qt5/QtCore/qtimer.h:81:17: note: no known conversion for argument 3 from ‘void (Callback::*)()’ to ‘const char*’
12/usr/include/qt5/QtCore/qtimer.h:82:17: note: static void QTimer::singleShot(int, Qt::TimerType, const QObject*, const char*)
13 static void singleShot(int msec, Qt::TimerType timerType, const QObject *receiver, const char *member);
14 ^
15/usr/include/qt5/QtCore/qtimer.h:82:17: note: candidate expects 4 arguments, 3 provided
Not a high-priority issue, but I think we either need to fix this or add minimum Qt version check (to what?).