123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- QT -= gui
- CONFIG += c++11 console
- CONFIG -= app_bundle
- # The following define makes your compiler emit warnings if you use
- # any feature of Qt which as been marked deprecated (the exact warnings
- # depend on your compiler). Please consult the documentation of the
- # deprecated API in order to know how to port your code away from it.
- DEFINES += QT_DEPRECATED_WARNINGS
- system(protoc -I=./../../include/proto3 --cpp_out=./../../include/msgtype ./../../include/proto3/uploadthreadmsg.proto)
- # You can also make your code fail to compile if you use deprecated APIs.
- # In order to do so, uncomment the following line.
- # You can also select to disable deprecated APIs only up to a certain version of Qt.
- #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
- SOURCES += main.cpp \
- ../driver_cloud_grpc_thread/uploadthreadmsg.grpc.pb.cc \
- ../../include/msgtype/uploadthreadmsg.pb.cc \
- grpcpc.cpp \
- ../../include/msgtype/cloud.pb.cc \
- ../../include/msgtype/rawpic.pb.cc \
- grpccivet.cpp \
- ../../../thirdpartylib/civetweb/CivetServer.cpp \
- ../../../thirdpartylib/civetweb/civetweb.c
- !include(../../../include/common.pri ) {
- error( "Couldn't find the common.pri file!" )
- }
- INCLUDEPATH += $$PWD/../../driver/driver_cloud_grpc_thread
- INCLUDEPATH += $$PWD/../../../thirdpartylib/grpc/include
- LIBS += -L$$PWD/../../../thirdpartylib/grpc/lib
- LIBS += -lprotobuf -lyaml-cpp
- LIBS += -lgrpc++_unsecure -lgrpc++_reflection -labsl_raw_hash_set -labsl_hashtablez_sampler -labsl_exponential_biased -labsl_hash -labsl_bad_variant_access -labsl_city -labsl_status -labsl_cord -labsl_str_format_internal -labsl_synchronization -labsl_graphcycles_internal -labsl_symbolize -labsl_demangle_internal -labsl_stacktrace -labsl_debugging_internal -labsl_malloc_internal -labsl_time -labsl_time_zone -labsl_civil_time -labsl_strings -labsl_strings_internal -labsl_throw_delegate -labsl_int128 -labsl_base -labsl_spinlock_wait -labsl_bad_optional_access -labsl_raw_logging_internal -labsl_log_severity
- HEADERS += \
- ../driver_cloud_grpc_thread/uploadthreadmsg.grpc.pb.h \
- ../../include/msgtype/uploadthreadmsg.pb.h \
- grpcpc.h \
- ../../include/msgtype/cloud.pb.h \
- ../../include/msgtype/rawpic.pb.h \
- grpccivet.h \
- ../../../thirdpartylib/civetweb/CivetServer.h \
- ../../../thirdpartylib/civetweb/civetweb.h
- INCLUDEPATH += $$PWD/../../../thirdpartylib/civetweb
- DEFINES += NO_SSL
- #DEFINES += NO_SSL_DL
- DEFINES += USE_WEBSOCKET
- LIBS += -ldl -lrt
|