diff options
author | don bright <hugh.m.bright@gmail.com> | 2011-11-06 13:28:35 (GMT) |
---|---|---|
committer | don bright <hugh.m.bright@gmail.com> | 2011-11-06 13:28:35 (GMT) |
commit | 9ab95e6d7230dc5deb06a8e6e3f647e8b48b87c6 (patch) | |
tree | 85fe6bd0ecf077393e5a5c4957d1a3e08ebaf45f | |
parent | 273672c418e4ff2400a9cbc1dacb510a2452b734 (diff) |
provide helpful error message when 'qmake' for qt3 is run
-rw-r--r-- | openscad.pro | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openscad.pro b/openscad.pro index 8c72b3f..89df95d 100644 --- a/openscad.pro +++ b/openscad.pro @@ -1,3 +1,8 @@ + +isEmpty(QT_VERSION) { + error("Please use qmake for Qt 4 (probably qmake-qt4)") +} + # Auto-include config_<variant>.pri if the VARIANT variable is give on the # command-line, e.g. qmake VARIANT=mybuild !isEmpty(VARIANT) { |