eric7/Plugins/PluginEricdoc.py

branch
eric7
changeset 9155
2efa8d1312cd
parent 9154
e8ca7b41a7d8
child 9156
aec35836ca4a
equal deleted inserted replaced
9154:e8ca7b41a7d8 9155:2efa8d1312cd
106 "versionStartsWith": 'Qt', 106 "versionStartsWith": 'Qt',
107 "versionPosition": -1, 107 "versionPosition": -1,
108 "version": "", 108 "version": "",
109 "versionCleanup": (0, -1), 109 "versionCleanup": (0, -1),
110 }) 110 })
111 # 2.2 location starting with 6.3.0 (Linux and macOS) 111 if not Utilities.isWindowsPlatform():
112 exe = os.path.join( 112 # 2.2 location starting with 6.3.0 (Linux and macOS)
113 Utilities.getQtBinariesPath(libexec=True), 113 exe = os.path.join(
114 Utilities.generateQtToolName('qhelpgenerator') 114 Utilities.getQtBinariesPath(libexec=True),
115 ) 115 Utilities.generateQtToolName('qhelpgenerator')
116 if Utilities.isWindowsPlatform(): 116 )
117 exe += '.exe' 117 dataList.append({
118 dataList.append({ 118 "programEntry": True,
119 "programEntry": True, 119 "header": QCoreApplication.translate(
120 "header": QCoreApplication.translate( 120 "EricdocPlugin", "Qt Help Tools"),
121 "EricdocPlugin", "Qt Help Tools"), 121 "exe": exe,
122 "exe": exe, 122 "versionCommand": '-v',
123 "versionCommand": '-v', 123 "versionStartsWith": 'Qt',
124 "versionStartsWith": 'Qt', 124 "versionPosition": -1,
125 "versionPosition": -1, 125 "version": "",
126 "version": "", 126 "versionCleanup": (0, -1),
127 "versionCleanup": (0, -1), 127 })
128 })
129 128
130 return dataList 129 return dataList
131 130
132 131
133 class EricdocPlugin(QObject): 132 class EricdocPlugin(QObject):

eric ide

mercurial