Update main.cpp
Qt::AA_EnableHighDpiScaling was added in Qt 5.6.
This commit is contained in:
parent
b890dc2775
commit
45168024a9
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue