Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.

68 wiersze
1.6 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. modbusworker.cpp \
  29. mygraphicsview.cpp \
  30. myscene.cpp \
  31. plc.cpp \
  32. project.cpp \
  33. registermanager.cpp
  34. HEADERS += \
  35. button.h \
  36. coil.h \
  37. comparator.h \
  38. connection.h \
  39. contact.h \
  40. creatitem.h \
  41. hmi.h \
  42. item.h \
  43. light.h \
  44. mainwindow.h \
  45. modbusmanager.h \
  46. modbusworker.h \
  47. mygraphicsview.h \
  48. myscene.h \
  49. plc.h \
  50. project.h \
  51. registermanager.h
  52. FORMS += \
  53. hmi.ui \
  54. mainwindow.ui \
  55. plc.ui
  56. # Default rules for deployment.
  57. qnx: target.path = /tmp/$${TARGET}/bin
  58. else: unix:!android: target.path = /opt/$${TARGET}/bin
  59. !isEmpty(target.path): INSTALLS += target