easyloggingpp
easyloggingpp copied to clipboard
Qt 6.4.0 easylogging++.h:444: error: QLinkedList: No such file or directory
Hi! I try compile my project on Qt 6.4.0 but failed. I added QT += core5compat to my .pro-file but it didn't help.
easyloggingpp/src/easylogging++.h:444:13: fatal error: QLinkedList: No such file or directory 444 | # include <QLinkedList>
How to fix it? Thanks!
Hi!
I compiled with the latest version of easylogging and Qt 6.4.0
Configuration:
- pro file
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
DEFINES += \
ELPP_QT_LOGGING \
ELPP_STRICT_SIZE_CHECK ELPP_UNICODE \
ELPP_MULTI_LOGGER_SUPPORT \
ELPP_THREAD_SAFE \
ELPP_UNICODE \
ELPP_NO_DEFAULT_LOG_FILE \
AUTO_INITIALIZE_EASYLOGGINGPP
- Change
#include <QString>
to#include <QStringRef>
- // ELPP_ITERATOR_CONTAINER_LOG_ONE_ARG(QList)
Hope that helps