OT: Rebuild QT application on Fedora 33

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



When I try an application on Fedora 33 QT 5.15.1 I get this error:

   ../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?

Many thanks

-- 
Dario Lesca
(inviato dal mio Linux Fedora 32 Workstation)
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux