Commit 3e8b0c23 authored by JanKusanagi's avatar JanKusanagi

Show Qt platform plugin info in initial console output

parent 82a528b0
......@@ -48,7 +48,7 @@ int main(int argc, char *argv[])
{
QApplication dianaraApp(argc, argv);
dianaraApp.setApplicationName("Dianara");
dianaraApp.setApplicationVersion("1.4.2-dev+5");
dianaraApp.setApplicationVersion("1.4.2-dev+6");
dianaraApp.setOrganizationName("JanCoding");
dianaraApp.setOrganizationDomain("jancoding.wordpress.com");
......@@ -73,8 +73,10 @@ int main(int argc, char *argv[])
#endif
std::cout << "\n";
std::cout << QString("- Running with Qt v%1\n\n").arg(qVersion())
.toStdString();
std::cout << QString("- Running with Qt v%1\n").arg(qVersion())
.toStdString();
std::cout << QString("- Qt Platform plugin in use: %1\n\n")
.arg(qApp->platformName()).toStdString();
std::cout.flush();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment