which: no kf5-config in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin)
CMake Warning (dev) at CMakeLists.txt:1 (project):
cmake_minimum_required() should be called prior to this top-level project()
call. Please see the cmake-commands(7) manual for usage documentation of
both commands.
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Deprecation Warning at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.
Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.
Installing in /usr/local. Run /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/prefix.sh to set the environment for kshutdown.
CMake Warning (dev) at /usr/share/ECM/modules/ECMFindModuleHelpers.cmake:111 (message):
Your project should require at least CMake 3.16.0 to use FindKF5.cmake
Call Stack (most recent call first):
/usr/share/ECM/find-modules/FindKF5.cmake:30 (ecm_find_package_version_check)
CMakeLists.txt:33 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp: In member function ‘void BookmarksMenu::onAddBookmark()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:76: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/version.h:5,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:76: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:91: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:91: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:249:22: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const BookmarkAction*, const BookmarkAction*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
249 | qSort(list()->begin(), list()->end(), compareBookmarkAction);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtGui/qicon.h:45,
from /usr/include/qt5/QtWidgets/qabstractbutton.h:44,
from /usr/include/qt5/QtWidgets/qcheckbox.h:44,
from /usr/include/qt5/QtWidgets/QCheckBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/config.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.h:23:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp: In member function ‘void BookmarksMenu::onUpdateMenu()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:67: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:67: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:82: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:82: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/RXO3RCPMQD/moc_processmonitor.cpp:10,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/mocs_compilation.cpp:12:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/RXO3RCPMQD/../../../../src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qcombobox.h:44,
from /usr/include/qt5/QtWidgets/QComboBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/T4QKTR7IAB/../../../../src/actions/bootentry.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/T4QKTR7IAB/moc_bootentry.cpp:10,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build.tmp/src/kshutdown_autogen/RXO3RCPMQD/../../../../src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp: In static member function ‘static QString CLI::getOption(const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:99:44: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
99 | return option.isEmpty() ? QString::null : option;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:99:44: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
99 | return option.isEmpty() ? QString::null : option;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual bool KShutdown::DateTimeTriggerBase::canActivateAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:119:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
119 | QString id = QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:119:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
119 | QString id = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘QString KShutdown::DateTimeTriggerBase::createStatus(const QDateTime&, int&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:241:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
241 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:241:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
241 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual QString KShutdown::DateTimeTrigger::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:271:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
271 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:271:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
271 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual QString KShutdown::TimeFromNowTrigger::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:363:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
363 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:363:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
363 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In constructor ‘KShutdown::PowerAction::PowerAction(const QString&, const QString&, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:401:31: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
401 | m_methodName(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:401:31: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
401 | m_methodName(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In constructor ‘KShutdown::RebootAction::RebootAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:1238:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1238 | QString::null, "reboot", U_SHUTDOWN_TYPE_REBOOT),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:1238:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1238 | QString::null, "reboot", U_SHUTDOWN_TYPE_REBOOT),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp: In function ‘bool commonStartup(const QStringList&, const QCommandLineOption&, bool, bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp:52:32: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations]
52 | out << text << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/QTextStream:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/log.h:22,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp:20:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:35:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In member function ‘void MainWindow::setActive(bool, bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:389:41: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
389 | m_lastNotificationID = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:389:41: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
389 | m_lastNotificationID = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In constructor ‘MainWindow::MainWindow()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:584:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
584 | m_lastNotificationID(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:584:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
584 | m_lastNotificationID(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In lambda function:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:859:40: warning: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
859 | QProcess::startDetached("kcmshell5 autostart kcmkded kcmnotify kcmsmserver kcm_energyinfo kcm_sddm kcm_splashscreen keys powerdevilprofilesconfig screenlocker");
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:30:
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
280 | static bool startDetached(const QString &command);
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In member function ‘void MainWindow::onStatusChange(bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:1413:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1413 | ? QString::null
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:1413:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1413 | ? QString::null
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp: In static member function ‘static bool PasswordDialog::authorize(QWidget*, const QString&, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:121:63: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
121 | QString password = ok ? dialog->password() : QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qdialog.h:44,
from /usr/include/qt5/QtWidgets/QDialog:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:121:63: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
121 | QString password = ok ? dialog->password() : QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp: In member function ‘void PasswordDialog::updateStatus()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:198:52: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
198 | m_status->setText(QString::null, InfoWidget::Type::Error);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:198:52: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
198 | m_status->setText(QString::null, InfoWidget::Type::Error);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:30:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp: In constructor ‘Base::Base(const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:44:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
44 | m_disableReason(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:44:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
44 | m_disableReason(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:45:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
45 | m_error(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:45:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
45 | m_error(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:47:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
47 | m_originalText(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:47:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
47 | m_originalText(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:48:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
48 | m_status(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:48:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
48 | m_status(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp: In member function ‘void Action::slotFire()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:367:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
367 | m_error = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:367:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
367 | m_error = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp: In static member function ‘static bool UDialog::confirm(QWidget*, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp:67:42: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations]
67 | return KMessageBox::questionYesNo(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^
68 | parent, text, i18n("Confirm"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | KStandardGuiItem::ok(), KStandardGuiItem::cancel()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | ) == KMessageBox::Yes;
| ~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp:25:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp: In static member function ‘static QString Utils::getUser()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:74:25: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
74 | return QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44,
from /usr/include/qt5/QtWidgets/qapplication.h:44,
from /usr/include/qt5/QtWidgets/QApplication:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:74:25: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
74 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In member function ‘virtual bool Extras::onAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:120:39: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
120 | process->start(exec);
| ~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:24:
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
168 | void start(const QString &command, OpenMode mode = ReadWrite);
| ^~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In constructor ‘Extras::Extras()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:182:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
182 | m_command(QString::null) {
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.h:22,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:182:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
182 | m_command(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In member function ‘void Extras::setCommandAction(const CommandAction*)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:384:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
384 | m_command = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:384:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
384 | m_command = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp: In member function ‘virtual bool LockAction::onAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:73:45: warning: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
73 | if (!QProcess::startDetached(customCommand))
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:23:
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
280 | static bool startDetached(const QString &command);
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:100:79: warning: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
100 | QRect screenGeometry = QApplication::desktop()->screenGeometry();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:33:
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
79 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
| ^~~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp: In member function ‘virtual QString IdleMonitor::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:110:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
110 | return QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:110:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
110 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp: In member function ‘virtual void IdleMonitor::updateStatus()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:173:29: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
173 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:173:29: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
173 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:18:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:21:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::refreshProcessList()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:265:34: warning: ‘Q_PID QProcess::pid() const’ is deprecated: Use processId() instead [-Wdeprecated-declarations]
265 | Q_PID psPID = process.pid();
| ~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:21:
/usr/include/qt5/QtCore/qprocess.h:237:11: note: declared here
237 | Q_PID pid() const;
| ^~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::updateStatus(const Process*)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:374:37: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
374 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:374:37: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
374 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::onRefresh()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:394:22: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const Process*, const Process*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
394 | qSort(m_processList.begin(), m_processList.end(), compareProcess);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qobject.h:49:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
CMake Warning:
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
ECM_MKSPECS_INSTALL_DIR
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp: In member function ‘void BookmarksMenu::onAddBookmark()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:76: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
In file included from /usr/include/qt5/QtCore/QString:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/version.h:5,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:76: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:91: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:221:91: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
221 | auto *nameField = new QLineEdit(makeText(action, trigger, QString::null, QString::null));
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:249:22: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const BookmarkAction*, const BookmarkAction*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
249 | qSort(list()->begin(), list()->end(), compareBookmarkAction);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtGui/qicon.h:45,
from /usr/include/qt5/QtWidgets/qabstractbutton.h:44,
from /usr/include/qt5/QtWidgets/qcheckbox.h:44,
from /usr/include/qt5/QtWidgets/QCheckBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/config.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.h:23:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp: In member function ‘void BookmarksMenu::onUpdateMenu()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:67: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:67: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:82: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/bookmarks.cpp:287:82: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
287 | QString text = makeText(action, trigger, QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/RXO3RCPMQD/moc_processmonitor.cpp:10,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/mocs_compilation.cpp:12:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/RXO3RCPMQD/../../../../src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qcombobox.h:44,
from /usr/include/qt5/QtWidgets/QComboBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/T4QKTR7IAB/../../../../src/actions/bootentry.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/T4QKTR7IAB/moc_bootentry.cpp:10,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/mocs_compilation.cpp:2:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/build/src/kshutdown_autogen/RXO3RCPMQD/../../../../src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp: In static member function ‘static QString CLI::getOption(const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:99:44: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
99 | return option.isEmpty() ? QString::null : option;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/commandline.cpp:99:44: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
99 | return option.isEmpty() ? QString::null : option;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp: In function ‘bool commonStartup(const QStringList&, const QCommandLineOption&, bool, bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp:52:32: warning: ‘QTextStream& QTextStreamFunctions::endl(QTextStream&)’ is deprecated: Use Qt::endl [-Wdeprecated-declarations]
52 | out << text << endl;
| ^~~~
In file included from /usr/include/qt5/QtCore/QTextStream:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/log.h:22,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/main.cpp:20:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: declared here
293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual bool KShutdown::DateTimeTriggerBase::canActivateAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:119:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
119 | QString id = QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:119:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
119 | QString id = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘QString KShutdown::DateTimeTriggerBase::createStatus(const QDateTime&, int&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:241:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
241 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:241:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
241 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual QString KShutdown::DateTimeTrigger::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:271:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
271 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:271:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
271 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In member function ‘virtual QString KShutdown::TimeFromNowTrigger::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:363:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
363 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:363:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
363 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In constructor ‘KShutdown::PowerAction::PowerAction(const QString&, const QString&, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:401:31: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
401 | m_methodName(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:401:31: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
401 | m_methodName(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp: In constructor ‘KShutdown::RebootAction::RebootAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:1238:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1238 | QString::null, "reboot", U_SHUTDOWN_TYPE_REBOOT),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.cpp:1238:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1238 | QString::null, "reboot", U_SHUTDOWN_TYPE_REBOOT),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:35:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In member function ‘void MainWindow::setActive(bool, bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:389:41: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
389 | m_lastNotificationID = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:389:41: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
389 | m_lastNotificationID = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:416:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
416 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In constructor ‘MainWindow::MainWindow()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:584:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
584 | m_lastNotificationID(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:584:39: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
584 | m_lastNotificationID(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:665:42: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
665 | setTitle(QString::null, QString::null);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In lambda function:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:859:40: warning: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
859 | QProcess::startDetached("kcmshell5 autostart kcmkded kcmnotify kcmsmserver kcm_energyinfo kcm_sddm kcm_splashscreen keys powerdevilprofilesconfig screenlocker");
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:30:
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
280 | static bool startDetached(const QString &command);
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp: In member function ‘void MainWindow::onStatusChange(bool)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:1413:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1413 | ? QString::null
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/mainwindow.cpp:1413:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
1413 | ? QString::null
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp: In static member function ‘static bool PasswordDialog::authorize(QWidget*, const QString&, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:121:63: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
121 | QString password = ok ? dialog->password() : QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qdialog.h:44,
from /usr/include/qt5/QtWidgets/QDialog:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:121:63: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
121 | QString password = ok ? dialog->password() : QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp: In member function ‘void PasswordDialog::updateStatus()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:198:52: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
198 | m_status->setText(QString::null, InfoWidget::Type::Error);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/password.cpp:198:52: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
198 | m_status->setText(QString::null, InfoWidget::Type::Error);
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:30:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp: In constructor ‘Base::Base(const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:44:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
44 | m_disableReason(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:44:34: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
44 | m_disableReason(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:45:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
45 | m_error(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:45:26: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
45 | m_error(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:47:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
47 | m_originalText(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:47:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
47 | m_originalText(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:48:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
48 | m_status(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:48:27: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
48 | m_status(QString::null),
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp: In member function ‘void Action::slotFire()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:367:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
367 | m_error = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/plugins.cpp:367:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
367 | m_error = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp: In static member function ‘static bool UDialog::confirm(QWidget*, const QString&)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp:67:42: warning: ‘KMessageBox::ButtonCode KMessageBox::questionYesNo(QWidget*, const QString&, const QString&, const KGuiItem&, const KGuiItem&, const QString&, Options)’ is deprecated: Since 5.100. Use questionTwoActions() [-Wdeprecated-declarations]
67 | return KMessageBox::questionYesNo(
| ~~~~~~~~~~~~~~~~~~~~~~~~~~^
68 | parent, text, i18n("Confirm"),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | KStandardGuiItem::ok(), KStandardGuiItem::cancel()
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | ) == KMessageBox::Yes;
| ~
In file included from /usr/include/KF5/KWidgetsAddons/KMessageBox:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/udialog.cpp:25:
/usr/include/KF5/KWidgetsAddons/kmessagebox.h:143:12: note: declared here
143 | ButtonCode questionYesNo(QWidget *parent,
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp: In static member function ‘static QString Utils::getUser()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:74:25: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
74 | return QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qcoreapplication.h:44,
from /usr/include/qt5/QtWidgets/qapplication.h:44,
from /usr/include/qt5/QtWidgets/QApplication:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/utils.cpp:74:25: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
74 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp: In member function ‘virtual bool LockAction::onAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:73:45: warning: ‘static bool QProcess::startDetached(const QString&)’ is deprecated: Use QProcess::startDetached(const QString &program, const QStringList &arguments) instead [-Wdeprecated-declarations]
73 | if (!QProcess::startDetached(customCommand))
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:23:
/usr/include/qt5/QtCore/qprocess.h:280:17: note: declared here
280 | static bool startDetached(const QString &command);
| ^~~~~~~~~~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:100:79: warning: ‘const QRect QDesktopWidget::screenGeometry(int) const’ is deprecated: Use QGuiApplication::screens() [-Wdeprecated-declarations]
100 | QRect screenGeometry = QApplication::desktop()->screenGeometry();
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtWidgets/QDesktopWidget:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/lock.cpp:33:
/usr/include/qt5/QtWidgets/qdesktopwidget.h:79:67: note: declared here
79 | QT_DEPRECATED_X("Use QGuiApplication::screens()") const QRect screenGeometry(int screen = -1) const;
| ^~~~~~~~~~~~~~
In file included from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:18:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:21:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.h:61:35: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
61 | QString m_user = QString::null; // an owner of the process (e.g. "root")
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In member function ‘virtual bool Extras::onAction()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:120:39: warning: ‘void QProcess::start(const QString&, QIODevice::OpenMode)’ is deprecated: Use QProcess::start(const QString &program, const QStringList &arguments,OpenMode mode = ReadWrite) instead [-Wdeprecated-declarations]
120 | process->start(exec);
| ~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:24:
/usr/include/qt5/QtCore/qprocess.h:168:10: note: declared here
168 | void start(const QString &command, OpenMode mode = ReadWrite);
| ^~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In constructor ‘Extras::Extras()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:182:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
182 | m_command(QString::null) {
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.h:22,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:182:28: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
182 | m_command(QString::null) {
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::refreshProcessList()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:265:34: warning: ‘Q_PID QProcess::pid() const’ is deprecated: Use processId() instead [-Wdeprecated-declarations]
265 | Q_PID psPID = process.pid();
| ~~~~~~~~~~~^~
In file included from /usr/include/qt5/QtCore/QProcess:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../utils.h:23,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:21:
/usr/include/qt5/QtCore/qprocess.h:237:11: note: declared here
237 | Q_PID pid() const;
| ^~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp: In member function ‘void Extras::setCommandAction(const CommandAction*)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:384:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
384 | m_command = QString::null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::updateStatus(const Process*)’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:374:37: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
374 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:374:37: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
374 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/actions/extras.cpp:384:38: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
384 | m_command = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp: In member function ‘void ProcessMonitor::onRefresh()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/processmonitor.cpp:394:22: warning: ‘void qSort(RandomAccessIterator, RandomAccessIterator, LessThan) [with RandomAccessIterator = QList::iterator; LessThan = bool (*)(const Process*, const Process*)]’ is deprecated: Use std::sort [-Wdeprecated-declarations]
394 | qSort(m_processList.begin(), m_processList.end(), compareProcess);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt5/QtCore/qlist.h:43,
from /usr/include/qt5/QtCore/qobject.h:49:
/usr/include/qt5/QtCore/qalgorithms.h:181:46: note: declared here
181 | QT_DEPRECATED_X("Use std::sort") inline void qSort(RandomAccessIterator start, RandomAccessIterator end, LessThan lessThan)
| ^~~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp: In member function ‘virtual QString IdleMonitor::getStringOption()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:110:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
110 | return QString::null;
| ^~~~
In file included from /usr/include/qt5/QtCore/qobject.h:47,
from /usr/include/qt5/QtWidgets/qwidget.h:45,
from /usr/include/qt5/QtWidgets/qframe.h:44,
from /usr/include/qt5/QtWidgets/QFrame:1,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../infowidget.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/../kshutdown.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.h:21,
from /var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:18:
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:110:33: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
110 | return QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp: In member function ‘virtual void IdleMonitor::updateStatus()’:
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:173:29: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
173 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~
/var/pisi/kshutdown-5.2-4/work/kshutdown-5.2/src/triggers/idlemonitor.cpp:173:29: warning: ‘QString::null’ is deprecated: use QString() [-Wdeprecated-declarations]
173 | m_status = QString::null;
| ^~~~
/usr/include/qt5/QtCore/qstring.h:951:23: note: declared here
951 | static const Null null;
| ^~~~