You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Lichtklavier.pro 1.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. QT += core gui
  2. greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
  3. CONFIG += c++11
  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. unix{ # ADDED BY L.Mewes 28.09.2021
  8. DEFINES += __LINUX_ALSA__ # Defines the Midi-API that RtMidi will use. For Linux (also Raspbian) it will be ALSA
  9. LIBS += -lasound # Includes Sound and Threading-Libraries
  10. LIBS += -lpthread #
  11. }
  12. win32{ # ADDED BY L.MEWES 09.10.2021
  13. DEFINES += __WINDOWS_MM__ # Defines the Midi-APi that RtMidi will use. For Microsoft (R) Windows (TM) it will be "Windows-MM", only for test reasons
  14. LIBS += -lwinmm # Includes multimedia-library
  15. }
  16. SOURCES += \
  17. CircleElement.cpp \
  18. CircleOfFifths.cpp \
  19. ColorScale.cpp \
  20. MainWindow.cpp \
  21. MidiListener.cpp \
  22. MidiProbe.cpp \
  23. PianoKey.cpp \
  24. PianoKeyBoard.cpp \
  25. RtMidi.cpp \
  26. Tone.cpp \
  27. main.cpp
  28. HEADERS += \
  29. CircleElement.h \
  30. CircleOfFifths.h \
  31. ColorScale.h \
  32. MainWindow.h \
  33. MidiListener.h \
  34. MidiProbe.h \
  35. PianoKey.h \
  36. PianoKeyBoard.h \
  37. RtMidi.h \
  38. Tone.h
  39. # Default rules for deployment.
  40. qnx: target.path = /tmp/$${TARGET}/bin
  41. else: unix:!android: target.path = /opt/$${TARGET}/bin
  42. !isEmpty(target.path): INSTALLS += target