-
-
Notifications
You must be signed in to change notification settings - Fork 93
Closed
Labels
EnhancementNew feature or requestNew feature or requestLinuxLinux versionLinux versionWindowsWindows versionWindows version
Milestone
Description
Problem:
For now there is no direct way to copy extra files(plugin libs in my case) into the special folder. And it copies files and folders into the target directory's root.
I copy using qmake into the special folder and add path to it into extraData. Like this:
COPIES += myPlugins
myPlugins.files = $$files($$OUT_PWD/lib*.so*)
myPlugins.path = $$files($$OUT_PWD/plugins/myPlugins)
...
cqtdeployer -extraData $$OUT_PWD/plugins/myPlugins ....
My project tree:
buildFolder
|- application
|- plugins -> copy into $$PWD/packages/application.package/data/application/myPlugins
|- (*.so, *.a, *.lib, *.dll)
|- (other build files not needed in installer)
|- morePlugins -> copy into $$PWD/packages/application.package/data/application/myPlugins
|- (*.so, *.a, *.lib, *.dll)
|- (other build files not needed in installer)
rootFolder
|- installer
|- packages
|- application.package
|- data
|- application
|- myPlugins
|- (*.so, *.a, *.lib, *.dll)
|- meta
Suggestion
Expand extraData with the syntax below:
-extraData {$$OUT_PWD/plugins/libPluginName.so,myPlugins/libPluginNewName.so},{$$OUT_PWD/plugins/libSecondPluginName.so,myPlugins/libSecondPluginNewName.so},{$$OUT_PWD/plugins/libThirdPluginName.so}
Metadata
Metadata
Assignees
Labels
EnhancementNew feature or requestNew feature or requestLinuxLinux versionLinux versionWindowsWindows versionWindows version