smartPdu.pro 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. QT += core gui serialport serialbus
  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. channelinfo.cpp \
  15. gpiobutten.cpp \
  16. kongbai.cpp \
  17. landscape.cpp \
  18. main.cpp \
  19. mainwindow.cpp \
  20. modbus/modbus-data.c \
  21. modbus/modbus-rtu.c \
  22. modbus/modbus-tcp.c \
  23. modbus/modbus.c \
  24. portraitmode.cpp \
  25. readmodbus.cpp \
  26. softkeyboard.cpp \
  27. time/mytime.c
  28. HEADERS += \
  29. channelinfo.h \
  30. gpiobutten.h \
  31. kongbai.h \
  32. landscape.h \
  33. mainwindow.h \
  34. modbus/config.h \
  35. modbus/modbus-private.h \
  36. modbus/modbus-rtu-private.h \
  37. modbus/modbus-rtu.h \
  38. modbus/modbus-tcp-private.h \
  39. modbus/modbus-tcp.h \
  40. modbus/modbus-version.h \
  41. modbus/modbus.h \
  42. portraitmode.h \
  43. readmodbus.h \
  44. softkeyboard.h \
  45. time/mytime.h
  46. FORMS += \
  47. channelinfo.ui \
  48. kongbai.ui \
  49. landscape.ui \
  50. mainwindow.ui \
  51. portraitmode.ui \
  52. softkeyboard.ui
  53. # LIBS += -lbsd
  54. # Default rules for deployment.
  55. qnx: target.path = /tmp/$${TARGET}/bin
  56. else: unix:!android: target.path = /opt/$${TARGET}/bin
  57. !isEmpty(target.path): INSTALLS += target
  58. RESOURCES += \
  59. resource/rec.qrc