Skip to content
Snippets Groups Projects
Commit 2899b8f4 authored by akiraohgaki's avatar akiraohgaki
Browse files

Qt version check

parent 701dba0c
No related branches found
No related tags found
No related merge requests found
#include <QtGlobal>
#include <QString>
#include <QStringList>
#include <QUrl>
......@@ -16,9 +17,9 @@
int main(int argc, char *argv[])
{
// Init
if (QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)) {
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
}
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QGuiApplication app(argc, argv);
Core::Config *config = new Core::Config(":/configs");
Core::Network *network = new Core::Network(true);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment