Commit 5ee4890d authored by Christoph Wick's avatar Christoph Wick

added test for qtmidi during build

parent 65a47fd1
/*****************************************************************************
* Copyright 2018 Haye Hinrichsen, Christoph Wick
*
* This file is part of Entropy Piano Tuner.
*
* Entropy Piano Tuner is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* Entropy Piano Tuner is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* more details.
*
* You should have received a copy of the GNU General Public License along with
* Entropy Piano Tuner. If not, see http://www.gnu.org/licenses/.
*****************************************************************************/
#include <QtMidi>
int main() {return 1;}
QT += widgets midi
CONFIG += qt
SOURCES += main.cpp
......@@ -63,6 +63,9 @@ win|linux:!android {
qtCompileTest(qwt6-qt5_exists) {
EPT_THIRDPARTY_CONFIG+=system_qwt
}
!qtCompileTest(qtmidi_exists) {
error(QtMidi not found)
}
packagesExist(qwt): EPT_THIRDPARTY_CONFIG+=system_qwt
packagesExist(fftw3): EPT_THIRDPARTY_CONFIG+=system_fftw3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment