mirror of
https://github.com/KLayout/klayout.git
synced 2026-09-04 00:39:53 +02:00
Build fixed for Qt4
This commit is contained in:
@@ -33,7 +33,7 @@ has_gui ()
|
||||
{
|
||||
#if defined(HAVE_QT)
|
||||
#if QT_VERSION < 0x50000
|
||||
return (QApplication::type () != Qt::Tty);
|
||||
return (QApplication::type () != QApplication::Tty);
|
||||
#else
|
||||
return (dynamic_cast<QGuiApplication *> (QCoreApplication::instance ()) != 0);
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user