engauge-digitizer icon indicating copy to clipboard operation
engauge-digitizer copied to clipboard

Some test are failing on gentoo amd64

Open domichel opened this issue 5 months ago • 2 comments

As the gentoo package only show a window with 2 empty tabs with the Help->Help menu, I compiled engauge from the git and it run fine.

When running the test, I get a few failures. The cli log file:

Test/TestSegmentFill.cpp: Dans la fonction membre « void TestSegmentFill::testFindSegments() »:
Test/TestSegmentFill.cpp:112:52: attention: « QTextStream& QTextStreamFunctions::endl(QTextStream&) » est obsolète: Use Qt::endl [-Wdeprecated-declarations]
  112 |         outStr << point.x() << " " << point.y() << endl;
      |                                                    ^~~~
Dans le fichier inclus depuis /usr/include/qt5/QtCore/QTextStream:1,
                 depuis Test/TestSegmentFill.cpp:9:
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: déclaré ici
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
Test/TestSegmentFill.cpp:112:52: attention: « QTextStream& QTextStreamFunctions::endl(QTextStream&) » est obsolète: Use Qt::endl [-Wdeprecated-declarations]
  112 |         outStr << point.x() << " " << point.y() << endl;
      |                                                    ^~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: déclaré ici
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
Test/TestSegmentFill.cpp:116:17: attention: « QTextStream& QTextStreamFunctions::endl(QTextStream&) » est obsolète: Use Qt::endl [-Wdeprecated-declarations]
  116 |       outStr << endl;
      |                 ^~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: déclaré ici
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~
Test/TestSegmentFill.cpp:116:17: attention: « QTextStream& QTextStreamFunctions::endl(QTextStream&) » est obsolète: Use Qt::endl [-Wdeprecated-declarations]
  116 |       outStr << endl;
      |                 ^~~~
/usr/include/qt5/QtCore/qtextstream.h:293:75: note: déclaré ici
  293 | Q_CORE_EXPORT QT_DEPRECATED_VERSION_X(5, 15, "Use Qt::endl") QTextStream &endl(QTextStream &s);
      |                                                                           ^~~~

domichel avatar Sep 22 '24 19:09 domichel