Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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
1113116708 opened this issue Nov 25, 2024 · 0 comments

Comments

@1113116708
Copy link

/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)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant