|
From: <cn...@us...> - 2025-09-07 15:49:46
|
Revision: 1599
http://sourceforge.net/p/seq/svn/1599
Author: cn187
Date: 2025-09-07 15:49:45 +0000 (Sun, 07 Sep 2025)
Log Message:
-----------
Fixup deprecated/experimental messages so they display properly
Modified Paths:
--------------
showeq/branches/cn187_devel/m4/showeq_qt_main.m4
Modified: showeq/branches/cn187_devel/m4/showeq_qt_main.m4
===================================================================
--- showeq/branches/cn187_devel/m4/showeq_qt_main.m4 2025-09-06 23:26:05 UTC (rev 1598)
+++ showeq/branches/cn187_devel/m4/showeq_qt_main.m4 2025-09-07 15:49:45 UTC (rev 1599)
@@ -108,7 +108,6 @@
AC_SHOWEQ_QT4_HEADERS
if [[ -n "$qt_version_string" ]]; then
ac_cv_have_qt_headers=yes
- AC_MSG_NOTICE([NOTICE: Support for Qt4 is DEPRECATED, and will be removed in ShowEQ 7. Please upgrade to Qt5 at your earliest convenience.])
fi
fi
@@ -116,7 +115,6 @@
AC_SHOWEQ_QT6_HEADERS
if [[ -n "$qt_version_string" ]]; then
ac_cv_have_qt_headers=yes
- AC_MSG_NOTICE([NOTICE: Support for Qt6 is EXPERIMENTAL. If you experience issues, please report them on the forum so they can be fixed.])
fi
fi
@@ -133,6 +131,24 @@
echo -e ">> Found Qt $qt_version_string headers at $qt_incdir"
fi
+if [[ "$qt_major_version" == "4" ]]; then
+ DEPRECATED=$(echo -en "\[\e[0;1m\e[0;33;1mDEPRECATED\e[0;1m\e[0;0m" &&
+ echo "]]]]]" > /dev/null 2>&1);
+ if [[ -n "$DEPRECATED" ]]; then
+ echo -e ">> WARNING: Support for Qt4 is $DEPRECATED and will be removed in ShowEQ 7. Please upgrade to Qt5 at your earliest convenience."
+ else
+ echo -e ">> WARNING: Support for Qt4 is DEPRECATED and will be removed in ShowEQ 7. Please upgrade to Qt5 at your earliest convenience."
+ fi
+elif [[ "$qt_major_version" == "6" ]]; then
+ EXPERIMENTAL=$(echo -en "\[\e[0;1m\e[0;33;1mEXPERIMENTAL\e[0;1m\e[0;0m" &&
+ echo "]]]]]" > /dev/null 2>&1);
+ if [[ -n "$EXPERIMENTAL" ]]; then
+ echo -e ">> WARNING: Support for Qt6 is $EXPERIMENTAL. Please report any issues so they can be fixed."
+ else
+ echo -e ">> WARNING: Support for Qt6 is EXPERIMENTAL. Please report any issues so they can be fixed."
+ fi
+fi
+
AC_SUBST(qt_major_version)
AC_SUBST(qt_minor_version)
AC_SUBST(qt_patch_version)
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|