Comments (11)
fixed by usage of DYLD_INSERT_LIBRARIES
the Designer must be lauched by wrapper script located in QGIS.app/Contents/MacOS/bin/designer
from qgis-mac-packager.
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.
from qgis-mac-packager.
To me, the best approach seems to copy the Designer.app directly into QGIS bundle.
Following this answer, it seems possible
- Run cmake with
-D WITH_CUSTOM_WIDGETS=ON
(done in #22) - Copy
/usr/local/opt/qt/libexec/Designer.app
into the bundle (see the above link) - Check that the custom widget lib is in QT_PLUGINS_DIR (
/usr/local/opt/qt/plugins/designer
) - Controls that it opens fine i.e. it can find qgis_core and qgis_gui
- Create a shortuct or make the app visible
@PeterPetrik could you as a quick try, just copy Designer.app in the bundle?
I am not familiar with the code...
from qgis-mac-packager.
It is the way it's done with windows packages.
from qgis-mac-packager.
QtDesigner 4 works with only those items.
QtDesigner 4.zip
from qgis-mac-packager.
should be part or tomorrow's nightly2 builds
from qgis-mac-packager.
I tried the latest nightly2 which is qgis_nightly2_master_20200723_032054.
I did find Qt Designer packaged inside at QGIS.app/Contents/MacOS/Designer.app
But when launching it, it doesn't include the QGIS custom widgets. But at least it works well.
from qgis-mac-packager.
maybe related qgis/QGIS#4113
from qgis-mac-packager.
from qgis-mac-packager.
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)
peter@pp-mb:/opt/QGIS/qgis-dev$ DYLD_LIBRARY_PATH=/opt/QGIS/qgis-dev/bundle/QGIS.app/Contents/MacOS/lib ./Designer.app/Contents/MacOS/Designer
dyld: Symbol not found: __cg_jpeg_resync_to_restart
Referenced from: /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Expected in: /opt/QGIS/qgis-dev/bundle/QGIS.app/Contents/MacOS/lib/libJPEG.dylib
in /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
Abort trap: 6
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 QgsProject::instance()
(see previous screen)
peter@pp-mb:/opt/QGIS/qgis-dev$ DYLD_FALLBACK_LIBRARY_PATH=/opt/QGIS/qgis-dev/bundle/QGIS.app/Contents/MacOS/lib ./Designer.app/Contents/MacOS/Designer
src/core/auth/qgsauthmanager.cpp:3711 : (authDbQuery) [1ms] Auth db query exec() FAILED
WARNING: Auth db query exec() FAILED
Segmentation fault: 11
from qgis-mac-packager.
I created a Platypus application that you can join next to the QGIS application.
from qgis-mac-packager.
Related Issues (20)
- Release 3.22.10 and 3.26.2 package builds failed HOT 5
- At what QGIS release can OSX 10.15 be the minimum supported version?
- Reading GeoParquet files in QGIS (MacOS installation) HOT 6
- GML (and NAS) support missing in bundled GDAL HOT 1
- Latest QGIS 3.28 is missing SAGA and GRASS HOT 1
- QGIS 3.28 warns that several pdal related dylibs can't be opened because Apple cannot check it for malicious software HOT 2
- QGIS 3.28 requires GEOS 3.10, packager is using 3.9 HOT 15
- A macOS app icon that meets Apple's standards HOT 2
- qGIS download for OSX points to 3.28.2 instead of 3.28.3 HOT 1
- scikit-learn outdated on QGIS for macOS
- Issue Opening GOC with LERC Compression HOT 1
- updated GDAL i mac-version of qgis anytime soon? HOT 6
- MAC OS Ventura Launch fails HOT 1
- Apple Verification Failure HOT 6
- Dark mode unreadable HOT 3
- Upgrade bundled GRASS version from 7 to 8
- [QGIS] [QGIS-LTR] [macOS] Pyrcc5, syntax error in component code (rif. https://github.com/qgis/QGIS/issues/54199)
- GDAL tools using bash scripts don't work when the path to QGIS.app has spaces
- QGIS 3.34.0 installer package is failing to build
- qgis_deps build scripts dependency URLs are dead links
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qgis-mac-packager.