summaryrefslogtreecommitdiff
path: root/Tools/qmake/mkspecs/features/features.prf
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/qmake/mkspecs/features/features.prf')
-rw-r--r--Tools/qmake/mkspecs/features/features.prf1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/qmake/mkspecs/features/features.prf b/Tools/qmake/mkspecs/features/features.prf
index e425fc46b..328a8be7e 100644
--- a/Tools/qmake/mkspecs/features/features.prf
+++ b/Tools/qmake/mkspecs/features/features.prf
@@ -48,6 +48,7 @@ defineTest(detectFeatures) {
# We can't use Qt's 3rdparty sources for libjpeg and libpng outside of qtbase, but if Qt
# is using the system libraries, use them to take advantage of the WebCore image decoders as well.
+ QT_FOR_CONFIG += gui-private
qtConfig(system-jpeg): WEBKIT_CONFIG += use_libjpeg
else: CONFIGURE_WARNINGS += "Qt not configured to use system libjpeg, QImageDecoder will decode JPEG images"