aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2020-03-27 16:00:18 +0100
committerUlf Hermann <ulf.hermann@qt.io>2020-03-30 13:46:42 +0200
commit3f0126ed86f56178fa707db629fabcc01eb31754 (patch)
tree486ee21b1c1cd37eee2eabdb43e8e125b0d10831 /tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
parent0124f73dfb779924e46eb8b319358dbbd5af2577 (diff)
qmltyperegistrar: Accept more file extensions as headers
Also, even if the file does not appear to be a header, still try to include it. People use strange file names. Change-Id: I2db7bd6aa14007a8b458c3860ba0553bb3b384b7 Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro')
-rw-r--r--tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
index 02c04dec47..fe21b122c2 100644
--- a/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
+++ b/tests/auto/qml/qmltyperegistrar/tst_qmltyperegistrar.pro
@@ -6,7 +6,10 @@ CONFIG -= debug_and_release_target
macos:CONFIG -= app_bundle
SOURCES += tst_qmltyperegistrar.cpp
-HEADERS += tst_qmltyperegistrar.h
+HEADERS += \
+ hppheader.hpp \
+ noextheader \
+ tst_qmltyperegistrar.h
QMLTYPES_FILENAME = tst_qmltyperegistrar.qmltypes
QML_FOREIGN_METATYPES += foreign/foreign_metatypes.json