From: Kern Sibbald Date: Wed, 23 Nov 2011 12:35:31 +0000 (+0100) Subject: Require correct Qt version to build bat X-Git-Tag: Release-5.2.2~19 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ca9ee062d5dd4869e0e7b99788fe7b531fcbb9f;p=thirdparty%2Fbacula.git Require correct Qt version to build bat --- diff --git a/bacula/src/qt-console/main.cpp b/bacula/src/qt-console/main.cpp index 5cd36c139..baf0f625b 100644 --- a/bacula/src/qt-console/main.cpp +++ b/bacula/src/qt-console/main.cpp @@ -1,7 +1,7 @@ /* Bacula® - The Network Backup Solution - Copyright (C) 2007-2010 Free Software Foundation Europe e.V. + Copyright (C) 2007-2011 Free Software Foundation Europe e.V. The main author of Bacula is Kern Sibbald, with contributions from many others, a complete list can be found in the file AUTHORS. @@ -37,6 +37,15 @@ #include #include +/* + * We need Qt version 4.6.2 or later to be able to comple correctly + */ +#if QT_VERSION < 0x040602 +#error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" +#error "You need Qt version 4.6.2 or later to build Bat" +#error "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!" +#endif + MainWin *mainWin; QApplication *app;