summaryrefslogtreecommitdiffstats
path: root/magic/Magdir/qt
blob: 68085f2892f9a1fa528ce82b4e04080cde3b4d37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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