NumLockManager.pro 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++17
  4. CONFIG += console
  5. # You can make your code fail to compile if it uses deprecated APIs.
  6. # In order to do so, uncomment the following line.
  7. #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
  8. ICON += src/icons/num_lock_icon_on.png
  9. SOURCES += \
  10. main.cpp \
  11. numlockmanager.cpp
  12. HEADERS += \
  13. autostart.h \
  14. config.h \
  15. modethread.h \
  16. numlockmanager.h \
  17. statusshow.h \
  18. wl_numlock.h
  19. FORMS += \
  20. numlockmanager.ui
  21. win32:RC_FILE = file.rc
  22. # Default rules for deployment.
  23. qnx: target.path = /tmp/$${TARGET}/bin
  24. else: unix:!android: target.path = /opt/$${TARGET}/bin
  25. !isEmpty(target.path): INSTALLS += target
  26. DISTFILES += \
  27. file.rc \
  28. src/icons/check_radio_c_0.png \
  29. src/icons/check_radio_c_1.png \
  30. src/icons/check_radio_r_0.png \
  31. src/icons/check_radio_r_1.png \
  32. src/icons/num_lock_icon_off.png \
  33. src/icons/num_lock_icon_on.png