您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

64 行
1.5 KiB

  1. QT += core gui
  2. QT += serialport
  3. QT += serialbus
  4. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  5. CONFIG += c++11
  6. # The following define makes your compiler emit warnings if you use
  7. # any Qt feature that has been marked deprecated (the exact warnings
  8. # depend on your compiler). Please consult the documentation of the
  9. # deprecated API in order to know how to port your code away from it.
  10. DEFINES += QT_DEPRECATED_WARNINGS
  11. # You can also make your code fail to compile if it uses deprecated APIs.
  12. # In order to do so, uncomment the following line.
  13. # You can also select to disable deprecated APIs only up to a certain version of Qt.
  14. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  15. SOURCES += \
  16. button.cpp \
  17. coil.cpp \
  18. comparator.cpp \
  19. connection.cpp \
  20. contact.cpp \
  21. creatitem.cpp \
  22. hmi.cpp \
  23. item.cpp \
  24. light.cpp \
  25. main.cpp \
  26. mainwindow.cpp \
  27. modbusmanager.cpp \
  28. mygraphicsview.cpp \
  29. plc.cpp \
  30. project.cpp \
  31. registermanager.cpp
  32. HEADERS += \
  33. button.h \
  34. coil.h \
  35. comparator.h \
  36. connection.h \
  37. contact.h \
  38. creatitem.h \
  39. hmi.h \
  40. item.h \
  41. light.h \
  42. mainwindow.h \
  43. modbusmanager.h \
  44. mygraphicsview.h \
  45. plc.h \
  46. project.h \
  47. registermanager.h
  48. FORMS += \
  49. hmi.ui \
  50. mainwindow.ui \
  51. plc.ui
  52. # Default rules for deployment.
  53. qnx: target.path = /tmp/$${TARGET}/bin
  54. else: unix:!android: target.path = /opt/$${TARGET}/bin
  55. !isEmpty(target.path): INSTALLS += target