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

            Bug ID: 424820
           Summary: Tests are failing: missing #include<QDebug>
           Product: frameworks-karchive
           Version: unspecified
          Platform: Compiled Sources
                OS: All
            Status: REPORTED
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: fa...@kde.org
          Reporter: gm...@ratijas.tk
                CC: kdelibs-b...@kde.org
  Target Milestone: ---

SUMMARY

Tests are failing (compile-time) on qDebug() because QDebug is not #included.

As far as I can tell, there are many commented out lines of //qDebug() in the
code, but this particular one is un-commented, and #include <QDebug> is
missing.

https://invent.kde.org/frameworks/karchive/-/blob/f83a898885391308ba59306c42daf74cb3f26296/autotests/karchivetest.cpp#L364

STEPS TO REPRODUCE
1. Compile from source
2. Run tests

OBSERVED RESULT

> /home/travis/build/labsquare/FastQt/karchive/autotests/karchivetest.cpp: In 
> member function ‘void KArchiveTest::initTestCase()’:
> /home/travis/build/labsquare/FastQt/karchive/autotests/karchivetest.cpp:364:16:
>  error: invalid use of incomplete type ‘class QDebug’
>          qDebug() << errno;

https://cdn.travis-ci.org/github/labsquare/FastQt/builds/713213447#L751

EXPECTED RESULT

Tests compile and pass.

SOFTWARE/OS VERSIONS
TravisCI / irrelevant

ADDITIONAL INFORMATION

Affected GitHub issue: https://github.com/labsquare/FastQt/issues/98

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

Reply via email to