Comments (4)
Hi Denis,
The main API libraries qgis_core
, qgis_gui
and qgis_native
(and qgisgrass7
) are built as frameworks instead of dynamic libs:
/usr/local/opt/qgis3-dev/QGIS.app/Contents/Frameworks/
Not sure if the other .dylibs should be converted to frameworks as well. There are pros/cons.
I am currently working on a new QGIS_MACAPP_BUNDLE
that is truly minimal bundling, i.e. no *qgis*
libs are bundled, but referenced from installed prefix locations. This allows for other custom C++ apps to find the libs/frameworks appropriately.
from homebrew-qgisdev.
Hi Larry,
Thanks for the prompt feedback.
The context is to try to build QField on the mac and I need to add qgis_core library.
Is this feasible with the frameworks or I would have to wait for your new bundle?
Cheers!
from homebrew-qgisdev.
Hi Denis,
If you can give more feedback on how you are intending to link to the frameworks, i.e. just for building and testing, or for distribution packaging, that would help determine what may work for you right now. Using the already-bundled frameworks may be advantageous or not depending upon your needs.
You can contact me directly via my QGIS Dev mailing list email address, if needed.
from homebrew-qgisdev.
Hi Larry,
I am trying to compile QField in Mac.
It needs QGIS core to build: https://github.com/opengisch/QField/blob/master/qgis.pri#L8-L9
@m-kuhn pointed me to Qt doc on using frameworks. But I had no luck trying:
QMAKE_LFLAGS += -F /Users/denis/opt/qgis/QGIS_INSTALL/QGIS.app/Contents/Frameworks/
LIBS += -framework qgis_core.framework
Do you have any hint regarding this?
Thanks again for your time,
Denis
from homebrew-qgisdev.
Related Issues (20)
- Can't compile qgis3-dev HOT 4
- Support for tabs in main window HOT 2
- Launching QGIS 3 dev for the first time error HOT 2
- cannot build on mac high sierra (bison illegal instruction) HOT 1
- Cmake errors installing on mac os 10.13.1
- QGIS3 Install Failed on Matplotlib Dependency HOT 17
- Error with python in cmake
- Character range error when attempting to install QGIS Dev via Homebrew HOT 4
- Import error-- image not found
- Error: homebrew/science was deprecated HOT 1
- Use 'depends_on "python3"' instead. HOT 1
- Error: homebrew/science was deprecated HOT 4
- ImportError: No module named site HOT 19
- Homebrew making python3 the default python HOT 38
- QGIS 3 is built without 3D support HOT 2
- Can't build QGIS3 Dev HOT 21
- cannot tap qgis/qgisdev HOT 2
- Build fails with Python-3.7 pip 10 due to ninja? HOT 1
- can't install qgis dev
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 homebrew-qgisdev.