detection_ultrasonic.pro 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  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. QMAKE_LFLAGS += -no-pie
  15. HEADERS += \
  16. ../../include/msgtype/ultrasonic.pb.h \
  17. ../../include/msgtype/ultraarea.pb.h
  18. SOURCES += main.cpp \
  19. ../../include/msgtype/ultrasonic.pb.cc \
  20. ../../include/msgtype/ultraarea.pb.cc
  21. INCLUDEPATH += $$PWD/../../include/msgtype
  22. LIBS += -lprotobuf
  23. !include(../../../include/common.pri ) {
  24. error( "Couldn't find the common.pri file!" )
  25. }