Minimal Qt version 5.2.0.

--HG--
branch : develop
This commit is contained in:
dismine 2014-12-22 21:46:36 +02:00
parent b121aa98e3
commit 9bfe1f3cd9
2 changed files with 4 additions and 4 deletions

View File

@ -1,9 +1,9 @@
include(Valentina.pri)
#Check if Qt version >= 5.2.1
!minQtVersion(5, 2, 1) {
#Check if Qt version >= 5.2.0
!minQtVersion(5, 2, 0) {
message("Cannot build Valentina with Qt version $${QT_VERSION}.")
error("Use at least Qt 5.2.1.")
error("Use at least Qt 5.2.0.")
}
TEMPLATE = subdirs

View File

@ -48,7 +48,7 @@ int main(int argc, char *argv[])
Q_INIT_RESOURCE(theme);
Q_INIT_RESOURCE(flags);
QT_REQUIRE_VERSION(argc, argv, "5.2.1");
QT_REQUIRE_VERSION(argc, argv, "5.2.0");
VApplication app(argc, argv);