Browse Source

added compatibility for MS-Windows

master
Lars Mewes 3 years ago
parent
commit
dbef4d5cb2
1 changed files with 6 additions and 2 deletions
  1. 6
    2
      Lichtklavier.pro

+ 6
- 2
Lichtklavier.pro View File

# You can make your code fail to compile if it uses deprecated APIs. # You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line. # In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0 #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
# ADDED BY L.Mewes 28.09.2021
unix{ # ADDED BY L.Mewes 28.09.2021
DEFINES += __LINUX_ALSA__ # Defines the Midi-API that RtMidi will use. For Linux (also Raspbian) it will be ALSA DEFINES += __LINUX_ALSA__ # Defines the Midi-API that RtMidi will use. For Linux (also Raspbian) it will be ALSA
LIBS += -lasound # Includes Sound and Threading-Libraries LIBS += -lasound # Includes Sound and Threading-Libraries
LIBS += -lpthread # LIBS += -lpthread #
#
}
win32{ # ADDED BY L.MEWES 09.10.2021
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
LIBS += -lwinmm # Includes multimedia-library
}


SOURCES += \ SOURCES += \
CircleElement.cpp \ CircleElement.cpp \

Loading…
Cancel
Save