Unverified Commit 2b3324a5 authored by cchafe's avatar cchafe Committed by GitHub
Browse files

Revert "Set QT5 dependency in build script"

parent de896f0d
......@@ -32,10 +32,10 @@ To build using QtCreator (tested using QtCreator 4.11 and macOS 10.13.6):
---
Fedora installation (also tested on Ubuntu Studio):
To install on Fedora (and possibly other Linux distributions), you need qt5, qtchooser, jack-audio-connection-kit-devel, and rtaudio.
To install on Fedora (and possibly other Linux distributions), you need qt5, jack-audio-connection-kit-devel, and rtaudio.
How to install qt5 and other needed tools on Fedora:
dnf install qt5-devel qtchooser
dnf install qt5-devel
dnf groupinstall "C Development Tools and Libraries"
dnf groupinstall "Development Tools"
dnf install jack-audio-connection-kit-devel alsa-lib-devel iperf qjackctl audacity git
......
......@@ -3,10 +3,10 @@
## Install Dependencies
Fedora:
dnf install meson qt5-qtbase-devel rtaudio-devel jack-audio-connection-kit-devel qtchooser
dnf install meson qt5-qtbase-devel rtaudio-devel jack-audio-connection-kit-devel
Debian/Ubuntu:
apt install meson build-essential qtbase5-dev librtaudio-dev libjack-jackd2-dev qtchooser
apt install meson build-essential qtbase5-dev librtaudio-dev libjack-jackd2-dev
MacOS with brew (not tested):
brew install meson qt rt-audio jack
......
......@@ -14,7 +14,13 @@ fi
# Set qmake command name
if [[ $platform == 'linux' ]]; then
QCMD='qtchooser -run-tool=qmake -qt=5'
if hash qmake-qt5 2>/dev/null; then
echo "Using qmake-qt5"
QCMD=qmake-qt5
elif hash qmake 2>/dev/null; then #in case qt was compiled by user
echo "Using qmake"
QCMD=qmake
fi
QSPEC=linux-g++
elif [[ $platform == 'macosx' ]]; then
QCMD=qmake
......
Supports Markdown
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