CMake: pro2cmake.py: Fix plugin type only prints first letter
Change-Id: Ib8989d2c13199d804d0c069903ca1c5eb61763e6 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
341729db15
commit
511124bf1d
@ -976,7 +976,7 @@ def write_sources_section(cm_fh: typing.IO[str], scope: Scope, *,
|
||||
plugin_type = scope.get_string('PLUGIN_TYPE')
|
||||
|
||||
if plugin_type:
|
||||
cm_fh.write('{} TYPE {}\n'.format(ind, plugin_type[0]))
|
||||
cm_fh.write('{} TYPE {}\n'.format(ind, plugin_type))
|
||||
|
||||
source_keys: typing.List[str] = []
|
||||
write_source_file_list(cm_fh, scope, 'SOURCES',
|
||||
|
Loading…
Reference in New Issue
Block a user