markusschwenk / midieditor

Provides an interface to edit, record, and play Midi data
GNU General Public License v3.0
470 stars 69 forks source link

Cannot build on Rosa Linux #1

Open AS383 opened 6 years ago

AS383 commented 6 years ago

When i try to buld from source it reports

src/midi/MidiFile.cpp: In member function ‘void MidiFile::printLog(QStringList*)’:
src/midi/MidiFile.cpp:1736:42: error: format not a string literal and no format arguments [-Werror=format-security]
         qWarning(str.toUtf8().constData());
                                          ^
cc1plus: some warnings being treated as errors
make: *** [Makefile:1473: .tmp/MidiFile.o] Error 1

A temporal solution is edit Makefile and remove -Werror=format-security option from CFLAGS and CXXFLAGS

qmake-qt5 -v output

QMake version 3.1
Using Qt version 5.9.4 in /usr/lib64