-
Notifications
You must be signed in to change notification settings - Fork 75
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
C++ based example #15
Comments
Hello, So far I only have an example in listening to the actions from QML in C++. Quick Flux is a bit overkill for a pure C++ application. It should need a new framework. However, there has a problem in making a Flux implementation for in C++. That is the data type to be passed to Dispatcher. C++ is strong type language but Dispatcher allow any kind of data to be passed to the dispatch() function. Ofcoz, it could use QVariant type just like what Quick Flux did. But I think C++ developer do not really like this approach. Therefore, I don't have a solid answer about how to make it for C++ yet. |
Thanks for your answer. |
@benlau could you also mention what is the preferred way of interacting with stores/actions from c++ code? Unless I missunderstand something I should be changing properties in the store singleton, right? |
Hello Mister Benlau,
We would like to implement your framework in one of our new project.
We would be very interested in an example using C++ instead of QML.
What do we want exactly in our case ? Having stores and actions management in C++.
We would very pleased and grateful if you could have some time for it.
Have a nice day !
The text was updated successfully, but these errors were encountered: