Include qqmlglobal_p.h in tst_qmltyperegistrar.cpp to fix build
Fixes build error from testing for an unknown feature flag, i.e.
tst_qmltyperegistrar.cpp:1439:6: error: division by zero in preprocessor
expression
As it's a private feature, include a private header.
Change-Id: I6112d73ebb738a555c05211d8f6c29a053de7b39
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
(cherry picked from commit dec68b9e75
)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
b45ea1289d
commit
1dac1435d4
|
@ -13,6 +13,8 @@
|
|||
#include <QtQml/qqmlcomponent.h>
|
||||
#include <QtQml/qqmlengine.h>
|
||||
#include <QtQml/qqmlprivate.h>
|
||||
#include <QtQml/qtqmlglobal.h>
|
||||
#include <QtQml/private/qtqmlglobal_p.h>
|
||||
|
||||
#include <QtCore/qcoreapplication.h>
|
||||
#include <QtCore/qfile.h>
|
||||
|
|
Loading…
Reference in New Issue