E5Network/data/tld_rc.py

branch
maintenance
changeset 5950
a3766629075c
parent 5694
27f8227ba598
child 5951
b36709dbef44
equal deleted inserted replaced
5949:22657f04f332 5950:a3766629075c
1 # -*- coding: utf-8 -*- 1 # -*- coding: utf-8 -*-
2 2
3 # Resource object code 3 # Resource object code
4 # 4 #
5 # Created by: The Resource Compiler for PyQt5 (Qt v5.6.1) 5 # Created by: The Resource Compiler for PyQt5 (Qt v5.9.1)
6 # 6 #
7 # WARNING! All changes made in this file will be lost! 7 # WARNING! All changes made in this file will be lost!
8 8
9 from PyQt5 import QtCore 9 from PyQt5 import QtCore
10 10
11512 \x08\xc6\x0f\x34\ 11512 \x08\xc6\x0f\x34\
11513 \x00\x74\ 11513 \x00\x74\
11514 \x00\x65\x00\x73\x00\x74\x00\x5f\x00\x70\x00\x73\x00\x6c\x00\x2e\x00\x74\x00\x78\x00\x74\ 11514 \x00\x65\x00\x73\x00\x74\x00\x5f\x00\x70\x00\x73\x00\x6c\x00\x2e\x00\x74\x00\x78\x00\x74\
11515 " 11515 "
11516 11516
11517 qt_resource_struct = b"\ 11517 qt_resource_struct_v1 = b"\
11518 \x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\ 11518 \x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\
11519 \x00\x00\x00\x34\x00\x01\x00\x00\x00\x01\x00\x02\xca\xc8\ 11519 \x00\x00\x00\x34\x00\x01\x00\x00\x00\x01\x00\x02\xca\xc8\
11520 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\ 11520 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
11521 " 11521 "
11522 11522
11523 qt_resource_struct_v2 = b"\
11524 \x00\x00\x00\x00\x00\x02\x00\x00\x00\x02\x00\x00\x00\x01\
11525 \x00\x00\x00\x00\x00\x00\x00\x00\
11526 \x00\x00\x00\x34\x00\x01\x00\x00\x00\x01\x00\x02\xca\xc8\
11527 \x00\x00\x01\x54\x8b\x69\xe2\xc8\
11528 \x00\x00\x00\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x00\
11529 \x00\x00\x01\x54\x8a\xec\x56\x28\
11530 "
11531
11532 qt_version = QtCore.qVersion().split('.')
11533 if qt_version < ['5', '8', '0']:
11534 rcc_version = 1
11535 qt_resource_struct = qt_resource_struct_v1
11536 else:
11537 rcc_version = 2
11538 qt_resource_struct = qt_resource_struct_v2
11539
11523 def qInitResources(): 11540 def qInitResources():
11524 QtCore.qRegisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) 11541 QtCore.qRegisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
11525 11542
11526 def qCleanupResources(): 11543 def qCleanupResources():
11527 QtCore.qUnregisterResourceData(0x01, qt_resource_struct, qt_resource_name, qt_resource_data) 11544 QtCore.qUnregisterResourceData(rcc_version, qt_resource_struct, qt_resource_name, qt_resource_data)
11528 11545
11529 qInitResources() 11546 qInitResources()

eric ide

mercurial