ftylitak/qzxing

Android Qt 6.5.0 build error

Opened this issue ยท 0 comments

Got an error
/home/jhay/QrScanner/main.cpp:16: referenced by main.cpp:16 (/home/jhay/QrScanner/main.cpp:16)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: error: undefined symbol: QZXing::setDecoder(unsigned int const&)
/home/jhay/QrScanner/main.cpp:18: referenced by main.cpp:18 (/home/jhay/QrScanner/main.cpp:18)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: error: undefined symbol: QZXing::setSourceFilterType(unsigned int)
/home/jhay/QrScanner/main.cpp:22: referenced by main.cpp:22 (/home/jhay/QrScanner/main.cpp:22)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: error: undefined symbol: QZXing::setTryHarderBehaviour(unsigned int)
/home/jhay/QrScanner/main.cpp:23: referenced by main.cpp:23 (/home/jhay/QrScanner/main.cpp:23)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: error: undefined symbol: QZXing::decodeImage(QImage const&, int, int, bool)
/home/jhay/QrScanner/main.cpp:26: referenced by main.cpp:26 (/home/jhay/QrScanner/main.cpp:26)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: error: undefined symbol: QZXing::~QZXing()
/home/jhay/QrScanner/main.cpp:29: referenced by main.cpp:29 (/home/jhay/QrScanner/main.cpp:29)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
/home/jhay/QrScanner/main.cpp:29: referenced by main.cpp:29 (/home/jhay/QrScanner/main.cpp:29)
/home/jhay/build-QrScanner-Android_Qt_6_5_0_Clang_x86_64-Debug/CMakeFiles/appQrScanner.dir/main.cpp.o:-1: CMakeFiles/appQrScanner.dir/main.cpp.o:(main)
๐Ÿ‘Ž error: linker command failed with exit code 1 (use -v to see invocation)
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.