summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2022-11-11 14:50:23 +0000
committerChristos Zoulas <christos@zoulas.com>2022-11-11 14:50:23 +0000
commite9f75881cff460ab9099e19742f66654b17715d4 (patch)
tree0afe68c2d611aa46ad65f901c61ace29539932aa
parent581e4da3e3256caf236b25f3e0b194208f2a523f (diff)
downloadfile-git-e9f75881cff460ab9099e19742f66654b17715d4.tar.gz
New qt v4 javascript magic from Alexandre Iooss
-rw-r--r--magic/Magdir/qt13
1 files changed, 12 insertions, 1 deletions
diff --git a/magic/Magdir/qt b/magic/Magdir/qt
index 83aa124c..68085f28 100644
--- a/magic/Magdir/qt
+++ b/magic/Magdir/qt
@@ -1,6 +1,6 @@
#------------------------------------------------------------------------------
-# $File: qt,v 1.3 2019/04/19 00:42:27 christos Exp $
+# $File: qt,v 1.4 2022/11/11 14:50:23 christos Exp $
# qt: file(1) magic for Qt
# https://doc.qt.io/qt-5/resources.html
@@ -17,3 +17,14 @@
# src/corelib/kernel/qtranslator.cpp#L62
0 string \x3c\xb8\x64\x18\xca\xef\x9c\x95
>8 string \xcd\x21\x1c\xbf\x60\xa1\xbd\xdd Qt Translation file
+
+
+# Qt V4 Javascript engine compiled unit
+# From: Alexandre Iooss <erdnaxe@crans.org>
+# URL: https://github.com/qt/qtdeclarative/blob/v6.4.0/src/qml/common/qv4compileddata_p.h
+0 string qv4cdata QV4 compiled unit
+!:ext qmlc
+>8 ulelong x \b, version %d
+>12 byte x \b, Qt %d
+>13 byte x \b.%d
+>14 byte x \b.%d