On Thu, 5 Nov 2020 at 08:45, Dario Lesca <d.lesca@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