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.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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. PianoKey.cpp \
  23. PianoKeyBoard.cpp \
  24. RtMidi.cpp \
  25. Tone.cpp \
  26. main.cpp
  27. HEADERS += \
  28. CircleElement.h \
  29. CircleOfFifths.h \
  30. ColorScale.h \
  31. MainWindow.h \
  32. MidiListener.h \
  33. PianoKey.h \
  34. PianoKeyBoard.h \
  35. RtMidi.h \
  36. Tone.h
  37. # Default rules for deployment.
  38. qnx: target.path = /tmp/$${TARGET}/bin
  39. else: unix:!android: target.path = /opt/$${TARGET}/bin
  40. !isEmpty(target.path): INSTALLS += target