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

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. # 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. SOURCES += \
  13. CircleElement.cpp \
  14. CircleOfFifths.cpp \
  15. ColorScale.cpp \
  16. MainWindow.cpp \
  17. MidiListener.cpp \
  18. PianoKey.cpp \
  19. PianoKeyBoard.cpp \
  20. RtMidi.cpp \
  21. Tone.cpp \
  22. main.cpp
  23. HEADERS += \
  24. CircleElement.h \
  25. CircleOfFifths.h \
  26. ColorScale.h \
  27. MainWindow.h \
  28. MidiListener.h \
  29. PianoKey.h \
  30. PianoKeyBoard.h \
  31. RtMidi.h \
  32. Tone.h
  33. # Default rules for deployment.
  34. qnx: target.path = /tmp/$${TARGET}/bin
  35. else: unix:!android: target.path = /opt/$${TARGET}/bin
  36. !isEmpty(target.path): INSTALLS += target