Minimal Qt version 5.2.0.
--HG-- branch : develop
This commit is contained in:
parent
b121aa98e3
commit
9bfe1f3cd9
|
@ -1,9 +1,9 @@
|
||||||
include(Valentina.pri)
|
include(Valentina.pri)
|
||||||
|
|
||||||
#Check if Qt version >= 5.2.1
|
#Check if Qt version >= 5.2.0
|
||||||
!minQtVersion(5, 2, 1) {
|
!minQtVersion(5, 2, 0) {
|
||||||
message("Cannot build Valentina with Qt version $${QT_VERSION}.")
|
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
|
TEMPLATE = subdirs
|
||||||
|
|
|
@ -48,7 +48,7 @@ int main(int argc, char *argv[])
|
||||||
Q_INIT_RESOURCE(theme);
|
Q_INIT_RESOURCE(theme);
|
||||||
Q_INIT_RESOURCE(flags);
|
Q_INIT_RESOURCE(flags);
|
||||||
|
|
||||||
QT_REQUIRE_VERSION(argc, argv, "5.2.1");
|
QT_REQUIRE_VERSION(argc, argv, "5.2.0");
|
||||||
|
|
||||||
VApplication app(argc, argv);
|
VApplication app(argc, argv);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user