From 51b3d5bcb5c5c9bd787fa779d0cf81e8970e48ed Mon Sep 17 00:00:00 2001 From: =?utf8?q?Samuel=20R=C3=B8dal?= Date: Thu, 19 May 2011 19:04:17 +0200 Subject: [PATCH] Prevent qmake warnings when not building against Qt 5. --- examples/qwidget-compositor-mdi/qt-compositor.pro | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/qwidget-compositor-mdi/qt-compositor.pro b/examples/qwidget-compositor-mdi/qt-compositor.pro index b9d72b8..48ff532 100644 --- a/examples/qwidget-compositor-mdi/qt-compositor.pro +++ b/examples/qwidget-compositor-mdi/qt-compositor.pro @@ -6,7 +6,9 @@ INCLUDEPATH += . # comment out the following to not use pkg-config in the pri files CONFIG += use_pkgconfig +!isEmpty(QT.core.MAJOR_VERSION):greaterThan(QT.core.MAJOR_VERSION, 4) { QT += core-private gui-private +} DESTDIR=$$PWD/../../bin/ -- 2.7.4