Comments (10)
I guess this is not the proper approach as this takes the absolute path on my computer.
from qgis-mac-packager.
so where they point? the right approach is that they point to /opt/Qt/5.14.2/lib/
absolute path, since we assume that the qgis-deps use absolute paths. The @rpath is then used in the bundle step
from qgis-mac-packager.
I miss a bit of understanding how rpath is working.
I switched from @rpath/QtCore.framework/Versions/5/QtCore
to /opt/Qt/5.14.2/lib/QtCore.framework/Versions/Current/QtCore
in all PyQt libaries. Does it sound correct?
Otherwise, you cannot build the bindings.
from qgis-mac-packager.
yep
binary can have list of rpaths (install_name_change -add_rpath). and basically @rpath is replaced by one of the paths in the list...
from qgis-mac-packager.
so for example Contents/MacOS/QGIS has list of rpaths. and when it loads libgdal.dylib, it tries all its rpaths to find other libs
from qgis-mac-packager.
but the issue was happening while building.
so is this a matter of adding rpath to PyQt libs pointing to Qt installation?
from qgis-mac-packager.
probably,...
you are building QGIS, or qgis-deps directly? also best to download version 0.4.1 with the latest changes
from qgis-mac-packager.
you are building QGIS
yes, using deps 0.4.0
from qgis-mac-packager.
it may be fixed in 0.4.1, as i just sucessfully built qgis on out qgis-mac-server... However this annoying bug with libraries signatures/notarization drives me crazy...
from qgis-mac-packager.
$ ls /opt/Qt/5.14.2/
android clang_64 ios sha1s.txt
$ otool -l /opt/QGIS/qgis-deps-0.5.1/stage/lib/python3.7/site-packages/PyQt5/QtCore.so | grep RPATH -A3
cmd LC_RPATH
cmdsize 48
path @executable_path/../Frameworks (offset 12)
Load command 15
--
cmd LC_RPATH
cmdsize 40
path /opt/Qt/5.14.2/clang_64/lib (offset 12)
Load command 16
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.