xref: /freebsd/contrib/file/magic/Magdir/qt (revision edf8578117e8844e02c0121147f45e4609b30680)
1
2#------------------------------------------------------------------------------
3# $File: qt,v 1.4 2022/11/11 14:50:23 christos Exp $
4# qt:  file(1) magic for Qt
5
6# https://doc.qt.io/qt-5/resources.html
70	string		\<!DOCTYPE\040RCC\>	Qt Resource Collection file
8
9# https://qt.gitorious.org/qt/qtbase/source/\
10# 5367fa356233da4c0f28172a8f817791525f5457:\
11# src/tools/rcc/rcc.cpp#L840
120	string		qres\0\0		Qt Binary Resource file
130	search/1024	The\040Resource\040Compiler\040for\040Qt	Qt C-code resource file
14
15# https://qt.gitorious.org/qt/qtbase/source/\
16# 5367fa356233da4c0f28172a8f817791525f5457:\
17# src/corelib/kernel/qtranslator.cpp#L62
180	string		\x3c\xb8\x64\x18\xca\xef\x9c\x95
19>8	string		\xcd\x21\x1c\xbf\x60\xa1\xbd\xdd	Qt Translation file
20
21
22# Qt V4 Javascript engine compiled unit
23# From: Alexandre Iooss <erdnaxe@crans.org>
24# URL: https://github.com/qt/qtdeclarative/blob/v6.4.0/src/qml/common/qv4compileddata_p.h
250	string		qv4cdata	QV4 compiled unit
26!:ext	qmlc
27>8	ulelong		x		\b, version %d
28>12	byte		x		\b, Qt %d
29>13	byte		x		\b.%d
30>14	byte		x		\b.%d
31