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

Add cmake instructions #1

Open
Pajn opened this issue Jun 23, 2015 · 2 comments
Open

Add cmake instructions #1

Pajn opened this issue Jun 23, 2015 · 2 comments

Comments

@Pajn
Copy link

Pajn commented Jun 23, 2015

This is a great module. However for a newbie in c++ and QML I can't get it to work together with CMake. I have got it to compile but QML doesn't find the import at runtime.

Providing instructions for CMake would help me very much.

@benlau
Copy link
Owner

benlau commented Jun 23, 2015

I never use CMake to build Qt project. So I don't know what is the right way to do so. But I think it should just add all *.h , *.cpp from this project to your CMakeList.txt like your own source files?

@TanNgocDo
Copy link

@Pajn You should create QuickFlux as a Qml Plugin for easy resuing. For each application you can load QuickFlux plugin. The guideline is here : http://doc.qt.io/qt-5/qtqml-modules-cppplugins.html
Using Cmake is not so diffucult :)

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

No branches or pull requests

3 participants