From: akashihi Date: Tue, 16 Mar 2010 08:21:11 +0000 (+0000) Subject: Fix:core:Added Qt version check into gui_qml requirements checking X-Git-Tag: navit-0.5.0.5194svn~2173 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=99838e7b115930aa7c7efa5ee18799af1dcf5b13;p=profile%2Fivi%2Fnavit.git Fix:core:Added Qt version check into gui_qml requirements checking git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3018 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/configure.in b/navit/configure.in index fb249aa..f9beee8 100644 --- a/navit/configure.in +++ b/navit/configure.in @@ -783,12 +783,12 @@ AM_CONDITIONAL(GUI_WIN32, test "x${gui_win32}" = "xyes") # qml AC_ARG_ENABLE(gui-qml, [ --disable-gui-qml disable gui type QML], gui_qml=$enableval;gui_qml_reason="configure parameter") if test "x${gui_qml}" = "xyes" -a "x${QT_GUI_CFLAGS}" = "x" -a "x${QT_GUI_LIBS}" = "x"; then - PKG_CHECK_MODULES(QT_GUI, [QtGui QtCore], ,gui_qml=no,gui_qml_reason="Packages QtGui and/or QtCore missing") + PKG_CHECK_MODULES(QT_GUI, [QtGui QtCore], ,gui_qml=no;gui_qml_reason="Packages QtGui and/or QtCore missing") fi if test "x${gui_qml}" = "xyes" -a "x${QT_DECLARATIVE_CFLAGS}" = "x" -a "x${QT_DECLARATIVE_LIBS}" = "x"; then - PKG_CHECK_MODULES(QT_DECLARATIVE, [QtDeclarative], ,gui_qml=no,gui_qml_reason="Packages QtDeclarative missing") + PKG_CHECK_MODULES(QT_DECLARATIVE, [QtDeclarative >= 4.6.0 ], ,gui_qml=no;gui_qml_reason="Packages QtDeclarative missing") fi -if test "x${graphics_qt_qpainter}" = "xyes" ; then +if test "x${gui_qml}" = "xyes" ; then AC_DEFINE(USE_GUI_QML, 1, [Build with gui qml]) MOC=`$PKG_CONFIG QtGui --variable=moc_location` if test "x${MOC}" = "x"; then @@ -802,8 +802,6 @@ AC_SUBST(QT_DECLARATIVE_CFLAGS) AC_SUBST(QT_DECLARATIVE_LIBS) AM_CONDITIONAL(GUI_QML, test "x${gui_qml}" = "xyes") -AM_CONDITIONAL(GUI_QML, test "x${gui_qml}" = "xyes") - ## plugins # pedestrian AC_ARG_ENABLE(plugin-pedestrian, [ --enable-plugin-pedestrian enable pedestrian plugin], plugin_pedestrian=$enableval;plugin_pedestrian_reason="configure parameter")