driver_cloud_grpc_pc.pro 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++11
  4. # The following define makes your compiler emit warnings if you use
  5. # any Qt feature that has been marked deprecated (the exact warnings
  6. # depend on your compiler). Please consult the documentation of the
  7. # deprecated API in order to know how to port your code away from it.
  8. DEFINES += QT_DEPRECATED_WARNINGS
  9. # You can also make your code fail to compile if it uses deprecated APIs.
  10. # In order to do so, uncomment the following line.
  11. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  12. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  13. SOURCES += \
  14. ../../include/msgtype/cloud.pb.cc \
  15. ../../include/msgtype/uploadmsg.pb.cc \
  16. main.cpp \
  17. mainwindow.cpp \
  18. uploadmsg.grpc.pb.cc \
  19. grpcpc.cpp
  20. HEADERS += \
  21. ../../include/msgtype/cloud.pb.h \
  22. ../../include/msgtype/uploadmsg.pb.h \
  23. mainwindow.h \
  24. uploadmsg.grpc.pb.h \
  25. grpcpc.h
  26. FORMS += \
  27. mainwindow.ui
  28. # Default rules for deployment.
  29. qnx: target.path = /tmp/$${TARGET}/bin
  30. else: unix:!android: target.path = /opt/$${TARGET}/bin
  31. !isEmpty(target.path): INSTALLS += target
  32. !include(../../../include/common.pri ) {
  33. error( "Couldn't find the common.pri file!" )
  34. }
  35. !include(../../../include/ivprotobuf.pri ) {
  36. error( "Couldn't find the ivprotobuf.pri file!" )
  37. }
  38. !include(../../../include/ivboost.pri ) {
  39. error( "Couldn't find the ivboost.pri file!" )
  40. }
  41. !include(../../../include/ivgrpc.pri ) {
  42. error( "Couldn't find the ivgrpc.pri file!" )
  43. }
  44. !include(../../../include/ivyaml-cpp.pri ) {
  45. error( "Couldn't find the ivyaml-cpp.pri file!" )
  46. }