diff options
Diffstat (limited to 'magic/Magdir/qt')
-rw-r--r-- | magic/Magdir/qt | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/magic/Magdir/qt b/magic/Magdir/qt new file mode 100644 index 0000000..68085f2 --- /dev/null +++ b/magic/Magdir/qt @@ -0,0 +1,30 @@ + +#------------------------------------------------------------------------------ +# $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 +0 string \<!DOCTYPE\040RCC\> Qt Resource Collection file + +# https://qt.gitorious.org/qt/qtbase/source/\ +# 5367fa356233da4c0f28172a8f817791525f5457:\ +# src/tools/rcc/rcc.cpp#L840 +0 string qres\0\0 Qt Binary Resource file +0 search/1024 The\040Resource\040Compiler\040for\040Qt Qt C-code resource file + +# https://qt.gitorious.org/qt/qtbase/source/\ +# 5367fa356233da4c0f28172a8f817791525f5457:\ +# 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 |