Created attachment 125421 [details] patch SUMMARY A redefinition of ‘char* QTest::toString(const T&) in test_Imap_BodyParts.cpp When compiling trojita-0.7/tests/Imap/test_Imap_BodyParts.cpp:56:7: I get the following error: redefinition of ‘char* QTest::toString(const T&) [with T = QModelIndex]’ STEPS TO REPRODUCE 1. Install gcc 9.2, qt 5.13.2, kde 2. download trojita 3. Compile will fail (Gentoo) Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.64.0 Qt Version: 5.13.2 ADDITIONAL INFORMATION Commenting out the redefinition fixes the compile failure. Not sure if it causes any other issues. Thank you
Fixed in https://invent.kde.org/pim/trojita/-/commit/39772585033c1c0aff96f297e93de7be53f9b114