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 complie? #211

Open
tangyoha opened this issue Apr 9, 2021 · 4 comments
Open

Android complie? #211

tangyoha opened this issue Apr 9, 2021 · 4 comments
Assignees
Labels
question Further information is requested

Comments

@tangyoha
Copy link

tangyoha commented Apr 9, 2021

Question
Hi @semlanik ,when I want to cross-compile qtprotobuf, I get the following error:

FAILED: src/wellknowntypes/generated/google/protobuf/struct.qpb.cpp src/wellknowntypes/generated/google/protobuf/struct.qpb.h 
cmd.exe /C "cd /D E:\Cplusplus\build-qtprotobuf-Android_for_armeabi_v7a_Clang_Qt_5_13_1_for_Android_ARMv7-Debug\src\wellknowntypes\generated && QT_PROTOBUF_OPTIONS=SIGNLE:QML:FOLDER E:/Cplusplus/build-qtprotobuf-Android_for_armeabi_v7a_Clang_Qt_5_13_1_for_Android_ARMv7-Debug/3rdparty/grpc/third_party/protobuf/protoc --plugin=protoc-gen-qtprotobufgen=E:/Cplusplus/build-qtprotobuf-Android_for_armeabi_v7a_Clang_Qt_5_13_1_for_Android_ARMv7-Debug/src/generator/qtprotobufgen --qtprotobufgen_out=E:/Cplusplus/build-qtprotobuf-Android_for_armeabi_v7a_Clang_Qt_5_13_1_for_Android_ARMv7-Debug/src/wellknowntypes/generated -I"E:/Cplusplus/qtprotobuf/3rdparty/grpc/third_party/protobuf/src/google/protobuf" -I"E:/Cplusplus/qtprotobuf/3rdparty/grpc/third_party/protobuf/src" E:/Cplusplus/qtprotobuf/3rdparty/grpc/third_party/protobuf/src/google/protobuf/struct.proto"
'QT_PROTOBUF_OPTIONS' Not an internal or external command, nor an executable program
Or batch file.

Env: Window10 Cmake 3.20.0 IDE:QtCreator4.10
Additional context
Add any other context or screenshots about the feature request here.

@tangyoha tangyoha added the question Further information is requested label Apr 9, 2021
@semlanik
Copy link
Owner

semlanik commented Apr 9, 2021

Cross-compiling doesn't work yet. At least I can not give you step-by-step instructions for now. This will be done soon. I already planned to spend this weekend to finally build QtProtobuf for ARM.

@cagnulein
Copy link

Cross-compiling doesn't work yet. At least I can not give you step-by-step instructions for now. This will be done soon. I already planned to spend this weekend to finally build QtProtobuf for ARM.

@semlanik hi! any news about this?

@semlanik
Copy link
Owner

Hi, unfortunately this project is in semi-abandoned state. Since I don't really want keep supporting it(I assume it's Qt5 version of QtProtobuf/QtGrpc) but if you ready for Qt6 and still want to use QtProtobuf/QtGrpc, it's part of official Qt delivery and includes Android support:
https://doc.qt.io/qt-6/qtgrpc-index.html

@cagnulein
Copy link

hah ok perfect @semlanik thanks for the fast answer. I guess I will do adhoc implementation for each platform so. Thanks!

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

No branches or pull requests

3 participants