mirror of https://github.com/KLayout/klayout.git
Build fixed for Qt4
This commit is contained in:
parent
2b568cdd5e
commit
5825b7d0c6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue