summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@digia.com>2012-10-08 15:10:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-08 17:38:02 +0200
commit2cce297b58ae50486094a6dcc148484a4a4bace5 (patch)
treedb6b5a50879e65cf2182ce562eee7e75be0150eb /configure
parent803dbf529392b9c329d15f7ebdef7c407629a274 (diff)
configure: bump gtk version from 2.10 to 2.18 (sep 2009)
GTK_WIDGET_TOPLEVEL was deprecated in 2.20 and no longer available in gtk 3. gtk_widget_is_toplevel() was introduced as a replacement in gtk 2.18 => make that the minimum requirement. Change-Id: Ie5d2d8bd824af916a9764c66a7046f07a77b1748 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index a80bcdb586..2bca459628 100755
--- a/configure
+++ b/configure
@@ -4476,7 +4476,7 @@ fi
# auto-detect GTK style support
if [ "$CFG_GLIB" = "yes" -a "$CFG_QGTKSTYLE" != "no" ]; then
if [ -n "$PKG_CONFIG" ]; then
- QT_CFLAGS_QGTKSTYLE=`$PKG_CONFIG --cflags gtk+-2.0 ">=" 2.10 atk 2>/dev/null`
+ QT_CFLAGS_QGTKSTYLE=`$PKG_CONFIG --cflags gtk+-2.0 ">=" 2.18 atk 2>/dev/null`
QT_LIBS_QGTKSTYLE=`$PKG_CONFIG --libs gobject-2.0 2>/dev/null`
fi
if [ -n "$QT_CFLAGS_QGTKSTYLE" ] ; then