This commit is contained in:
Black Hat 2018-12-22 20:39:51 +08:00
parent 0d06498467
commit 5ee47ed207
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,7 @@
#include <QFontDatabase> #include <QFontDatabase>
#include <QGuiApplication> #include <QGuiApplication>
#include <QNetworkProxy> #include <QNetworkProxy>
#include <QNetworkProxyFactory>
#include <QQmlApplicationEngine> #include <QQmlApplicationEngine>
#include <QQmlContext> #include <QQmlContext>
@ -35,6 +36,8 @@ int main(int argc, char *argv[]) {
} }
#endif #endif
QNetworkProxyFactory::setUseSystemConfiguration(true);
QApplication app(argc, argv); QApplication app(argc, argv);
app.setOrganizationName("ENCOM"); app.setOrganizationName("ENCOM");