diff options
| author | Sami Shalayel <sami.shalayel@qt.io> | 2022-06-02 12:18:18 +0200 |
|---|---|---|
| committer | Sami Shalayel <sami.shalayel@qt.io> | 2022-07-01 13:55:42 +0200 |
| commit | aba13583ac1e42ca1a8b0c0a0fac9e0ec3d72460 (patch) | |
| tree | ecd73ee48b8b774112e4400744a0575e93477535 /tools/qmlplugindump/main.cpp | |
| parent | 281c5bf81504165349c156774fdf3bd5264e3ee0 (diff) | |
qmltyperegistrar: Extract into own library
Split qmltyperegistrar in two parts: the tool (commandline parsing etc)
and the lib (that does the actual qmltyperegistration generation).
The tool lives at tools/qmltyperegistrar and the lib lives in
src/qmltyperegistrar.
This would allow to test qmltyperegistrar and is a first step into adding
some structure to qmltyperegistrar.
Moves the qqmljsstreamwriter from QmlCompiler to QmlTypeRegistrar.
Also, moves the qmltypes.prf from the lib to the tool, so it can still
be used from qmake projects!
Fixes: QTBUG-103862
Change-Id: I8627d1181db139d043228a802f047a35bff63bb5
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Diffstat (limited to 'tools/qmlplugindump/main.cpp')
| -rw-r--r-- | tools/qmlplugindump/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/qmlplugindump/main.cpp b/tools/qmlplugindump/main.cpp index 7180c33b47..95dda5d612 100644 --- a/tools/qmlplugindump/main.cpp +++ b/tools/qmlplugindump/main.cpp @@ -29,13 +29,13 @@ #include <QtCore/QProcess> #include <QtCore/private/qobject_p.h> #include <QtCore/private/qmetaobject_p.h> +#include <QtQmlTypeRegistrar/private/qqmljsstreamwriter_p.h> #include <QRegularExpression> #include <iostream> #include <algorithm> #include "qmltypereader.h" -#include "qqmljsstreamwriter_p.h" #ifdef QT_SIMULATOR #include <QtGui/private/qsimulatorconnection_p.h> |
