Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. *Read more...*

Feature #852900 ยป 0018-Set-qt5x-programs-minimum-Qt-requirement-to-5.12.patch

Marko Lindqvist, 2019-12-17 03:02 PM

View differences:

m4/qt6.m4
if test "x$qt6_libs" = "xyes" ; then
AC_MSG_RESULT([found])
AC_MSG_CHECKING([for Qt >= 5.11])
AC_MSG_CHECKING([for Qt >= 5.12])
FC_QT6_VERSION_CHECK
fi
......
CPPFLAGS="$CPPFLAGS_SAVE"
])
dnl Check if the included version of Qt is at least Qt5.11
dnl Check if the included version of Qt is at least Qt5.12
dnl Output: fc_qt6_min_ver=yes|no
AC_DEFUN([FC_QT6_VERSION_CHECK],
[
......
LIBS="${LIBS}${LIBSADD}"
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
[[#include <QtCore>]],[[
#if QT_VERSION < 0x050b00
#if QT_VERSION < 0x050c00
fail
#endif
]])],
    (1-1/1)