Source: qtox
Version: 1.17.2-1
Severity: serious
User: debian-qt-...@lists.debian.org
Usertags: qt5.15
Control: block 972278 by -1

Dear Maintainer,

qtox autopkgtest failed when run against Qt 5.15 from unstable:

https://ci.debian.net/data/autopkgtest/testing/amd64/q/t/7855235/log.gz

The test failed because stderr contains some warnings from CMake:

  CMake Warning (dev) at 
/usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
    qt5_make_output_file is not part of the official API, and might be removed
    in Qt 6.
  Call Stack (most recent call first):
    /usr/lib/x86_64-linux-gnu/cmake/Qt5Core/Qt5CoreMacros.cmake:51 
(_qt5_warn_deprecated)
    cmake/Qt5CorePatches.cmake:74 (qt5_make_output_file)
    CMakeLists.txt:210 (qt5_add_resources)
  This warning is for project developers.  Use -Wno-dev to suppress it.
  ...

And some compiler warnings in addition to that:

  In file included from 
/tmp/autopkgtest-lxc.0ea2hy_t/downtmp/build.NYz/src/build/qtox_static_autogen/WFD7YQQOTJ/../../../src/widget/contentdialog.h:27,
                   from 
/tmp/autopkgtest-lxc.0ea2hy_t/downtmp/build.NYz/src/build/qtox_static_autogen/WFD7YQQOTJ/moc_contentdialog.cpp:10,
                   from 
/tmp/autopkgtest-lxc.0ea2hy_t/downtmp/build.NYz/src/build/qtox_static_autogen/mocs_compilation.cpp:56:
  
/tmp/autopkgtest-lxc.0ea2hy_t/downtmp/build.NYz/src/src/widget/genericchatitemlayout.h:36:100:
 warning: ‘constexpr QFlags<T>::QFlags(QFlags<T>::Zero) [with Enum = 
Qt::AlignmentFlag; QFlags<T>::Zero = int 
QFlags<Qt::AlignmentFlag>::Private::*]’ is deprecated: Use default constructor 
instead [-Wdeprecated-declarations]
     36 |     void addSortedWidget(GenericChatItemWidget* widget, int stretch = 
0, Qt::Alignment alignment = nullptr);
        |                                                                       
                             ^~~~~~~

See the log for the complete stderr contents.

Backporting these two upstream pull requests should help:

- https://github.com/qTox/qTox/pull/6148 (for CMake warnings)
- https://github.com/qTox/qTox/pull/6005 (for compiler warnings)

--
Dmitry Shachnev

Attachment: signature.asc
Description: PGP signature

Reply via email to