view_ndtmatching.pro 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++14 # 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. mainwindow.cpp \
  16. ../../include/msgtype/ndtpos.pb.cc \
  17. ../../include/msgtype/relocate.pb.cc \
  18. ../../include/msgtype/pcdmap.pb.cc \
  19. ../../common/common/math/gnss_coordinate_convert.cpp \
  20. ../../include/msgtype/gps.pb.cc \
  21. ../../include/msgtype/gpsimu.pb.cc \
  22. ../../include/msgtype/imu.pb.cc \
  23. ../../include/msgtype/objectarray.pb.cc \
  24. ../../include/msgtype/object.pb.cc
  25. QMAKE_LFLAGS += -no-pie
  26. INCLUDEPATH += /opt/ros/kinetic/include
  27. INCLUDEPATH += /usr/include/pcl-1.8
  28. INCLUDEPATH += /usr/include/pcl-1.10
  29. INCLUDEPATH += /usr/include/pcl-1.7
  30. INCLUDEPATH += /usr/include/pcl-1.12
  31. INCLUDEPATH += /usr/include/eigen3
  32. INCLUDEPATH += /usr/include/vtk-6.3
  33. INCLUDEPATH += /usr/include/vtk-6.2
  34. INCLUDEPATH += /usr/include/vtk-7.1
  35. INCLUDEPATH += /usr/include/vtk-9.1
  36. INCLUDEPATH += $$PWD/../view_showxodrinvtk
  37. unix:LIBS += -lpcl_common\
  38. -lpcl_features\
  39. -lpcl_filters\
  40. -lpcl_io\
  41. -lpcl_io_ply\
  42. -lpcl_kdtree\
  43. -lpcl_keypoints\
  44. -lpcl_octree\
  45. -lpcl_outofcore\
  46. -lpcl_people\
  47. -lpcl_recognition\
  48. -lpcl_registration\
  49. -lpcl_sample_consensus\
  50. -lpcl_search\
  51. -lpcl_segmentation\
  52. -lpcl_surface\
  53. -lpcl_tracking\
  54. -lpcl_visualization
  55. LIBS += -lshowxodrinvtk
  56. #INCLUDEPATH += $$PWD/../../../include/
  57. #LIBS += -L$$PWD/../../../bin/ -lxmlparam -lmodulecomm -livlog -livfault
  58. INCLUDEPATH += $$PWD/../../common/common/math/
  59. LIBS += -lboost_system
  60. system(. /etc/lsb-release;echo $DISTRIB_RELEASE)
  61. #infile( /etc/lsb-release, DISTRIB_RELEASE, 22.04 ){
  62. #message("system is 22.04")
  63. #}
  64. infile( /etc/lsb-release, DISTRIB_RELEASE, 18.04 ){
  65. LIBS += -lvtkCommonExecutionModel-6.3 -lvtkCommonCore-6.3 -lvtkRenderingLOD-6.3 -lvtkRenderingCore-6.3 \
  66. -lvtkFiltersSources-6.3
  67. }
  68. infile( /etc/lsb-release, DISTRIB_RELEASE, 22.04 ){
  69. LIBS += -lvtkCommonExecutionModel-9.1 -lvtkCommonCore-9.1 -lvtkRenderingLOD-9.1 -lvtkRenderingCore-9.1 \
  70. -lvtkFiltersSources-9.1
  71. }
  72. infile( /etc/lsb-release, DISTRIB_RELEASE, 20.04 ){
  73. LIBS += -lvtkCommonExecutionModel-7.1 -lvtkCommonCore-7.1 -lvtkRenderingLOD-7.1 -lvtkRenderingCore-7.1 \
  74. -lvtkFiltersSources-7.1
  75. }
  76. FORMS += \
  77. mainwindow.ui
  78. HEADERS += \
  79. mainwindow.h \
  80. ../../include/msgtype/ndtpos.pb.h \
  81. ../../include/msgtype/relocate.pb.h \
  82. ../../include/msgtype/pcdmap.pb.h \
  83. ../../common/common/math/gnss_coordinate_convert.h \
  84. ../../include/msgtype/gps.pb.h \
  85. ../../include/msgtype/gpsimu.pb.h \
  86. ../../include/msgtype/imu.pb.h \
  87. ../../include/msgtype/objectarray.pb.h \
  88. ../../include/msgtype/object.pb.h
  89. !include(../../../include/common.pri ) {
  90. error( "Couldn't find the common.pri file!" )
  91. }
  92. !include(../../../include/ivprotobuf.pri ) {
  93. error( "Couldn't find the ivprotobuf.pri file!" )
  94. }
  95. INCLUDEPATH += $$PWD/../../common/common/license_local
  96. include($$PWD/../../common/common/license_local/adclicense.pri)