From c4526544b62392ee7b8a48d8fb4e839a68aa1f60 Mon Sep 17 00:00:00 2001 From: dismine Date: Wed, 7 May 2014 19:59:54 +0300 Subject: [PATCH] Check Qt version in app. --HG-- branch : develop --- src/app/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/main.cpp b/src/app/main.cpp index 299b22f91..067effe65 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -126,6 +126,8 @@ int main(int argc, char *argv[]) Q_INIT_RESOURCE(schema); Q_INIT_RESOURCE(theme); + QT_REQUIRE_VERSION(argc, argv, "5.1.0"); + VApplication app(argc, argv); #ifdef QT_DEBUG // Because our "noisy" message handler uses the GUI subsystem for message