Replies: 10 comments
-
cc @Neumann-A |
Beta Was this translation helpful? Give feedback.
-
this should be handled by |
Beta Was this translation helpful? Give feedback.
-
Automatic deployment very convenient for the apps that have a lot of dependencies. Copy everything manually using CMake would be insane. Currently works fine for me, except the translations, I just copy them via CMake. |
Beta Was this translation helpful? Give feedback.
-
I beg to differ |
Beta Was this translation helpful? Give feedback.
-
I've tried this approach, but it copies many more libraries than required. Literally every library is copied, the application bundle size 4 times more than it needs :(
Yes, it works as expected for Qt deps. But I switched to So, adding translations to |
Beta Was this translation helpful? Give feedback.
-
That is simply a problem of not correctly setting it up. Use
to limit the amount of libraries it includes/tries to copies. |
Beta Was this translation helpful? Give feedback.
-
I know about this, but most of the copied libraries had different names in my case and I would have a long list. |
Beta Was this translation helpful? Give feedback.
-
the trick is that POST regex can filter by paths/folders.
Limits the script to always depend on vcpkg. Your build script probably knows a lot more about your build then the simple assumptions vcpkg does. |
Beta Was this translation helpful? Give feedback.
-
Paths where copied from? I didn't know about that. Will definitely try.
There is #14243 that allows to pass |
Beta Was this translation helpful? Give feedback.
-
@Neumann-A, you suggested to use
|
Beta Was this translation helpful? Give feedback.
-
Describe the bug
windeployqt copies all Qt translations (from
share/qt5/translations/qt_<code>.qm
) to the folder with the specified executable file. This is necessary to make Qt-related strings translatable (for example, the standard cancel button text in dialogs). Butapplocal.ps1
doesn't copy translations.To Reproduce
Use
x_vcpkg_install_local_dependencies
on any Qt app target from the #14129.Beta Was this translation helpful? Give feedback.
All reactions