On Thu, 5 Nov 2020 at 08:45, Dario Lesca <d.le...@solinos.it> wrote: > When I try an application on Fedora 33 QT 5.15.1 I get this error: >
Is this application part of Fedora 33 or from 3rd party? > ../src/model/TransactionHistorySortFilterModel.cpp: In member function > ‘virtual bool TransactionHistorySortFilterModel::filterAcceptsRow(int, > const QModelIndex&) const’: > ../src/model/TransactionHistorySortFilterModel.cpp:207:60: error: > ‘QDateTime::QDateTime(const QDate&)’ is deprecated: Use QDate::startOfDay() > [-Werror=deprecated-declarations] > 207 | QDateTime from = QDateTime(dateFromFilter()); > | ^ > In file included from /usr/include/qt5/QtCore/QDateTime:1, > from ../src/libwalletqt/TransactionInfo.h:34, > from > ../src/model/TransactionHistorySortFilterModel.h:32, > from > ../src/model/TransactionHistorySortFilterModel.cpp:29: > /usr/include/qt5/QtCore/qdatetime.h:298:57: note: declared here > 298 | QT_DEPRECATED_X("Use QDate::startOfDay()") explicit > QDateTime(const QDate &); > | > ^~~~~~~~~ > > I'm not a cpp programmer and I do not know how to modify the deprecated > function whit the proposed solution. > > Someone can help me? > For problems like this it is best to report "upstream" so other users won't be meeting the same issue. For a Fedora application, file a bugzilla report, otherwise, contact the developer. If the application is orphaned you may want to look for another app that satisfies your requirements and has upstream support. -- George N. White III
_______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org