summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/printing/tst_printing.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/printing/tst_printing.cpp')
-rw-r--r--tests/auto/widgets/printing/tst_printing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/widgets/printing/tst_printing.cpp b/tests/auto/widgets/printing/tst_printing.cpp
index 2fd12b8ec..380fb65ff 100644
--- a/tests/auto/widgets/printing/tst_printing.cpp
+++ b/tests/auto/widgets/printing/tst_printing.cpp
@@ -44,7 +44,7 @@ class tst_Printing : public QObject
private slots:
void printToPdfBasic();
void printRequest();
-#if QT_CONFIG(webengine_poppler_cpp)
+#if QT_CONFIG(webengine_poppler_cpp) && defined(Q_OS_LINUX) && defined(__GLIBCXX__)
void printToPdfPoppler();
#endif
};
@@ -108,7 +108,7 @@ void tst_Printing::printRequest()
QVERIFY(data.length() > 0);
}
-#if QT_CONFIG(webengine_poppler_cpp)
+#if QT_CONFIG(webengine_poppler_cpp) && defined(Q_OS_LINUX) && defined(__GLIBCXX__)
void tst_Printing::printToPdfPoppler()
{
// check if generated pdf is correct by searching for a know string on the page