driver_rpc_server.pro 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. QT -= gui
  2. QT += dbus
  3. CONFIG += c++11 console
  4. CONFIG -= app_bundle
  5. # The following define makes your compiler emit warnings if you use
  6. # any feature of Qt which as been marked deprecated (the exact warnings
  7. # depend on your compiler). Please consult the documentation of the
  8. # deprecated API in order to know how to port your code away from it.
  9. DEFINES += QT_DEPRECATED_WARNINGS
  10. # You can also make your code fail to compile if you use deprecated APIs.
  11. # In order to do so, uncomment the following line.
  12. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  13. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  14. SOURCES += main.cpp \
  15. echo.pb.cc
  16. HEADERS += \
  17. echo.pb.h
  18. system("sysarch=$(dpkg --print-architecture) ;rm -r ../../..//thirdpartylib/BRPC/lib/lib;unzip ../../../thirdpartylib/BRPC/lib/$sysarch/lib.zip -d ../../..//thirdpartylib/BRPC/lib; ")
  19. INCLUDEPATH += $$PWD/../../../thirdpartylib/BRPC/include
  20. LIBS += -L$$PWD/../../../thirdpartylib/BRPC/lib/lib -lbrpc
  21. !include(../../../include/common.pri ) {
  22. error( "Couldn't find the common.pri file!" )
  23. }
  24. !include(../../../include/ivprotobuf.pri ) {
  25. error( "Couldn't find the ivprotobuf.pri file!" )
  26. }
  27. !include(../../../include/ivyaml-cpp.pri ) {
  28. error( "Couldn't find the ivyaml-cpp.pri file!" )
  29. }