Check Qt version in app.

--HG--
branch : develop
This commit is contained in:
dismine 2014-05-07 19:59:54 +03:00
parent 84550b6146
commit c4526544b6

View File

@ -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