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

Android Qt 6.5.0 build error #235

Open
jhay06 opened this issue Apr 26, 2023 · 0 comments
Open

Android Qt 6.5.0 build error #235

jhay06 opened this issue Apr 26, 2023 · 0 comments

Comments

@jhay06
Copy link

jhay06 commented Apr 26, 2023

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.

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