Coder Social home page Coder Social logo

Comments (4)

dakcarto avatar dakcarto commented on July 2, 2024

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.

3nids avatar 3nids commented on July 2, 2024

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.

dakcarto avatar dakcarto commented on July 2, 2024

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.

3nids avatar 3nids commented on July 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.