diff --git a/src/lib/tools/globalfunctions.cpp b/src/lib/tools/globalfunctions.cpp index 90971ccbb..0ad0992c5 100644 --- a/src/lib/tools/globalfunctions.cpp +++ b/src/lib/tools/globalfunctions.cpp @@ -382,6 +382,7 @@ QString QT_QUPZILLA_EXPORT qz_escape(const QString &string) #endif } +#ifdef QZ_WS_X11 void QT_QUPZILLA_EXPORT* qz_X11Display(const QWidget* widget) { Q_UNUSED(widget) @@ -392,6 +393,7 @@ void QT_QUPZILLA_EXPORT* qz_X11Display(const QWidget* widget) return QX11Info::display(); #endif } +#endif QString qz_buildSystem() {