diff options
author | Morten Johan Sørvig <morten.sorvig@digia.com> | 2013-08-23 15:03:20 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-23 06:49:44 +0200 |
commit | 68c75745f89d76c09eaafc11792de5870457a452 (patch) | |
tree | 767762da3be21a1261cf820250ded0dea92eaf66 /tools/qmlimportscanner/qmlimportscanner.pro | |
parent | 85f9ac4a202117cb4dc506cd0696abafe23fb4f1 (diff) |
Add qmlimportscanner.
qmlimportscanner scans for import statements in qml
files and returns a JSON-formatted list of imports.
This is done recursively in order to get all dependencies.
Usage: "qmlimportscanner path/to/app/qml/"
-importPath path/to/qtbase/qml
Change-Id: I0e99caaf4216058c52a4706f7fdbeaf1eba0bbc1
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'tools/qmlimportscanner/qmlimportscanner.pro')
-rw-r--r-- | tools/qmlimportscanner/qmlimportscanner.pro | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/qmlimportscanner/qmlimportscanner.pro b/tools/qmlimportscanner/qmlimportscanner.pro new file mode 100644 index 0000000000..b6c7e57540 --- /dev/null +++ b/tools/qmlimportscanner/qmlimportscanner.pro @@ -0,0 +1,14 @@ +option(host_build) + +force_bootstrap { + QT = bootstrap-private +} else { + QT = core +} + +QT += qmldevtools-private + +CONFIG -= app_bundle +SOURCES += main.cpp + +load(qt_tool) |