Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Connecting C++ console project with qml (Qt Quick Application)

$
0
0
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)

Viewing all articles
Browse latest Browse all 4972

Trending Articles