]> git.lyx.org Git - features.git/commit
Avoid deprecation warnings
authorEnrico Forestieri <forenr@lyx.org>
Fri, 29 Jan 2021 12:12:29 +0000 (13:12 +0100)
committerEnrico Forestieri <forenr@lyx.org>
Fri, 29 Jan 2021 12:12:29 +0000 (13:12 +0100)
commit070270fdc719edcd0ae49a182acf58583038a765
treec322af03ba3899a4cc7edaed1375323ce0d6436f
parent11c1a327339eca28d0885de862d6dcb9cfd27dce
Avoid deprecation warnings

In Qt 5.15 many deprecation warnings are issued, presumably for
helping the port to Qt 6. They are really a load but can be
shuten up by using -DQT_NO_DEPRECATED_WARNINGS, except for the ones
about MidButton, AdjustToMinimumContentsLength, and DefaultLocaleLongDate.

This change should not affect compilation with Qt 4, as all changes are
backward compatible (only Qt versions prior 4.5 could be affected).
src/frontends/qt/GuiChanges.cpp
src/frontends/qt/GuiWorkArea.cpp
src/frontends/qt/ui/PrefOutputUi.ui