You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

WasteSorting.pro 2.0 kB

5 years ago
5 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. QT += core gui multimedia multimediawidgets serialport network
  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. main.cpp \
  15. widget.cpp
  16. HEADERS += \
  17. widget.h \
  18. tensorflow.h
  19. FORMS += \
  20. widget.ui
  21. TRANSLATIONS += \
  22. WasteSorting_zh_CN.ts
  23. # Default rules for deployment.
  24. qnx: target.path = /tmp/$${TARGET}/bin
  25. else: unix:!android: target.path = /opt/$${TARGET}/bin
  26. !isEmpty(target.path): INSTALLS += target
  27. RESOURCES += \
  28. image.qrc
  29. INCLUDEPATH += /home/pi/tensorflow \
  30. /home/pi/tensorflow/tensorflow/lite/tools/make/downloads/flatbuffers/include
  31. LIBS += -L/home/pi/tensorflow/tensorflow/lite/tools/make/gen/rpi_armv7l/lib
  32. LIBS += -ltensorflow-lite -ldl
  33. INCLUDEPATH += /usr/local/include/opencv4 \
  34. /usr/local/include/opencv4/opencv2
  35. LIBS += /usr/local/lib/libopencv_calib3d.so \
  36. /usr/local/lib/libopencv_core.so \
  37. /usr/local/lib/libopencv_features2d.so \
  38. /usr/local/lib/libopencv_flann.so \
  39. /usr/local/lib/libopencv_highgui.so \
  40. /usr/local/lib/libopencv_imgcodecs.so \
  41. /usr/local/lib/libopencv_imgproc.so \
  42. /usr/local/lib/libopencv_ml.so \
  43. /usr/local/lib/libopencv_objdetect.so \
  44. /usr/local/lib/libopencv_photo.so \
  45. /usr/local/lib/libopencv_stitching.so \
  46. /usr/local/lib/libopencv_videoio.so \
  47. /usr/local/lib/libopencv_video.so \

No Description