https://bugs.kde.org/show_bug.cgi?id=416775

            Bug ID: 416775
           Summary: trojita: test_Imap_BodyParts.cpp fails to compile with
                    qt 5.13 gcc 9.2
           Product: trojita
           Version: 0.7
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Other
          Assignee: trojita-b...@kde.org
          Reporter: tur...@think-electric.com
  Target Milestone: ---

Created attachment 125421
  --> https://bugs.kde.org/attachment.cgi?id=125421&action=edit
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

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to