[SOLVED] Pass string from C++ to QML

  • I am trying to pass a simple string from C++ to QML. I want to show the string in a simple TextInput in QML. I have looked around for similar topics but have not found anything so far that could help me. How do I approach this?

  • Thank you for your post.

    I wanted to display a string in an Application Window. I got it to work by using Q_INVOKABLE.

    Thank you for your time and help.

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.