diff options
author | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-08-07 15:40:58 +0200 |
---|---|---|
committer | Tor Arne Vestbø <tor.arne.vestbo@qt.io> | 2022-08-08 16:30:35 +0200 |
commit | ca2979cc16c689a775ce7ea50c05fd7e2fcffb7c (patch) | |
tree | 464c601c0c314a38540e68e4c51505f3c350c85c /cmake/QtPluginHelpers.cmake | |
parent | 02a5b34c07a10e7fd5ffd785834e5da5a9cf9739 (diff) |
cmake: Move qt_install call into qt_generate_plugin_pri_file
The same way qt_generate_module_pri_file does it.
Change-Id: I42047ce7d23e8a289535041ccace8b0f0140ea12
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtPluginHelpers.cmake')
-rw-r--r-- | cmake/QtPluginHelpers.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cmake/QtPluginHelpers.cmake b/cmake/QtPluginHelpers.cmake index dfcdedb370..84060ae214 100644 --- a/cmake/QtPluginHelpers.cmake +++ b/cmake/QtPluginHelpers.cmake @@ -471,10 +471,7 @@ function(qt_finalize_plugin target) # We didn't do it in Qt5 times. get_target_property(plugin_type "${target}" QT_PLUGIN_TYPE) if(NOT plugin_type STREQUAL "qml_plugin") - qt_generate_plugin_pri_file("${target}" pri_file) - if(pri_file) - qt_install(FILES "${pri_file}" DESTINATION "${INSTALL_MKSPECSDIR}/modules") - endif() + qt_generate_plugin_pri_file("${target}") endif() endif() endfunction() |