mirror of
https://github.com/conan-io/conan-center-index.git
synced 2025-08-12 17:43:04 +00:00
(#11475) qt: set QT_PLUGIN_PATH for the run/build environments
This commit is contained in:
@@ -866,6 +866,10 @@ class QtConan(ConanFile):
|
||||
self.cpp_info.names["cmake_find_package"] = "Qt6"
|
||||
self.cpp_info.names["cmake_find_package_multi"] = "Qt6"
|
||||
|
||||
# consumers will need the QT_PLUGIN_PATH defined in runenv
|
||||
self.runenv_info.define("QT_PLUGIN_PATH", os.path.join(self.package_folder, "res", "archdatadir", "plugins"))
|
||||
self.buildenv_info.define("QT_PLUGIN_PATH", os.path.join(self.package_folder, "res", "archdatadir", "plugins"))
|
||||
|
||||
build_modules = []
|
||||
|
||||
libsuffix = ""
|
||||
|
Reference in New Issue
Block a user