Merge pull request #4064 from treenewbee/master

Update main.cpp
This commit is contained in:
Artem Pavlenko 2019-06-04 17:42:30 +01:00 committed by GitHub
commit 563bb00de5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,7 +32,9 @@ int main( int argc, char **argv )
using mapnik::freetype_engine;
try
{
#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
QApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
#endif
QCoreApplication::setOrganizationName("Mapnik");
QCoreApplication::setOrganizationDomain("mapnik.org");
QCoreApplication::setApplicationName("Viewer");