SmartPDU_QT.pro 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. QT += core gui serialport xml
  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. Data_Ctrl.cpp \
  15. PDUInfoDef.cpp \
  16. USB485_Ctrl.cpp \
  17. main.cpp \
  18. mainwidget.cpp \
  19. serialinfo.cpp \
  20. widget.cpp
  21. HEADERS += \
  22. Data_Ctrl.h \
  23. PDUInfoDef.h \
  24. USB485_Ctrl.h \
  25. mainwidget.h \
  26. serialinfo.h \
  27. widget.h
  28. FORMS += \
  29. mainwidget.ui \
  30. widget.ui
  31. # Default rules for deployment.
  32. qnx: target.path = /tmp/$${TARGET}/bin
  33. else: unix:!android: target.path = /opt/$${TARGET}/bin
  34. !isEmpty(target.path): INSTALLS += target
  35. DISTFILES += \
  36. android/AndroidManifest.xml \
  37. android/build.gradle \
  38. android/gradle.properties \
  39. android/gradle/wrapper/gradle-wrapper.jar \
  40. android/gradle/wrapper/gradle-wrapper.properties \
  41. android/gradlew \
  42. android/gradlew.bat \
  43. android/res/values/libs.xml \
  44. android/res/xml/qtprovider_paths.xml \
  45. android/res/xml/device_filter.xml \
  46. resource/Reset.png \
  47. resource/Serial.png \
  48. resource/Started.png \
  49. resource/Trigger.png \
  50. resource/close.png \
  51. resource/open.png \
  52. Android/src/usb/*.java \
  53. Android/src/com/hoho/android/usbserial/driver/*.java \
  54. Android/src/com/hoho/android/usbserial/util/*.java \
  55. Android/src/com/hoho/android/usbserial/*.java
  56. RESOURCES += \
  57. pduresource.qrc
  58. QT += androidextras
  59. #QT += core
  60. ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android