Mercurial > octave
changeset 27839:a8c5255c34b1
Announce deprecation of Qt4 and removal in Octave version 7.
* NEWS: Announce change.
* m4/acinclude.m4: Emit a warning that Qt4 is deprecated if user runs configure
with '--with-qt=4'.
author | Rik <rik@octave.org> |
---|---|
date | Sun, 15 Dec 2019 13:53:00 -0800 |
parents | 659acfaaf0c9 |
children | 27dd7da9e787 |
files | NEWS m4/acinclude.m4 |
diffstat | 2 files changed, 8 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/NEWS Sun Dec 15 12:35:12 2019 +0100 +++ b/NEWS Sun Dec 15 13:53:00 2019 -0800 @@ -61,6 +61,10 @@ #### Graphics backend +- The use of Qt4 for graphics and the GUI is deprecated in Octave + version 6 and no further bug fixes will be made. Qt4 support will be + removed completely in Octave version 7. + - The `legend` function has been entirely rewritten. This fixes a number of historical bugs, but also implements new properties such as `"AutoUpdate"` and `"NumColumns"`. The gnuplot toolkit---which is no
--- a/m4/acinclude.m4 Sun Dec 15 12:35:12 2019 +0100 +++ b/m4/acinclude.m4 Sun Dec 15 13:53:00 2019 -0800 @@ -1789,6 +1789,8 @@ BUILD_QT_SUMMARY_MSG="yes (version: $have_qt_version)" if test x"$have_qt_version" = x4; then AC_DEFINE(HAVE_QT4, 1, [Define to 1 if using Qt version 4.]) + warn_qt_ver="Use of Qt version 4 is deprecated. Support will be removed in Octave version 7." + OCTAVE_CONFIGURE_WARNING([warn_qt_ver]) fi if test x"$have_qt_version" = x5; then AC_DEFINE(HAVE_QT5, 1, [Define to 1 if using Qt version 5.]) @@ -1807,10 +1809,10 @@ OCTAVE_CONFIGURE_WARNING([warn_qt_libraries]) fi if test -n "$warn_qt_version"; then - OCTAVE_CONFIGURE_WARNING([warn_qt_version]) + OCTAVE_CONFIGURE_WARNING([warn_qt_version]) fi if test -n "$warn_qt_tools"; then - OCTAVE_CONFIGURE_WARNING([warn_qt_tools]) + OCTAVE_CONFIGURE_WARNING([warn_qt_tools]) fi if test -n "$warn_qt_setvbuf"; then OCTAVE_CONFIGURE_WARNING([warn_qt_setvbuf])