Skip to content

Commit

Permalink
Add fatal build-time check for Qt 4 or earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
cjmayo authored and KjellMorgenstern committed Jun 6, 2019
1 parent bd7d5d9 commit 5ec2997
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions phoenix.pro
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 5ec2997

Please sign in to comment.