xref: /freebsd/contrib/file/magic/Magdir/qt (revision 898496ee)
14460e5b0SXin LI
24460e5b0SXin LI#------------------------------------------------------------------------------
3*898496eeSXin LI# $File: qt,v 1.4 2022/11/11 14:50:23 christos Exp $
44460e5b0SXin LI# qt:  file(1) magic for Qt
54460e5b0SXin LI
648c779cdSXin LI# https://doc.qt.io/qt-5/resources.html
74460e5b0SXin LI0	string		\<!DOCTYPE\040RCC\>	Qt Resource Collection file
84460e5b0SXin LI
94460e5b0SXin LI# https://qt.gitorious.org/qt/qtbase/source/\
104460e5b0SXin LI# 5367fa356233da4c0f28172a8f817791525f5457:\
114460e5b0SXin LI# src/tools/rcc/rcc.cpp#L840
124460e5b0SXin LI0	string		qres\0\0		Qt Binary Resource file
134460e5b0SXin LI0	search/1024	The\040Resource\040Compiler\040for\040Qt	Qt C-code resource file
144460e5b0SXin LI
154460e5b0SXin LI# https://qt.gitorious.org/qt/qtbase/source/\
164460e5b0SXin LI# 5367fa356233da4c0f28172a8f817791525f5457:\
174460e5b0SXin LI# src/corelib/kernel/qtranslator.cpp#L62
184460e5b0SXin LI0	string		\x3c\xb8\x64\x18\xca\xef\x9c\x95
194460e5b0SXin LI>8	string		\xcd\x21\x1c\xbf\x60\xa1\xbd\xdd	Qt Translation file
20*898496eeSXin LI
21*898496eeSXin LI
22*898496eeSXin LI# Qt V4 Javascript engine compiled unit
23*898496eeSXin LI# From: Alexandre Iooss <erdnaxe@crans.org>
24*898496eeSXin LI# URL: https://github.com/qt/qtdeclarative/blob/v6.4.0/src/qml/common/qv4compileddata_p.h
25*898496eeSXin LI0	string		qv4cdata	QV4 compiled unit
26*898496eeSXin LI!:ext	qmlc
27*898496eeSXin LI>8	ulelong		x		\b, version %d
28*898496eeSXin LI>12	byte		x		\b, Qt %d
29*898496eeSXin LI>13	byte		x		\b.%d
30*898496eeSXin LI>14	byte		x		\b.%d
31