Compile fix - qxcbconnection.cpp (‘Display’ was not declared)
To avoid getting qxcbconnection.cpp:89:29: error: ‘Display’ was not declared in this scope Platform linux - configured with ./configure -nokia-developer -nomake examples -nomake demos -nomake tests -no-gtkstyle -no-v8 Change-Id: Ief7315bb8aa67c6454cdeddb1c02e60ea79801b5 Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>bb10
parent
a3b3cfe3b8
commit
4465fdd166
|
|
@ -86,10 +86,12 @@ extern "C" {
|
|||
|
||||
QT_BEGIN_NAMESPACE
|
||||
|
||||
#ifdef XCB_USE_XLIB
|
||||
static int nullErrorHandler(Display *, XErrorEvent *)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
QXcbConnection::QXcbConnection(const char *displayName)
|
||||
: m_displayName(displayName ? QByteArray(displayName) : qgetenv("DISPLAY"))
|
||||
|
|
|
|||
Loading…
Reference in New Issue