SimpleNotepad.pro 636 B

12345678910111213141516171819202122232425262728
  1. QT += core gui printsupport
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++17
  4. # You can make your code fail to compile if it uses deprecated APIs.
  5. # In order to do so, uncomment the following line.
  6. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  7. SOURCES += \
  8. main.cpp \
  9. mainwindow.cpp
  10. HEADERS += \
  11. mainwindow.h
  12. FORMS += \
  13. mainwindow.ui
  14. # Default rules for deployment.
  15. qnx: target.path = /tmp/$${TARGET}/bin
  16. else: unix:!android: target.path = /opt/$${TARGET}/bin
  17. !isEmpty(target.path): INSTALLS += target
  18. RESOURCES += \
  19. resource.qrc