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

Newbie Question: Share variable from C++ to QML

$
0
0
I’ve been going crazy trying to figure out this simple thing. I have a string (I’ve converted it to a QString) I created with an algorithm in C++. How do I show this string in a label on my app? I’m using Qt Quick 2 in QtCreator 2.7.2 with Qt 5.1.0. Thanks.

Viewing all articles
Browse latest Browse all 4972

Trending Articles