-
-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bundle custom widget lib for Qt Designer #3
Comments
Yes it would we great to get it. I have plenty of custom forms not working anymore in QGIS3 that have to be updated with custom widgets. Currently the only way is by running QGIS inside a Linux VM. Thats's not really convenient. |
To me, the best approach seems to copy the Designer.app directly into QGIS bundle. Following this answer, it seems possible
@PeterPetrik could you as a quick try, just copy Designer.app in the bundle? |
It is the way it's done with windows packages. |
QtDesigner 4 works with only those items. |
should be part or tomorrow's nightly2 builds |
maybe related qgis/QGIS#4113 |
If forced to take libraries from bundled MacOS/lib, it fails to load some Apple's native frameworks due to symbol/lib clashes (libjpeg, libpng, libtiff and libsqlite3)
if I set rpath to bundled lib (equivallent of setting fallback library path), the /usr/lib/libsqlite3.dylib is picked which causes coredump when using
|
fixed by usage of DYLD_INSERT_LIBRARIES the Designer must be lauched by wrapper script located in |
I created a Platypus application that you can join next to the QGIS application. |
https://github.com/lutraconsulting/qgis-mac-packager/issues/80
It would be nice to have the custom widgets available for Qt Designer
Run cmake with -DWITH_CUSTOMWIDGETS=ON
This will place the lib in QT_PLUGINS_DIR
Then the question is how any existing Qt Designer would find the lib?
a) The user would have to add the path to the lib before starting Qt Designer
b) or we ship Qt Designer in the bundle?
The text was updated successfully, but these errors were encountered: