Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

46 linhas
1.3 KiB

  1. QT += core gui
  2. QT += core gui widgets serialport
  3. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  4. CONFIG += c++11
  5. # The following define makes your compiler emit warnings if you use
  6. # any Qt feature that has 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 it uses 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 += \
  15. basedocument.cpp \
  16. graphicsitems.cpp \
  17. hmidocument.cpp \
  18. main.cpp \
  19. mainwindow.cpp \
  20. modbusmanager.cpp \
  21. plcdocument.cpp \
  22. plcitems.cpp \
  23. serialportmanager.cpp
  24. HEADERS += \
  25. basedocument.h \
  26. graphicsitems.h \
  27. hmidocument.h \
  28. mainwindow.h \
  29. modbusmanager.h \
  30. plcdocument.h \
  31. plcitems.h \
  32. serialportmanager.h
  33. FORMS += \
  34. mainwindow.ui
  35. # Default rules for deployment.
  36. qnx: target.path = /tmp/$${TARGET}/bin
  37. else: unix:!android: target.path = /opt/$${TARGET}/bin
  38. !isEmpty(target.path): INSTALLS += target