From 5ec2997abdde2dd77d39d083d042d00f20b50e1c Mon Sep 17 00:00:00 2001 From: Chris Mayo Date: Fri, 31 May 2019 19:27:32 +0100 Subject: [PATCH] Add fatal build-time check for Qt 4 or earlier --- phoenix.pro | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phoenix.pro b/phoenix.pro index 9677c0ae2..99418f50f 100644 --- a/phoenix.pro +++ b/phoenix.pro @@ -24,6 +24,10 @@ # #********************************************************************/ +lessThan(QT_MAJOR_VERSION, 5) { + error(Fritzing does not build with Qt 4 or earlier) +} + # Fritzing requires two Qt-provided plugins in order to run correctly, # however the QTPLUGIN syntax only seems to work if Qt is built statically, # so QTPLUGIN is included here only for information purposes: