Summary: | trojita: test_Imap_BodyParts.cpp fails to compile with qt 5.13 gcc 9.2 | ||
---|---|---|---|
Product: | [Applications] trojita | Reporter: | Turtle <turtle> |
Component: | Other | Assignee: | Trojita default assignee <trojita-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | espen |
Priority: | NOR | ||
Version: | 0.7 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | patch |
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