Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

In Qt6.5.2, QList and QVector cannot be adapted. In addition, QLinkedList and QStringRef types have been discarded in Qt6. 在Qt6.5.2版本中,无法适配QList和QVector,另外QLinkedList和QStringRef类型已经在Qt6中舍弃 #859

Open

Description

@1113116708

/home/sdari/easyloggingpp/src/easylogging++.h:2904: error: ‘template el::base::MessageBuilder& el::base::MessageBuilder::operator<<(QVector&)’ cannot be overloaded with ‘template el::base::MessageBuilder& el::base::MessageBuilder::operator<<(const QList&)’
In file included from ../../../src/easylogging++.cc:13:
../../../src/easylogging++.h:2904:24: error: ‘template el::base::MessageBuilder& el::base::MessageBuilder::operator<<(QVector&)’ cannot be overloaded with ‘template el::base::MessageBuilder& el::base::MessageBuilder::operator<<(const QList&)’
2904 | inline MessageBuilder& operator<<(const temp& template_inst) {
| ^~~~~~~~
../../../src/easylogging++.h:3025:3: note: in expansion of macro ‘ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG’
3025 | ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG(QVector)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../src/easylogging++.h:2904:24: note: previous declaration ‘template el::base::MessageBuilder& el::base::MessageBuilder::operator<<(const QList&)’
2904 | inline MessageBuilder& operator<<(const temp& template_inst) {
| ^~~~~~~~
../../../src/easylogging++.h:3024:3: note: in expansion of macro ‘ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG’
3024 | ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG(QList)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions