Hi, how to connect my C++ console project (simple board game) with qml project (Qt Quick Application)? I want to add graphics and mouse areas. I have class “dice”, which have attribute “value”. How can I use this value in my Item in qml? For example I want to roll, so i click on the sprite with dice and then i want to call method which returning random number 1..6. How can i do it? (sorry about my english)
↧