aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-10-21 10:28:33 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-10-22 10:00:04 +0200
commitc7e7a650cd0a3cdcfd48b83c8d80c9d210a2662f (patch)
treeeabf5c6aab34021f61168ecc3e8ee98b2f49616d /tools
parentca8b72040349f60df45c6070ed617d4462c25779 (diff)
Rename v4 to qmljs
We don't want to officially support this binary in our release builds, so give it a "safer" name and enable it only in developer builds. Change-Id: Iaa007bc2ccdb133635161aae01d140efe0f44e23 Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/qmljs/main.cpp (renamed from tools/v4/main.cpp)2
-rw-r--r--tools/qmljs/qmljs.pro (renamed from tools/v4/v4.pro)0
-rw-r--r--tools/tools.pro5
3 files changed, 4 insertions, 3 deletions
diff --git a/tools/v4/main.cpp b/tools/qmljs/main.cpp
index e6ab56b513..2d31dbfc0f 100644
--- a/tools/v4/main.cpp
+++ b/tools/qmljs/main.cpp
@@ -168,7 +168,7 @@ int main(int argc, char *argv[])
}
if (args.first() == QLatin1String("--help")) {
- std::cerr << "Usage: v4 [|--debug|-d] [|--jit|--interpret|--compile|--aot|--llvm-jit] file..." << std::endl;
+ std::cerr << "Usage: qmljs [|--debug|-d] [|--jit|--interpret|--compile|--aot|--llvm-jit] file..." << std::endl;
return EXIT_SUCCESS;
}
}
diff --git a/tools/v4/v4.pro b/tools/qmljs/qmljs.pro
index c67bb9caaf..c67bb9caaf 100644
--- a/tools/v4/v4.pro
+++ b/tools/qmljs/qmljs.pro
diff --git a/tools/tools.pro b/tools/tools.pro
index 994a8c7114..217748915b 100644
--- a/tools/tools.pro
+++ b/tools/tools.pro
@@ -6,8 +6,7 @@ SUBDIRS += \
qmlprofiler
!android|android_app: SUBDIRS += \
qml \
- qmlbundle \
- v4
+ qmlbundle
qtHaveModule(quick):qtHaveModule(widgets): SUBDIRS += qmleasing
# qmlmin & qmlbundle are build tools.
@@ -21,6 +20,8 @@ qtNomakeTools( \
qmleasing \
)
+contains(QT_CONFIG, private_tests): SUBDIRS += qmljs
+
qtHaveModule(quick) {
for(subdir, SUBDIRS): $${subdir}.depends += qmlimportscanner
SUBDIRS += qmlimportscanner