Error: 'QtCore/QTextCodec' file not found
hzxie opened this issue · 3 comments
hzxie commented
Line 17 in 63850d5
qzxing/src/QZXing.cpp:16: did not find header 'QTextCodec' in framework 'QtCore' (loaded from '/Applications/Qt/6.0.0/clang_64/lib')
ftylitak commented
I see you are building for Qt 6.
QTextCodec is in the "Compatibility APIs" so it will be changed at some point in QZXing. Until then you could add the following in your main .pro file.
QT += core5compat
hzxie commented
Thanks for your reply.
Actually, I just remind you to port to Qt 6 because core5compat
will be removed in the future.