Skip to content

Commit 6128744

Browse files
committed
fixed QTimer wrapping for Qt 5.12
1 parent c9ac224 commit 6128744

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

generator/qtscript_masterinclude.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,12 @@
4848
#define QOPENGLFUNCTIONS_H
4949
#define QOPENGLEXTRAFUNCTIONS_H
5050

51+
// our compiler can't handle the templates for singleShot (int Qt 5.12), but we can circumvent this with
52+
// Q_CLANG_QDOC for the moment:
53+
#define Q_CLANG_QDOC
54+
#include <QtCore/QTimer>
55+
#undef Q_CLANG_QDOC
56+
5157
#include <QtCore/QtCore>
5258
#include <QtGui/QtGui>
5359
#include <QtNetwork/QtNetwork>

0 commit comments

Comments
 (0)