GarageMeasurement.pro 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2019-10-17T11:19:58
  4. #
  5. #-------------------------------------------------
  6. CONFIG += c++11
  7. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  8. TARGET = GarageMeasurement
  9. TEMPLATE = app
  10. QMAKE_CXXFLAGS += -std=c++0x
  11. # The following define makes your compiler emit warnings if you use
  12. # any feature of Qt which has been marked as deprecated (the exact warnings
  13. # depend on your compiler). Please consult the documentation of the
  14. # deprecated API in order to know how to port your code away from it.
  15. DEFINES += QT_DEPRECATED_WARNINGS
  16. # You can also make your code fail to compile if you use deprecated APIs.
  17. # In order to do so, uncomment the following line.
  18. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  19. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  20. # add pcl
  21. INCLUDEPATH += /usr/include/eigen3
  22. #INCLUDEPATH += /usr/include/vtk-6.2
  23. #LIBS += /usr/lib/x86_64-linux-gnu/libvtk*.so
  24. INCLUDEPATH += /usr/include/boost
  25. LIBS += /usr/lib/x86_64-linux-gnu/libboost_*.so
  26. INCLUDEPATH += /usr/include/pcl-1.7/
  27. LIBS += /usr/lib/x86_64-linux-gnu/libpcl_*.so
  28. # add opencv 34
  29. INCLUDEPATH += /opt/ros/kinetic/include/opencv-3.3.1-dev
  30. DEPENDPATH += /opt/ros/kinetic/lib/x86_64-linux-gnu/
  31. LIBS += /opt/ros/kinetic/lib/x86_64-linux-gnu/libopencv_*.so
  32. #livox sdk apr lib
  33. LIBS += /usr/local/lib/liblivox_sdk_static.a
  34. LIBS += /usr/local/apr/lib/libapr-1.a
  35. # glog protobuf gflags
  36. LIBS += /usr/local/lib/libglog.a
  37. LIBS += /usr/local/lib/libgflags.a
  38. LIBS += /usr/local/lib/libprotobuf.a
  39. # modubus
  40. INCLUDEPATH += /usr/local/include/modbus
  41. LIBS += /usr/local/lib/libmodbus.so
  42. #cuda
  43. LIBS += /usr/local/cuda/lib64/libcublas.so
  44. LIBS += /usr/local/cuda/lib64/libcusolver.so
  45. LIBS += /usr/local/cuda/lib64/libcudnn.so
  46. LIBS += /usr/local/cuda/lib64/libcudart.so
  47. LIBS += /usr/local/cuda/lib64/libcurand.so
  48. LIBS += /usr/local/cuda/lib64/libcufft.so
  49. # nnxx
  50. INCLUDEPATH += /usr/local/include
  51. LIBS += /usr/local/lib/libnanomsg.so
  52. LIBS += /usr/local/lib/libnnxx.a
  53. SOURCES += \
  54. laser/Laser.cpp \
  55. laser/LivoxLaser.cpp \
  56. laser/LivoxMid100Laser.cpp \
  57. laser/LogFiles.cpp \
  58. laser/Point2D.cpp \
  59. laser/Point3D.cpp \
  60. src/CalibParam.pb.cc \
  61. src/StdCondition.cpp \
  62. main.cpp \
  63. mainwindow.cpp \
  64. modbus/LibmodbusWrapper.cpp \
  65. modbus/PLCMonitor.cpp \
  66. modbus/Runnable.cpp \
  67. TaskQueue/BaseTask.cpp \
  68. TaskQueue/ThreadTaskQueue.cpp \
  69. TaskQueue/TQFactory.cpp \
  70. src/measuretask.cpp \
  71. Process.cpp \
  72. src/pathcreator.cpp \
  73. laser/LivoxHubLaser.cpp \
  74. laser/Sick511FileLaser.cpp \
  75. laser/TcpLaser.cpp \
  76. laser/UdpLaser.cpp
  77. HEADERS += \
  78. laser/Laser.h \
  79. laser/LivoxLaser.h \
  80. laser/LivoxMid100Laser.h \
  81. laser/LogFiles.h \
  82. laser/Point2D.h \
  83. laser/Point3D.h \
  84. src/CalibParam.pb.h \
  85. src/StdCondition.h \
  86. mainwindow.h \
  87. modbus/LibmodbusWrapper.h \
  88. modbus/PLCMonitor.h \
  89. modbus/Runnable.h \
  90. TaskQueue/threadpp/impl/pthread_lock.h \
  91. TaskQueue/threadpp/impl/pthread_lock.hpp \
  92. TaskQueue/threadpp/impl/pthread_thread.h \
  93. TaskQueue/threadpp/impl/pthread_thread.hpp \
  94. TaskQueue/threadpp/impl/std_lock.h \
  95. TaskQueue/threadpp/impl/std_lock.hpp \
  96. TaskQueue/threadpp/impl/std_thread.h \
  97. TaskQueue/threadpp/impl/std_thread.hpp \
  98. TaskQueue/threadpp/impl/win_lock.h \
  99. TaskQueue/threadpp/impl/win_lock.hpp \
  100. TaskQueue/threadpp/impl/win_thread.h \
  101. TaskQueue/threadpp/impl/win_thread.hpp \
  102. TaskQueue/threadpp/recursive_lock.h \
  103. TaskQueue/threadpp/threadpp.h \
  104. TaskQueue/threadpp/threadpp_assert.h \
  105. TaskQueue/BaseTask.h \
  106. TaskQueue/TaskPool.h \
  107. TaskQueue/ThreadTaskQueue.h \
  108. TaskQueue/TQFactory.h \
  109. TaskQueue/TQInterface.h \
  110. src/measuretask.h \
  111. Process.h \
  112. src/pathcreator.h \
  113. laser/LivoxHubLaser.h \
  114. qtmessagedef.h \
  115. laser/Sick511FileLaser.h \
  116. laser/TcpLaser.h \
  117. laser/UdpLaser.h
  118. FORMS += \
  119. mainwindow.ui
  120. win32:CONFIG(release, debug|release): LIBS += -L$$PWD/../../../../../usr/local/lib/release/ -lnanomsg
  121. else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/../../../../../usr/local/lib/debug/ -lnanomsg
  122. else:unix: LIBS += -L$$PWD/../../../../../usr/local/lib/ -lnanomsg
  123. INCLUDEPATH += $$PWD/''
  124. DEPENDPATH += $$PWD/''