+
    UBi              	      "   ^ RI Ht ^ RIt^ RIt^ RIt^ RIHu Ht	 ^ RI
t
^RIHtHt ^RIHt ^RIHt ^RIHt ^RIHtHtHtHtHt ^RIHtHtHtHtHt ^R	IHt ^R
IH t H!t!H"t"H#t# ^RI$H%t%H&t&H't'H(t(H)t)H*t*H+t+ ^RI,H-t- ]P\                  '       d   ^RIH/t/ ^RI0H1t1H2t2 ^RI3H4t4 ^RIH5t5 ^RIH6t6 ^RIH7t7 ^RI,H8t8 ^ RI9H:t: ]Pv                  ]1]23,          t<^ RI9H=t=  ! R R]=4      t> ! R R]=4      t? ! R R]=4      t@ ! R R]=4      tA ! R R]6P                  4      tC ! R  R!]=4      tD ! R" R#]=4      tE ! R$ R%]=4      tF ! R& R']=4      tG ! R( R)]=4      tH ! R* R+]=4      tI ! R, R-]=4      tJR. R/ ltKR0tLR1]L R2]L R3]L R2]L R42	tM ! R5 R6]4      tNR# )7    )annotationsN)ModuleReturnValueExtensionModule)build)options)mlog)DependencyMethodsfind_external_dependency
DependencyExternalLibraryInternalDependency)MesonExceptionFileFileModeversion_compare
Popen_safe)extract_required_kwarg)DEPENDENCY_METHOD_KWINSTALL_DIR_KW
INSTALL_KWNoneType)ContainerTypeInfoFeatureDeprecated	KwargInfo	noPosargs
FeatureNewtyped_kwargstyped_pos_args)NonExistingExternalProgram)ModuleState)QtPkgConfigDependencyQmakeQtDependency)DependencyObjectKWs)Interpreter)kwargs)FileOrString)ExternalProgram)Literal)	TypedDictc                  D    ] tR t^&t$ RtR]R&   R]R&   R]R&   R]R	&   R
tR# )ResourceCompilerKwArgsz3Keyword arguments for the Resource Compiler method.T.Optional[str]name7T.Sequence[T.Union[FileOrString, build.GeneratedTypes]]sourcesT.List[str]
extra_argsr	   method N__name__
__module____qualname____firstlineno____doc____annotations____static_attributes__r3       ;/usr/lib/python3.14/site-packages/mesonbuild/modules/_qt.pyr+   r+   &   s    AHH!!r<   r+   c                  D    ] tR t^/t$ RtR]R&   R]R&   R]R&   R]R	&   R
tR# )UICompilerKwArgsz-Keyword arguments for the Ui Compiler method.r.   r/   r0   r1   r	   r2   boolpreserve_pathsr3   Nr4   r3   r<   r=   r?   r?   /   s    ;HH!!r<   r?   c                  l    ] tR t^8t$ RtR]R&   R]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   RtR# )MocCompilerKwArgsz.Keyword arguments for the Moc Compiler method.r.   r/   headersr0   r1   r	   r2   'T.List[T.Union[str, build.IncludeDirs]]include_directories,T.List[T.Union[Dependency, ExternalLibrary]]dependenciesr@   rA   output_jsonr3   Nr4   r3   r<   r=   rC   rC   8   s5    <HHHH!!DDBBr<   rC   c                      ] tR t^Et$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   RtR# )PreprocessKwArgszT.List[FileOrString]r/   z1T.List[T.Union[FileOrString, build.CustomTarget]]moc_sourcesmoc_headers
qresourcesui_filesr0   moc_extra_argumentsrcc_extra_argumentsuic_extra_argumentsr@   moc_output_jsonrE   rF   rG   rH   r	   r2   rA   r3   Nr5   r6   r7   r8   r:   r;   r3   r<   r=   rK   rK   E   sP    %%FFFF((CC((((((DDBB!!r<   rK   c                  ,    ] tR t^Ut$ R]R&   R]R&   RtR# )HasToolKwArgsr	   r2   zST.List[Literal['moc', 'uic', 'rcc', 'lrelease', 'qmlcachegen', 'qmltyperegistrar']]toolsr3   NrT   r3   r<   r=   rV   rV   U   s    !!bbr<   rV   c                  ^    ] tR t^Zt$ R]R&   R]R&   R]R&   R]R&   R]R&   R	]R
&   R]R&   RtR# )CompileTranslationsKwArgsr@   build_by_defaultinstallr,   install_dirr	   r2   	qresourcer0   rQ   z0T.List[T.Union[str, File, build.GeneratedTypes]]ts_filesr3   NrT   r3   r<   r=   rY   rY   Z   s+    $$!!""((BBr<   rY   c                  @    ] tR t^dt$ R]R&   R]R&   R]R&   R]R&   RtR	# )
GenQrcKwArgszT.Sequence[File]r/   T.Sequence[str]aliasesstrprefixoutputr3   NrT   r3   r<   r=   r`   r`   d   s    !!  r<   r`   c                      ] tR t^kt$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   RtR# )GenQmldirKwArgsrc   module_namemodule_versionmodule_prefixr.   qml_sourcesqml_singletonsqml_internalsr@   designer_supportedr0   importsoptional_importsdefault_importsdepends_importstypeinfore   r3   NrT   r3   r<   r=   rg   rg   k   sN    LLOONN  %%$$$$r<   rg   c                  T    ] tR t^{t$ R]R&   R]R&   R]R&   R]R&   R]R	&   R
]R&   RtR# )GenQmlCachegenKwArgsrc   target_namer.   rk   +T.Union[FileOrString, build.GeneratedTypes]qml_qrcr0   r1   rj   r	   r2   r3   NrT   r3   r<   r=   ru   ru   {   s&    LL<<!!r<   ru   c                      ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R	&   R
]R&   R]R&   R]R&   R]R&   R]R&   RtR# )GenQmlTypeRegistrarKwArgsrc   rv   import_namemajor_versionminor_version	namespacers   r@   generate_qmltypez5T.Optional[T.Union[FileOrString, build.CustomTarget]]collected_jsonr0   r1   r	   r2   r[   r,   r\   r3   NrT   r3   r<   r=   rz   rz      sG    MM!!$$r<   rz   c                  6    ] tR t^t$ R]R&   R]R&   R]R&   RtR# )	MocJsonCollectKwArgsrc   rv   zT.Sequence[build.GeneratedList]moc_jsonr	   r2   r3   NrT   r3   r<   r=   r   r      s    11!!r<   r   c                     ] tR t^t$ R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R	]R
&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R&   R]R &   R]R!&   R"tR## )$QmlModuleKwArgsrc   versionz3T.List[T.Union[FileOrString, build.GeneratedTypes]]rk   rl   rm   resources_prefixrM   rE   rF   r0   ro   rp   rq   rr   r@   rn   r~   rs   rP   rQ   qmlcachegen_extra_arguments qmltyperegistrar_extra_argumentsgenerate_qmldirr   cachegenrG   rH   r	   r2   rA   r\   r[   r3   NrT   r3   r<   r=   r   r      s    HHKKJJHHDD%%$$$$  ((((%00*55BB!!r<   r   c                    V ^8  d   QhRRRR/# )   choicesz
T.Set[str]returnz*T.Callable[[T.List[str]], T.Optional[str]]r3   )formats   "r=   __annotate__r      s      J 3] r<   c                   a  R V 3R llpV# )z5Check that the choice given was one of the given set.c                    V ^8  d   QhRRRR/# )r   	checklistr0   r   r,   r3   )r   s   "r=   r   ,_list_in_set_validator.<locals>.__annotate__   s        r<   c                   < \        V 4      P                  S4      pV'       d:   R RP                  \        V4      4       RRP                  \        S4      4       R2# R# )zinvalid selections z, z, valid elements are .N)set
differencejoinsorted)r   invalidr   s   & r=   inner%_list_in_set_validator.<locals>.inner   sV    i.++G4(6'?)C(DDYZ^ZcZcdjkrdsZtYuuvwwr<   r3   )r   r   s   f r=   _list_in_set_validatorr      s      Lr<   z- {}<>()[\].:;~%?&,+^=|!\/*"\'z[^z0-9][^z]*(\.[^z]*)*c            $         ] tR t^tRtRtRt0 RqmtRtRt	RrR R llt
R R ltRsR R llt]R	 R
 l4       tR R lt]! RR4      ]]! R]]! R]]P.                  3RR7      ]! R]! ]]4      R. RtO]! ]4      RR7      4      R R l4       4       4       t]! RR4      ]]! R]]! R]]34      ]! R]! ]]]]P@                  ]PB                  ]PD                  3RR7      RRR7      ]! R]! ]]4      R. R7      4      R R l4       4       4       t#R  R! lt$]! R"R4      ]]! R"]]! R]! ]]]]P@                  ]PB                  ]PD                  3RR7      RRR7      ]! R]! ]]4      R. R7      ]! R#]RR$R%7      4      R& R' l4       4       4       t%R( R) lt&]! R*R4      ]]! R*]]! R]! ]]]]P@                  ]PB                  ]PD                  34      R. R7      ]! R+]! ]]]]P@                  ]PB                  ]PD                  34      R. R7      ]! R]! ]]4      R. R7      ]! R,]! ]]PN                  ]34      R. R7      ]! R-]! ]](])34      R. R7      ]! R#]RR$R%7      ]! R.]RR/R%7      4	      R0 R1 l4       4       4       t*R2 R3 lt+]! R4]]! R]! ]]]34      R. RR57      ]! R6]! ]]]34      R. R7      ]! R7]! ]]]]P@                  34      R. R7      ]! R8]! ]]]]P@                  34      R. R7      ]! R9]! ]]]]P@                  34      R. R7      ]! R:]! ]]4      R. R;R<7      ]! R=]! ]]4      R. R>R<7      ]! R?]! ]]4      R. R>R<7      ]! R,]! ]]PN                  ]34      R. R7      ]! R-]! ]](])34      R. R7      ]! R#]RR$R%7      ]! R@]RR/R%7      4      RA RB l4       t,]! RCR;4      ]]! RC]! RD]RR7      ]]-].]! RE]]3RFRG7      ]! R=]! ]]4      R. RFR<7      ]! RH]! ]]]]P@                  ]PB                  ]PD                  34      R. R7      4      RI RJ l4       4       4       t/RK RL lt0RM RN lt1RO RP lt2RQ RR lt3RS RT lt4RU RV lt5]! RWRX4      ]6! RW]4      ]! RW]! RY]RZR7      ]! R[]! ]]]]P@                  34      R. R7      ]! R\]! ]]]]P@                  34      R. R7      ]! R]]! ]]]]P@                  34      R. R7      ]! R^]R_R7      ]! R`]! ]]4      . R7      ]! Ra]! ]]4      . R7      ]! Rb]! ]]4      . R7      ]! Rc]! ]]4      . R7      ]! Rd]RR7      ]! R9]! ]]]]P@                  34      R. R7      ]! R,]! ]]PN                  ]34      R. R7      ]! Re]RfR7      ]! Rg]RfR7      ]! R:]! ]]4      R. R7      ]! R=]! ]]4      R. R7      ]! Rh]! ]]4      R. R7      ]! Ri]! ]]4      R. R7      ]! Rj]RR7      ]! Rk]RR7      ]! Rl]RR7      ]! R-]! ]](])34      R. R7      ].]-]]! R#]RR7      4      Rm Rn l4       4       4       t7Rot8Rp# )uQtBaseModuleFc                    V ^8  d   QhRRRR/# )r   interpreterr$   
qt_versionintr3   )r   s   "r=   r   QtBaseModule.__annotate__   s      K S r<   c                	z   \         P                  ! W4       W n        V P                   Uu/ uF  q3\	        V4      bK  	  upV n        V P                  P                  R V P                  RV P                  RV P                  RV P                  RV P                  RV P                  RV P                  /4       R# u upi )	has_tools
preprocesscompile_translationscompile_resources
compile_uicompile_moc
qml_moduleN)r   __init__r   _set_of_qt_toolsr   rW   methodsupdater   r   r   r   r   r   r   )selfr   r   tools   &&& r=   r   QtBaseModule.__init__   s      3$ @D?T?TO
?Tt,T22?TO

 	$//"D$=$=!7!7$//4++$//
 	O
s   B8c               $    V ^8  d   QhRRRRRR/# )r   stater    qt_depQtDependencyTyper   Noner3   )r   s   "r=   r   r      s#     )% )%k )%;K )%PT )%r<   c                  a aaa	 RSP                    2pR VV 3R llpV! 4        F  w  po	S P                  S	,          P                  4       '       d   K/  S	R8X  d   R.oM#\        SP                   R4      '       d   R.oMR.oR	 VV	V3R
 llpVP	                  VRVVR7      pVP                  4       '       g   K  VS P                  S	&   K  	  R# )zCDetect Qt (4 or 5) moc, uic, rcc in the specified bindir or in PATHz== c                   V ^8  d   QhRR/# )r   r   z*T.Generator[T.Tuple[str, str], None, None]r3   )r   s   "r=   r   3QtBaseModule.compilers_detect.<locals>.__annotate__   s     	 	D 	r<   c               3    <"   SP                    F  p SP                  '       d/   \        P                  P	                  SP                  V 4      V 3x  SP
                  '       d/   \        P                  P	                  SP
                  V 4      V 3x  V  SP                   2V 3x  V  R SP                   2V 3x  W 3x  K  	  R# 5i)-qtN)rW   bindirospathr   
libexecdirqtver)br   r   s    r=   gen_bins/QtBaseModule.compilers_detect.<locals>.gen_bins   s     ZZ==='',,v}}a8!;;$$$'',,v'8'8!<a?? FLL>*A--3v||n-q00d
  s   A!C%A"Clreleasez-versionz>= 5z	--versionz-vc                    V ^8  d   QhRRRR/# )r   pz*T.Union[ExternalProgram, build.Executable]r   rc   r3   )r   s   "r=   r   r      s     Q QI Qc Qr<   c                  < \        V P                  4       S,           4      w  rpSR 8X  g"   SP                  P                  R4      '       g   TpMTpVP	                  R^R7      R,          P                  RR4      P                  4       # )r   4 maxsplit) )r   get_commandr   
startswithrsplitreplacestrip)r   _outerrcareargr-   r   s   &    r=   get_version2QtBaseModule.compilers_detect.<locals>.get_version   sp    (3)>?:%V^^-F-Fs-K-KDD{{3{3B7??RHNNPPr<   F)requiredversion_funcwantedN)r   rW   foundr   find_program)
r   r   r   r   r   r   r   r   r   r-   s
   f&f     @@r=   compilers_detectQtBaseModule.compilers_detect   s    v~~&'	 	  zGAtzz$%%''z!!l 88"mfQ Q ""1u0;*0 # 2A wwyy#$

4 1 "r<   Tc               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r2   r	   r   r@   r   r   r3   )r   s   "r=   r   r     s1     Z Z; Z8I ZUY Zei Zr<   c                	   V P                   '       d   R # RV n         \        P                  ! RV P                   R24       RVRR.RV/p\        P
                  ! R\        R	V P                   2VP                  V4      4      pVP                  4       '       d   V P                  W4       \        VP                  R
4      '       d   RV n        \        VP                  R4      '       d   RV n        RV n        M\        P                  ! RRR7       \        VP                  R4      '       d
   RV n        R # \        P                  ! R\        P"                  ! R4      RR7       R # RV P                   2p\%        RV,           R7      V P&                  R&   \%        RV,           R7      V P&                  R&   \%        RV,           R7      V P&                  R&   \%        RV,           R7      V P&                  R&   R # )NTzDetecting Qtz toolsr   modulesCorer2   r!   qtz>=6.2.0z>=5.15.0zDmoc dependencies will not work properly until you move to Qt >= 5.15F)fatalz>=5.14.0zErcc dependencies will not work properly until you move to Qt >= 5.14:z+https://bugreports.qt.io/browse/QTBUG-45460r   mocr-   uicrccr   )_tools_detectedr   logr   Tcastr
   environmentr   r   r   r   _support_qml_module_moc_supports_depfiles_moc_supports_jsonwarning_rcc_supports_depfilesboldr   rW   )r   r   r2   r   r%   r   suffixs   &&&&   r=   _detect_toolsQtBaseModule._detect_tools  s   #<078'18YRZ\b&cVV+-E4??J[F\^c^o^oqw-xy88::!!%,rzz955+/(rzz:66.2+*.'ckpqrzz:66.2+d!YY'TU]bd 4??+,F : ODJJu : ODJJu : ODJJu%?ZRXEX%YDJJz"r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    rcc_filer&   r   zT.Tuple[str, T.List[str]]r3   )r   s   "r=   r   r   ,  s'     M M+ M MB[ Mr<   c           
     	   \        V\        4      '       dA   \        P                  P	                  V P
                  P                  V P                  V4      pM:VP                  V P
                  P                  V P
                  P                  4      p\        P                  P                  V4      p \        P                  ! V4      pVP                  4       p. pV^ ,           F  pVP                  R8w  dK   \        P                   ! R\        P                  P	                  V P                  \        V4      4      4        MlVP"                  f@   \%        R\        P                  P	                  V P                  \        V4      4       24      hVP'                  VP"                  4       K  	  W63#   \$         d    h \(         d    \%        RT 24      hi ; i)r   filezmalformed rcc file: z!<file> element without a path in zUnable to parse resource file )
isinstancerc   r   r   r   r   
source_dirsubdirabsolute_path	build_dirdirnameETparsegetroottagr   r   textr   append	Exception)r   r   abspathrcc_dirnametreerootresultchilds   &&      r=   
_qrc_nodesQtBaseModule._qrc_nodes+  sd    h$$ggll5#4#4#?#?xXG,,U->->-I-I5K\K\KfKfgGggoog.	M88G$D<<>D"$Fa99&LL!7ellTWX`Ta9bcZZ'(+LRWW\\Z_ZfZfhklthuMvLw)xyyMM%**- ! && 	 	M #A'!KLL	Ms   1C=F/ /GGc               $    V ^8  d   QhRRRRRR/# )r   r   r    	rcc_file_rw   r   T.List[File]r3   )r   s   "r=   r   r   H  s#     # #[ ##N#S_#r<   c           
     	    . p. p\        V\        \        34      '       d   V.pMVP                  4       pV EF  pV P	                  W4      w  rgV EF  p\
        P                  P                  V4      '       d   VP                  \
        P                  P                  VP                  P                  4      4      '       dS   \
        P                  P                  WP                  P                  4      p	VP                  \        R RV	R7      4       K  VP                  \        RVP                  VR7      4       K  \
        P                  P                  \
        P                  P!                  Wh4      4      p
V
P                  VP                  P                  4      '       d+   VP                  \        R VP                  VR7      4       EK}  VP                  \        RVP                  V
R7      4       EK  	  EK  	  V# )Tr   )is_builtr  fnameF)r  rc   r   get_outputsr  r   r   isabsr   r  r   r  relpathr  r  normpathr   )r   r   r  r  inputsr   r  nodesresource_pathresource_relpathpath_from_rccs   &&&        r=   _parse_qrc_depsQtBaseModule._parse_qrc_depsH  sb   !-/i#t--[F**,FH!%!AK!& 77==//$//@Q@Q@[@[0\]]+-77??=J[J[JeJe+f(dDK[&\] dE%,,Vc&de$&GG$4$4RWW\\+5]$^M$//0A0A0K0KLLdDUb&cd dE%,,Vc&de/ "' 4 r<   zqt.has_toolsz0.54.0r   defaultrW   z1.6.0)listifyr)  	validatorsincec               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    argsT.Tupler%   rV   r   r@   r3   )r   s   "r=   r   r   x  s)      { ' = UY r<   c                	   VR ,          p\        W1P                  RR7      w  rVpV'       d/   \        P                  ! R\        P                  ! V4      R4       R# V P                  WRR7       VR,           Fd  pWP                  9   g   Q RV P                   24       hV P                  V,          P                  4       '       d   KP  V'       d   \        R4      h R# 	  R	# )
r2   Fr(  zqt.has_tools skipped: featuredisabled)r   rW   ztools must be in zQt tools not foundT)
r   
subprojectr   r   r   r   r   rW   r   r   )	r   r   r.  r%   r2   r1  r   featurer   s	   &&&&     r=   r   QtBaseModule.has_toolsm  s     ! '=VEUEU_d&e#GHH4dii6H*U5597OOD000]4EdF[F[E\2]]0::d#))++()=>> $ r<   zqt.compile_resourcesz0.59.0r-   r/   )allow_empty)r*  r   r1   )r*  r)  c               (    V ^8  d   QhRRRRRRRR/# )	r   r   'ModuleState'r.  r/  r%   'ResourceCompilerKwArgs'r   r   r3   )r   s   "r=   r   r     s*     	- 	-} 	-G 	-Me 	-j{ 	-r<   c                (   \         ;QJ d#    R VR,           4       F  '       g   K   RM	  RM! R VR,           4       4      '       d/   \        P                  ! RRVP                  VP                  R7       V P                  W4      p\        WD.4      # )zXCompile Qt resources files.

Uses CustomTargets to generate .cpp files from .qrc files.
c              3     "   T F>  p\        V\        P                  \        P                  \        P                  34      x  K@  	  R # 5iNr  r   CustomTargetCustomTargetIndexGeneratedList.0ss   & r=   	<genexpr>1QtBaseModule.compile_resources.<locals>.<genexpr>  6     |j{efz!e00%2I2I5K^K^_``j{   AAr/   TFzOqt.compile_resources: custom_target or generator for "sources" keyword argument0.60.0location)anyr   
single_user2  current_node_compile_resources_implr   r   r   r.  r%   r   s   &&&& r=   r   QtBaseModule.compile_resources  su    & 3|jpqzj{|333|jpqzj{|||!!"s"*E,<,<uGYGY[**59 e,,r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r7  r%   r8  r   zT.List[build.CustomTarget]r3   )r   s   "r=   r   r     s(     A A] AD\ Aa{ Ar<   c                	    V P                  WR ,          4       V P                  R,          P                  4       '       g6   Rp\        VP	                  RRV P
                   2V P
                  4      4      h. pV P                  '       d   RR.M. pVR,          p. pVR,           FQ  p\        V\        \        34      '       d   VP                  V4       K2  VP                  VP                  4       4       KS  	  VR	,          p	V'       d   . p
V F#  pV
P                  V P                  W4      4       K%  	  \        P                  ! VVP                   VP"                  VP$                  V P                  R,          P'                  4       R
VRR.,           V	,           R.,           V,           VV R2.V
V R2RR7
      pVP                  V4       V# V EF+  pV P                  W4      p
\        V\        4      '       d!   \(        P*                  P-                  V4      pM)\(        P*                  P-                  VP.                  4      pRV P
                   RVP1                  RR4       2p\        P                  ! VVP                   VP"                  VP$                  V P                  R,          P'                  4       . RO,           V	,           R.,           V,           V.V R2.V
V R2RR7
      pVP                  V4       EK.  	  V# )r2   r   Q{0} sources specified and couldn't find {1}, please check your qt{2} installationRCCzrcc-qtz	--depfilez	@DEPFILE@r-   r/   r1   -name-o@OUTPUT@@INPUT@z.cppz.dzCompiling Qt resources {})depend_filesdepfiledescriptionr   -r   r   )rT  z
@BASENAME@rU  rV  )r   rW   r   r   r   r   r   r  rc   r   r  extendr  r&  r   r=  r  r2  r   r   r   r   basenamer  r   )r   r   r%   err_msgtargetsDEPFILE_ARGSr-   r/   rB  r1   qrc_deps
res_targetr   r]  s   &&&           r=   rM  $QtBaseModule._compile_resources_impl  s   5"23zz% &&((>G ?P7QSWSbSb!cdd /1 CGB]B]B][+$>cef~*,	""A!c4[))q!q}}/	 #
 L)
 %'H 4 4U >?  ++  !!

5!--/7D$
2SSV``dmcnnq}}6%&7J NN:&. + $//@h,,!ww//9H!ww//?HDOO,Ah.>.>sC.H-IJ"//LL$$%%JJu%1136__bllpyozz  ~J  JJvT]O!)#fBK ;
 z*' $* r<   zqt.compile_uirA   z1.4.0)r)  r,  c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r.  r/  r%   r?   r   r   r3   )r   s   "r=   r   r     s*     - - -7 -DT -Yj -r<   c                (   \         ;QJ d#    R VR,           4       F  '       g   K   RM	  RM! R VR,           4       4      '       d/   \        P                  ! RRVP                  VP                  R7       V P                  W4      p\        WD.4      # )z&Compile UI resources into cpp headers.c              3     "   T F>  p\        V\        P                  \        P                  \        P                  34      x  K@  	  R # 5ir;  r<  r@  s   & r=   rC  *QtBaseModule.compile_ui.<locals>.<genexpr>  rE  rF  r/   TFzHqt.compile_ui: custom_target or generator for "sources" keyword argumentrG  rH  )rJ  r   rK  r2  rL  _compile_ui_implr   rN  s   &&&& r=   r   QtBaseModule.compile_ui  su      3|jpqzj{|333|jpqzj{|||!!"l"*E,<,<uGYGY[##E2 e,,r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   r?   r   zbuild.GeneratedListr3   )r   s   "r=   r   r     s(     V Vk V;K VPc Vr<   c           	     	f   V P                  WR ,          4       V P                  R,          P                  4       '       g6   Rp\        VP	                  RRV P
                   2V P
                  4      4      hVR,          '       d5   \        P                  P                  VP                  VP                  4      MRp\        P                  ! VP                  V P                  R,          VR,          . RO,           R.R	V P
                   R
2R7      pVP                  VR,          VP                  V4      # )r2   r   rR  UICuic-qtrA   Nr1   zui_@BASENAME@.hQtz uir   r/   )rU  rV  rW  )r   rW   r   r   r   r   r   r   r   source_rootr  r   	Generatorr   process_files)r   r   r%   r^  preserve_path_fromgens   &&&   r=   rh  QtBaseModule._compile_ui_impl  s    5"23zz% &&((>G ?P7QSWSbSb!cddNTUeNfNfRWW\\%*;*;U\\JlpooJJu< #@@doo&c*,   	!2ELLBTUUr<   zqt.compile_mocrD   rF   rH   rI   z1.7.0c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r.  r/  r%   rC   r   r   r3   )r   s   "r=   r   r   $  s*     - - -G -EV -[l -r<   c                	   \         ;QJ d#    R  VR,           4       F  '       g   K   RM	  RM! R  VR,           4       4      '       d/   \        P                  ! RRVP                  VP                  R7       \         ;QJ d#    R VR,           4       F  '       g   K   RM	  RM! R VR,           4       4      '       d/   \        P                  ! R	RVP                  VP                  R7       V P                  W4      p\        WD.4      # )
c              3     "   T F>  p\        V\        P                  \        P                  \        P                  34      x  K@  	  R # 5ir;  r<  r@  s   & r=   rC  +QtBaseModule.compile_moc.<locals>.<genexpr>%  rE  rF  rD   TFzIqt.compile_moc: custom_target or generator for "headers" keyword argumentrG  rH  c              3     "   T F>  p\        V\        P                  \        P                  \        P                  34      x  K@  	  R # 5ir;  r<  r@  s   & r=   rC  rx  (  rE  rF  r/   zIqt.compile_moc: custom_target or generator for "sources" keyword argument)rJ  r   rK  r2  rL  _compile_moc_implr   rN  s   &&&& r=   r   QtBaseModule.compile_moc  s    0 3|jpqzj{|333|jpqzj{|||!!"m"*E,<,<uGYGY[3|jpqzj{|333|jpqzj{|||!!"m"*E,<,<uGYGY[$$U3 e,,r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   rC   r   zT.List[build.GeneratedList]r3   )r   s   "r=   r   r   .  s#     4 4{ 4<M 4Rm 4r<   c           
     	6   V P                  WR ,          4       V P                  R,          P                  4       '       g6   Rp\        VP	                  RRV P
                   2V P
                  4      4      hVR,          '       g&   VR,          '       g   \        P                  ! R4      hVP                  VR,          R	7      p. pVR
,           F  pVP                  R VP                  4        4       4       \        V\        4      '       g   KA  VP                   F]  pVP                  R VP                  V P                  P                   V P                  P"                  P$                  4       4       4       K_  	  K  	  . pVR,          p	V	'       d,   V P&                  '       g   \        RV P
                   R24      hV P(                  '       d   R.M. p
V	'       d   R.M. pVR,          V
,           V,           V,           V,           . RO,           pVR,          '       d5   \*        P,                  P/                  VP                   VP0                  4      MRpVR,          '       d   R.pV	'       d   VP3                  R4       \        P4                  ! VP"                  V P                  R,          WRRV P
                   R2R7      pVP3                  VP7                  VR,          VP0                  V4      4       VR,          '       d   R.pV	'       d   VP3                  R4       \        P4                  ! VP"                  V P                  R,          VVRRV P
                   R2R7      pVP3                  VP7                  VR,          VP0                  V4      4       V# ) r2   r   rR  MOCrm  rD   r/   z[At least one of the "headers" or "sources" keyword arguments must be provided and not emptyrF   )include_dirsrH   c              3  V   "   T F  qP                  R4      '       g   K  Vx  K!  	  R# 5i)-IN)r  z-D)r   )rA  as   & r=   rC  1QtBaseModule._compile_moc_impl.<locals>.<genexpr><  s     d+EaVbIc+Es   )
)c              3  ,   "   T F
  pR V 2x  K  	  R# 5i)r  Nr3   )rA  is   & r=   rC  r  ?  s!       (U  ;TQ"QC  ;Ts   rI   zmoc-qtz% doesn't support "output_json" optionz--output-dep-filez--output-jsonr1   rA   Nzmoc_@BASENAME@.cppzmoc_@BASENAME@.cpp.jsonzmoc_@BASENAME@.cpp.drn  z moc header)rY  r-   z@BASENAME@.mocz@BASENAME@.moc.jsonz@BASENAME@.moc.dz moc source)rW  rU  	@OUTPUT0@)r   rW   r   r   r   r   r   InvalidArgumentsget_include_argsr\  get_all_compile_argsr  r   rF   to_string_listr   ro  r   r  r   r   r   r   r   r  r  rp  rq  )r   r   r%   r^  inccompile_argsdepinclre   do_output_jsonr`  	JSON_ARGS	argumentsrr  header_gen_outputmoc_gensource_gen_outputs   &&&              r=   rz  QtBaseModule._compile_moc_impl.  s   5"23zz% &&((>G ?P7QSWSbSb!cddy!!VI%6%6((  *G  H  H$$&9N2O$P$&.))Cd3+C+C+Edd#12233D ''  (U$:M:MdN^N^NjNjlpl|l|  mI  mI  mS  mS  ;T  (U  U 4 * /1%m4$"9"9"9 6$//)::`!abb >B=X=X=X%8$9^`6D/!2"	<(<7)CcILX[yy	NTUeNfNfRWW\\%*;*;U\\Jlp).B-C!(()BCoo!!

5!9.$//*+6	8G
 MM'//y0A5<<Qcde).>-?!(()>?oo!!

5!9.?*$//*+6	8G
 MM'//y0A5<<Qcder<   zqt.preprocess)r*  r)  
deprecatedrN   rO   rL   rM   rP   z0.44.0)r*  r)  r,  rQ   z0.49.0rR   rS   c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r.  zT.List[T.Union[str, File]]r%   rK   r   r   r3   )r   s   "r=   r   r   u  s+     ,5 ,5 ,53M ,5Wg ,5l} ,5r<   c                	   VR ,          pV'       d/   \         P                  ! RRVP                  VP                  R7       \        P
                  ! RWCR,          ,           4      pV F5  p\        V\        \        34      '       d   K!  \        P                  ! R4      h	  VR,          pVR,          '       dz   R	R
RVR,          RVR,          RV/pV'       d:   V^ ,          p	\        V	\        4      '       g   \        P                  ! R4      hWR	&   VP                  V P                  W4      4       VR,          '       d@   RVR,          RVR,          RVRVR,          /p
VP                  V P                  W4      4       VR,          '       g   VR,          '       dd   RVR,          RVR,          RVR,          RVR,          RVR,          RVRVR,          RVR,          /pVP                  V P                  W4      4       \!        WU.4      # ):   NNz qt.preprocess positional sourcesz0.59rH  zCT.List[T.Union[str, File, build.GeneratedList, build.CustomTarget]]r/   z<Variadic arguments to qt.preprocess must be Strings or Filesr2   rN   r-   r   r1   rQ   z0First argument to qt.preprocess must be a stringrO   rR   rA   rM   rL   rP   rD   rF   rH   rI   rS   )r   rK  r2  rL  r   r   r  rc   r   r   r  r\  rM  r  rh  rz  r   )r   r   r.  r%   _sourcesr/   rB  r2   
rcc_kwargsr-   	ui_kwargs
moc_kwargss   &&&&        r=   r   QtBaseModule.preprocesse  s   " 8(()KVUZUeUepu  qC  qC  D&&^!9$557Aa#t--,,-kll  !,28"iP\I]_kms  uJ  nK  MU  W]  2^JAw!$,,001cdd%)6"NN477JK*6*-f%:;& &)9":	+I NN400BC-  F=$9$9f%:;6-06-0%v.C'D~ 6& &)9":v&78	-J NN411%DE )44r<   zqt.compile_translationsrZ   r]   z0.56.0)r,  r^   c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r.  r/  r%   rY   r   r   r3   )r   s   "r=   r   r     s0     >C >C+ >CW >CNg >Cl} >Cr<   c                	   VR ,          p\         ;QJ d    R V 4       F  '       g   K   RM	  RM! R V 4       4      '       d/   \        P                  ! RRVP                  VP                  R7       VR,          '       d   VR,          '       g   \        R	4      hVR
,          pV'       Ed   V'       d   \        R4      h\        P                  P                  V4      R8w  d   \        R4      h\        P                  ! VP                  V4      p\        P                  P                  VP                  P                  VP                  4       4      p\        P                  P                  VP                  P                   VP                  4       4      p\        P"                  ! \        P                  P                  V4      RR7       \$        P&                  ! Wx4       V P(                  P+                  V4       V P-                  W4      w  rV
 FO  pVP/                  R4      '       d*   VP1                  VP3                  R4      R,           4       KC  \        RV 24      h	  V P5                  V. RVRVR,          /4      pV P7                  WR,          4       . pV EF  pV P8                  R,          P;                  4       '       g5   \        RV P8                  R,          P<                  ,           R,           4      hV'       d   \?        V\@        4      '       g   Q R4       h\        P                  P                  \        P                  PC                  \        P                  P                  VP                  V4      4      4      p\        P                  PE                  V4      pMVP                  pV P8                  R,          RRR.p\F        PH                  ! RV PJ                   RV 2VVP                  VP                  VV.R.VR,          VR,          .R.VR ,          R!R"7      pVP1                  V4       EK  	  V'       d*   \M        XPN                  ^ ,          VPP                  V.4      # \M        W.4      # )#r^   c              3     "   T F>  p\        V\        P                  \        P                  \        P                  34      x  K@  	  R # 5ir;  r<  r@  s   & r=   rC  4QtBaseModule.compile_translations.<locals>.<genexpr>  s6     sjrefz!e00%2I2I5K^K^_``jrrF  TFzSqt.compile_translations: custom_target or generator for "ts_files" keyword argumentrG  rH  r[   r\   z[qt.compile_translations: "install_dir" keyword argument must be set when "install" is true.r]   zCqt.compile_translations: Cannot specify both ts_files and qresourcer   zMqt.compile_translations: qresource file name must not contain a subdirectory.)exist_okz.qmz.tszDqt.compile_translations: qresource can only contain qm files, found rN   rQ   r2   r   zqt.compile_translations: 
 not foundzfor mypyrW  z-qmrV  r   z	-compile-z@BASENAME@.qmi18nrZ   zCompiling Qt translations {})r[   r\   install_tagrZ   rZ  ))rJ  r   rK  r2  rL  r   r   r   r  r   from_built_filer  r   r   r  relative_namer  makedirsshutilcopy2r   add_build_def_filer  endswithr  rstripr   r   rW   r   r-   r  rc   r   r]  r   r=  r   r   return_valuenew_objects)r   r   r.  r%   r^   r]   qresource_file
infile_absoutfile_absr   r"  cresultstranslationstsoutdircmdlrelease_targets   &&&&              r=   r   !QtBaseModule.compile_translations  s    *%3sjrs333sjrsss!!"w"*E,<,<uGYGY[)VM%:%: !~;'	9$%jkkwwy)R/$%tuu!11%,,	JNe&7&7&B&BND`D`DbcJ'',,u'8'8'B'BND`D`DbcKKK4tDLL1//
;u=HA::e$$OOAHHUOe$;<(+opqor)stt	 
 ooeR,Pegm  oD  hE  2F  GG5"2335B::j)//11$%@%)ZZ
%;%@%@&ACO&P Q Q
 ""c**6J6*)9)9"'',,u||UW:X)YZWW%%b)LPJJWaLbdmot  wA  LBC#00T__%Yrd3  !! !y)#M23#H!'(:!;:O 0; < $W%9%9!%<w?R?RT`>abb$\>BBr<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r/   r.   r   r  r3   )r   s   "r=   r   r     s'      k <s   yE r<   c           	     	   . pV EFh  p\        V\        P                  \        P                  34      '       dY   VP	                  4        FB  pVP                  \        P                  ! VP                  P                  V4      V4      4       KD  	  K  \        V\        4      '       d   VP                  V4       K  \        V\        P                  4      '       dK   VP	                  4        F3  pVP                  \        P                  ! VP                  V4      4       K5  	  EK  VP                  \        P                  ! VP                  P                  4       VP                  V4      4       EKk  	  V# r;  )r  r   r=  r>  r  r  r   r  backendget_target_dirr?  r  from_source_filer   get_source_dir)r   r   r/   content_filesrB  ogen_srcs   &&&    r=   _source_to_filesQtBaseModule._source_to_files  s	   A!e00%2I2IJKKA!(()=)=emm>Z>Z[\>]_`)ab )At$$$$Q'Au2233 }}G!(()=)=ellG)TU  / $$T%:%:%%446LL&   r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   r`   r   r   r3   )r   s   "r=   r   r     s!      k < D r<   c                	   \         P                  ! VP                  VR ,          4      p\        P                  P                  VP                  P                  VP                  4       4      p\        P                  P                  VP                  P                  4      '       g+   \        P                  ! VP                  P                  4       \        P                  ! R4      p\        P                  ! VRRVR,          ,           R7      p\        VR,          4      \        VR,          4      8X  g   Q h\        VR,          VR,          4       Fe  w  rx\        P                  ! VRVR	7      p	VP!                  VP                  P#                  4       VP                  P%                  4       4      V	n        Kg  	  \        P(                  ! V4      p
V
P+                  V4       V# )
re   rS  r]   /rd   )rd   r/   rb   r  )alias)r   r  r  r   r   r   r   r  r  isdirmkdirr  Element
SubElementlenzipr  r  get_build_dirr  ElementTreewrite)r   r   r%   fileoutfileout_absr   r]   sourcer  filenoder  s   &&&        r=   _gen_qrcQtBaseModule._gen_qrc  sP   &&u||VH5EFggll5#4#4#>#>@U@U@WXww}}U..8899HHU&&001jjMM#{3AQ;QR	F9%&#fY.?*@@A@ 	!2F94EFMF}}YeDH"00!!002!!//1HM G ~~c"

;r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   rg   r   r   r3   )r   s   "r=   r   r     s!     : : :o :$ :r<   c                	  a aaa VR ,          pVR,          pVR,          pVR,          pVR,          p\         P                  ! R\        ,           R,           4      o\        P                  ! SP
                  VR,          4      p\        P                  P                  SP                  P                  VP                  4       4      p	\        P                  P                  SP                  P                  4      '       g+   \        P                  ! SP                  P                  4       \        V	RR	R
7      ;_uu_ 4       oR VV3R llp
R VV V3R llpSP                  RV R24       SP                  RV R24       V
! RVR,          4       V
! RVR,          4       V
! RVR,          4       V
! RVR,          4       V! RWBR,          4       V! RWBR,          4       V! RRVR ,          4       V'       d   SP                  R!V R24       V'       d   SP                  R"4       R#R#R#4       V#   + '       g   i     T# ; i)$rh   ri   rj   rn   rs   z^(z)(/((\d+(\.\d+)?)|auto))?$re   wzutf-8)encodingc               $    V ^8  d   QhRRRRRR/# )r   import_typerc   
importlistra   r   r   r3   )r   s   "r=   r   .QtBaseModule._gen_qmldir.<locals>.__annotate__)  s&     D D# D? Dt Dr<   c           	        < V Fp  pSP                  V4      pV'       g   \        R V 24      hVP                  ^4      pVP                  ^4      ;'       g    RpSP                  V  RV RV R24       Kr  	  R# )zinvalid syntax for qml import r   r   
N)matchr   groupr  )r  r  import_stringr  moduler   fd	import_res   &&    r=   __gen_import.QtBaseModule._gen_qmldir.<locals>.__gen_import)  sr    %/M%OOM:E ,/Mm_-]^^"'++a.F#(;;q>#7#7RGHH}AfXQwirBC &0r<   c               (    V ^8  d   QhRRRRRRRR/# )r   	qualifierrc   r   r  r.   r   r   r3   )r   s   "r=   r   r  2  s8     I IS I3 I  MD I  IM Ir<   c           
        < SP                  S	V4      pV F  p\        P                  P                  VP                  4      pVP                  R ^R7      ^ ,          pVP                  R4      '       g   \        RV 24      hV'       d%   R V9   g   V^ ,          P                  4       '       d   \        V R24      hV'       d   SP                  V  V RV RV R24       K  SP                  V  V RV R24       K  	  R# )r   r   z-unexpected file type declared in qml sources z is not a valid QML file namer   r  N)z.qmlz.jsz.mjs)
r  r   r   r]  r  r   r  r   islowerr  )
r  r   r  importpathlistrB  r]  	classnamer  r   r   s
   &&&    r=   __gen_declaration3QtBaseModule._gen_qmldir.<locals>.__gen_declaration2  s    !%!6!6uj!I'A$&GG$4$4QWW$=H%-__S1_%Ea%HI#,,-DEE,/\]^\_-`aa$y(8IaL<P<P<R<R,z9V-WXXI;yk7)1XJb!QRI;yk8*B!GH (r<   zmodule r  z	prefer :/z/
importro   zoptional importrp   zdefault importrq   dependsrr   r   rk   z
singleton rl   z	internal rm   z	typeinfo zdesignersupported
N)recompile_MODULE_NAME_REr   r  r  r   r   r   r   r  r  r  r  openr  )r   r   r%   rh   ri   rj   rn   typeinfo_filer  r  _QtBaseModule__gen_import_QtBaseModule__gen_declarationr  r  s   ff&         @@r=   _gen_qmldirQtBaseModule._gen_qmldir  s   !-0$%56#O4#)*>#?#J/ JJu69VVW	&&u||VH5EFggll5#4#4#>#>@U@U@WXww}}U..8899HHU&&001+sW55D DI I  HHw{m2./HHys346)#45*F3E,FG)62C+DEF+<$=>b.2GHlNCS<TUk2vo/FG9]O267!./U 6V W 65V s   =CH.H..H?	c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   r   r   build.CustomTargetr3   )r   s   "r=   r   r   T  s#     
 
{ 
<P 
Ug 
r<   c                	   V P                  WR ,          4       V P                  R,          P                  4       '       g5   \        RV P                  R,          P                  ,           R,           4      hVR,          pVR,          p. p^ pV FO  pVP                  4        F8  pVP                  R4      '       d   VP                  RV R24       V^,          pK:  	  KQ  	  \        P                  ! R	V 2VP                  VP                  VP                  V P                  R,          P                  4       . RO,           V,           VV R
2.RV 2R7      # )r2   r   qt.qml_module: r  rv   r   z.jsonz@INPUT@moc_collect_json_z_json_collect.jsonz%Collecting json type information for rZ  )z--collect-jsonrU  rV  )r   rW   r   r   r-   r  r  r  r   r=  r  r2  r   r   )	r   r   r%   rv   r   
input_argsinput_countergr  s	   &&&      r=   _moc_json_collectQtBaseModule._moc_json_collectT  s?   5"23zz% &&(( !2!%E!2!7!7"8:F"G H H "-04::4F #%
A>>'**%%}oQ&?@" )  !!}-LLJJu))+.RRU__}./0?}M	
 		
r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   ru   r   z8T.List[T.Union[build.CustomTarget, build.GeneratedList]]r3   )r   s   "r=   r   r   q  s'     . .{ .<P .  VN .r<   c                	v   V P                  WR ,          4       V P                  R,          P                  4       '       g5   \        RV P                  R,          P                  ,           R,           4      hVR,          pRR.VR,          ,           pV P                  WR,          .4       FV  pVP                  R	VP                  VP                  P                  4       VP                  P                  4       4      .4       KX  	  VP                  R
4       \        P                  ! VP                  V P                  R,          VV R2.RV 2R7      p. pVP                  VP                  VR,          VP                  4      4       . pV P                  WR,          4      p	V	 Fe  p
\         P"                  P%                  V
P&                  4      p\         P"                  P)                  RVR,          V4      pVP                  V4       Kg  	  \        P*                  ! RV 2VP                  VP,                  VP                  V P                  R,          P/                  4       RR.,           RRV 2.,           VR,          ,           R.,           V,           VR,          .V R2.RV 2R7      pVP                  V4       V# )r2   qmlcachegenr  r  rv   rU  rV  r1   rx   z
--resourcerW  z_@BASENAME@.cppzQml cache generation for r   rk   r  rj   cacheloader_z--resource-name	qmlcache_z--resource=@INPUT@z_qmlcache_loader.cppzQml cache loader for r  )r   rW   r   r   r-   r  r\  r  r   r  r  r  r   rp  rq  r  r   r   r]  r  r   r=  r2  r   )r   r   r%   rv   command_argsqrc	cache_genre   cachegen_inputsqml_sources_pathsrB  source_basenameressource_pathcacheloader_targets   &&&           r=   _gen_qml_cachegenQtBaseModule._gen_qml_cachegenq  s   5"23zz-(..00 !2!%M!:!?!?"@BN"O P P "-0j)F<,@@((	1B0CDCs/@/@!!002!!//10 !  E 	I&OOJJ}%}O,-,[M:<	 LNi--f].CU\\RS') 11%9NO"A gg..qww7OWW\\#vo/FXN"">2 #
 #//;-(LLJJ}%113tZ6HHL]ajkvjw_xKyy  }C  DP  }Q  Q  Ui  Tj  j  m|  |I}012/}=

 	()r<   c               $    V ^8  d   QhRRRRRR/# )r   r   r    r%   rz   r   r   r3   )r   s   "r=   r   r     s#     7
 7
 7
>W 7
\n 7
r<   c                	   V P                  WR ,          4       V P                  R,          P                  4       '       g5   \        RV P                  R,          P                  ,           R,           4      hVR,          pVR,          pVR,          pVR,          pVR,          pVR	,          pVR
,          p	V	'       d   V	.M. p
V R2.pR.pR.pV P                  R,          P                  4       RVRVRVRR.,           pVP                  VR,          4       V'       d   VP                  RV.4       VR,          '       dk   VP                  RR.4       VR8X  d   VP                  V R24       MVP                  V 4       VP                  VR,          4       VP                  R4       V	'       d   VP                  R4       \        P                  ! RV 2VP                  VP                  VP                  VV
VVR,          VVRV 2R 7      # )!r2   qmltyperegistrarr  r  r{   r|   r}   r~   rs   rv   r   z_qmltyperegistrations.cppFNz--import-namez--major-versionz--minor-versionrU  r  r1   z--namespacer   z--generate-qmltypesz	@OUTPUT1@r   z	.qmltypesr\   develrW  typeregistrar_r[   zQml type registration for )r[   r\   r  rZ  )r   rW   r   r   r-   r   r\  r  r   r=  r  r2  r   )r   r   r%   r{   r|   r}   r~   rs   rv   r   r!  outputsr\   r  r  s   &&&            r=   _qml_type_registrar QtBaseModule._qml_type_registrar  s    5"23zz,-3355 !2!%,>!?!D!D"EGS"T U U "-0#O4#O4,	z*!-0PVWgPh\jHXpr#.-/H IJ=BG37&jj+,88:[}}+	>
 
 	

6,'(JJy12$%%JJ-{;<2~+i89(-vm45w'JJy!!![M*LL9%##4[MB
 	
r<   zqt.qml_modulez1.7r   z254.254rk   rl   rm   r   zqt/qmlro   rp   rq   rr   rn   r~   r   rs   r   r   r   r   r   c               (    V ^8  d   QhRRRRRRRR/# )	r   r   r    r.  zT.Tuple[str]r%   r   r   r   r3   )r   s   "r=   r   r     s/     W3 W3 W3< W3 W3]n W3r<   c                	
   V P                  WR ,          4       V P                  '       g   \        R4      h\        P                  ! R4      p\        P                  ! \
        4      p. pV^ ,          pVP                  V4      '       g   \        RV 24      hVR,          pVP                  V4      p	V	'       g   \        RV 24      hV	P                  ^4      p
V	P                  ^4      pV
 RV 2pVP                  R4      p\        P                  P                  ! V!  p\        P                  P                  ! VR,          P                  R4      V,           !  p\        P                  ! R	R
V4      p. pVR,          VR,          ,           VR,          ,           pV P                  VV4      pV Uu. uF,  p\        P                  P                  VP                   4      NK.  	  ppVR,          ;'       g    Rp\        P                  P                  VV4      p\#        V4      ^ 8w  d~   RV R2RVRVRV/pV P%                  VV4      pVR,          '       g   VP'                  V4       M=RVRVRVRVRVR,          R VR ,          /pVP)                  V P+                  VV4      4       VR,          '       d(   V P,                  P/                  VV\1        4       VR4       RpVR,          '       d   R. RVR,          RVR ,          R VR ,          R!VR!,          R"VR",          R#VR#,          R$R%/pV P3                  VV4      pVP)                  V4       RVR&VR VR ,          /pV P5                  VV4      pVP'                  V4       R'pVR(,          '       d   RVR)VR*V
R+VR,VR-VR-,          R(R%RVR.,          R/VR/,          R VR ,          RVR,          RV/p V P7                  VV 4      p!VP'                  V!4       \#        V!P9                  4       4      ^8X  d   V!P9                  4       ^,          pVR0,          '       d   RV R12R2VR3VRVR,          RVR,          RVR,          R4VR4,          R5VR5,          R6VR6,          R7VR7,          R8VR8,          R/VRV/p"V P;                  VV"4      p#RV R92RV P                  VV#.4      RR:.RV/p$VP'                  V P%                  VV$4      4       VR,          '       d*   V P,                  P/                  V#.V\1        4       R:.R4       V'       d:   R;VRVRVR<,          R VR ,          /p%VP)                  V P=                  VV%4      4       \?        Wf.4      # u upi )=r2   z6qt.qml_module is not suppported for this version of Qtz^(\d+)\.(\d+)(\.(\d+))?$z6qml module URI should be in the form Foo.Bar.xxx, got r   z:qml module version should be in the form Major.Minor, got r   r   r  z[^A-Za-z0-9]r   rk   rl   rm   r\   qmlre   z_qml.qrcr/   rb   rd   r   rv   rx   rj   r1   r   r[   r  NrM   rD   rP   rF   rH   rA   rI   Tr   r   r   r{   r|   r}   r   r~   r   rs   r   _qmldirrh   ri   ro   rp   rq   rr   rn   z_qmldir.qrcqmldirr-   rQ   ) r   r   r   r  r  r  	fullmatchr  r  splitr   r   r   subr  r]  r  r  r  r  r\  r  r   install_data_implr   rz  r	  r   r  r  rM  r   )&r   r   r.  r%   
version_remodule_name_rere   rh   ri   module_version_matchmodule_version_majormodule_version_minormodule_version_shortmodule_prefix_listrj   module_prefix_fullrv   qrc_resoucesall_qmlall_qml_filesr   all_qml_basenamer\   module_install_dirqml_qrc_kwargsrx   cachegen_kwargsr   compile_moc_kwargs
moc_outputmoc_collect_json_kwargsr  qmltyperegistrar_kwargstype_registrar_outputqmldir_kwargsqmldir_fileqmldir_qrc_kwargscompile_resource_kwargss&   &&&&                                  r=   r   QtBaseModule.qml_module  s   R 	5"23''' !YZZ ZZ ;<
O4KM7''44 #YZeYf!ghh$Y/)//?# #]^l]m!noo$8$>$>q$A$8$>$>q$A"6!7q9M8NO*5*;*;C*@WW\\+=>"$'',,8J1K1Q1QRU1VYk1k"m ff_c;?LNKQR_K`cijzc{K{  E  FU  V  LV&*&;&;E7&KLY(ZMq)9)9!'')BM(Z!-099E"$'',,{M"Jw<1[M2=+,	,N mmE>:G*%%##G, ";w!7#%7 &)F"GfX.9 d44UOLM )..}>P/7z;KWV QU-  26-0f%:;&*%v.C'D~ 6 &)9":t	5 //7IJJMM*% {J&*=#
 "33E;RSNMM.)$%%{{!5!5 .VK0"Df%GHF:.&*6),1B# %)$<$<UD[$\!MM/0(44671< 5 A A CA F#$$[M1{ "6vm4 &)9":!86),"F+=$>!6*;#<!6*;#<$f-A&BM!3.M !% 0 0 FK [M5400FH:,	/ e5F GHi    22K=BT3;:z7T <f%:;&*	?# MM$66u>UVW 22i )[s   .2U)r   r   r   r   r   r   rW   N>   r   r   r   r   r  r  )   )T)r   r   r   r   )9r5   r6   r7   r8   r   r   r   r   r   r   r   r   r   staticmethodr  r&  r   r   r   r   r   r@   r   UserFeatureOptionr   listrc   r   r   r   r   r   r=  r>  r?  r   rM  r   rh  IncludeDirsr   r   r   rz  r   r   r   r   r  r  r  r	  r  r   r   r   r;   r3   r<   r=   r   r      s   O""[$)%VZ> M M8#J )*tW%>%>?O',T37;23CD	!	  *$ &1&3/*dT30B0BED[D[]b]p]p$q  @E  F		
 	, 1$ <dTVW	-  2	-AF *dT30B0BED[D[]b]p]p$q  @E  F		
 	, 1$ <dTVW"D%wG-  +-V"  (+dT30B0BED[D[]b]p]p$qr		
 	dT30B0BED[D[]b]p]p$qr		
 	, 1$ <dTVW'):4%BSBSUXAY)Zdhrtu."3D::W"Xbfprs"D%wG-uGD'*-+  ,.-4n ).tdC[A4Y[hpq, 1$s Dd\^_*/tS%BTBT6UV`dnpq-!24$UEWEW9X!Ycgqst-!24$UEWEW9X!Ycgqst'):4)Et]_gop'):4)Et]_gop'):4)Et]_gop'):4%BSBSUXAY)Zdhrtu."3D::W"Xbfprs"D%wG#T5H ,5! ,5\ )84!$dE:+Xh?'):4)Et]_gop*/sD%BTBTV[VmVmot  pC  pC  7D  E  OS  ]_  	`	>C	  5>C@(*:x
:.`7
r 'OS))S)4-!24$UEWEW9X!Ycgqst"$5dT3HZHZ<[$\fjtvw/#4TD#uGYGY;Z#[eisuv$c8<).tc;RH$&7s&DbQ#%6tc%CRP#%6tc%CRP&e< 	-!24$UEWEW9X!Ycgqst'):4%BSBSUXAY)Zdhrtu+sB/*c2.'):4)Et]_`'):4)Et]_`/1B41MW[egh46Gc6R\`jlm#T48$dD9*dD1."3D::W"Xbfprs"D%8G$JW3K$ * (NW3r<   r   )O
__future__r   r   r  typingr   xml.etree.ElementTreeetreer  r  r  r   r   r   r   r   r   rH   r	   r
   r   r   r   mesonlibr   r   r   r   r   r   r   interpreter.type_checkingr   r   r   r   interpreterbaser   r   r   r   r   r   r   programsr   TYPE_CHECKINGr    dependencies.qtr!   r"   dependencies.baser#   r$   r%   r&   r'   typing_extensionsr(   Unionr   r)   r+   r?   rC   rK   ExtractRequiredrV   rY   r`   rg   ru   rz   r   r   r   _MODULE_NAME_PUNCTr  r   r3   r<   r=   <module>rX     sk  
 # 	   " " 	 0    w w R R 0 b b C  C  C 1???J7)$'*)ww46GGH+" "9 I 9  c.. c
CI Cy )  "y "%I %"y ") : 7 )*&1C0DHM_L``fgyfzz~Q3? Q3r<   