adc_cantool.pro 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. #-------------------------------------------------
  2. #
  3. # Project created by QtCreator 2023-01-12T09:44:18
  4. #
  5. #-------------------------------------------------
  6. lessThan(QT_MAJOR_VERSION, 5): error("requires Qt 5")
  7. QT += core gui
  8. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  9. QT += charts
  10. QT += network
  11. QT += xml
  12. QT += charts
  13. QT += serialport
  14. CONFIG += ordered warn_on qt debug_and_release
  15. CONFIG += c++11
  16. TARGET = adc_cantool_driverEnable
  17. TEMPLATE = app
  18. QMAKE_LFLAGS += -no-pie
  19. CONFIG += warn_on
  20. CONFIG += link_pkgconfig
  21. DEFINES += CHECK_FOR_CHERRY
  22. #DESTDIR = ./bin
  23. #MOC_DIR = ./build/moc
  24. #RCC_DIR = ./build/rcc
  25. #UI_DIR = ./build/ui
  26. unix:OBJECTS_DIR = ./build/o/unix
  27. win32:OBJECTS_DIR = ./build/o/win32
  28. macx:OBJECTS_DIR = ./build/o/mac
  29. # The following define makes your compiler emit warnings if you use
  30. # any feature of Qt which has been marked as deprecated (the exact warnings
  31. # depend on your compiler). Please consult the documentation of the
  32. # deprecated API in order to know how to port your code away from it.
  33. DEFINES += QT_DEPRECATED_WARNINGS
  34. # You can also make your code fail to compile if you use deprecated APIs.
  35. # In order to do so, uncomment the following line.
  36. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  37. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  38. SOURCES += \
  39. main.cpp \
  40. mainwindow.cpp
  41. HEADERS += \
  42. mainwindow.h
  43. FORMS += \
  44. mainwindow.ui
  45. include($$PWD/core/core.pri)
  46. include($$PWD/driver/driver.pri)
  47. include($$PWD/parser/dbc/dbc.pri)
  48. include($$PWD/window/TraceWindow/TraceWindow.pri)
  49. include($$PWD/window/SetupDialog/SetupDialog.pri)
  50. include($$PWD/window/LogWindow/LogWindow.pri)
  51. include($$PWD/window/GraphWindow/GraphWindow.pri)
  52. include($$PWD/window/CanStatusWindow/CanStatusWindow.pri)
  53. include($$PWD/window/RawTxWindow/RawTxWindow.pri)
  54. include($$PWD/window/ChassisAnalysisWindow/ChassisAnalysisWindow.pri)
  55. #include($$PWD/window/ShenLanChassisAnalysisWindow/ShenLanChassisAnalysisWindow.pri)
  56. unix:PKGCONFIG += libnl-3.0
  57. unix:PKGCONFIG += libnl-route-3.0
  58. unix:include($$PWD/driver/SocketCanDriver/SocketCanDriver.pri)
  59. include($$PWD/driver/CANBlastDriver/CANBlastDriver.pri)
  60. include($$PWD/driver/SLCANDriver/SLCANDriver.pri)
  61. win32:include($$PWD/driver/CandleApiDriver/CandleApiDriver.pri)
  62. RESOURCES += \
  63. cantool.qrc