Skip to content
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

Including Fluid in other project #292

Open
khalili-mahdi opened this issue Jul 25, 2019 · 2 comments
Open

Including Fluid in other project #292

khalili-mahdi opened this issue Jul 25, 2019 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@khalili-mahdi
Copy link

is it possible to include this library in other project ?
i did this in my pro file :
include(Fluid/fluid.pro)
but result is an empty project

@Slesa
Copy link

Slesa commented Apr 10, 2020

This is not the way the Qt Plugin system works. It has to be built and installed to the local system. Then you build your application around it, then your application will be deployed.
Of course you may find a way with submodules and plugin paths of Qt - but is it worth?

@plfiorini plfiorini self-assigned this Apr 11, 2020
@plfiorini plfiorini added the question Further information is requested label Apr 11, 2020
@plfiorini
Copy link
Member

It's a bit tedious but it's possible: see this example https://github.com/lirios/fluid/tree/develop/examples/perproject/minimalqmake
The .pro files shipped with Fluid are only intended to embed it into your qmake project, therefore the only build targets are the QML imports which will be built dynamically and installed alongside your application.
Everything in the example needs to be reproduced in your project, including the .qmake.conf file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants