Hai Friends. Today i am facing Small pblm(HOW TO SEND THE .CPP FILE VARIABLE TO .QML FILE) PLZ HELP ME
-
When Using the QML(Application) file in Qt Widget Application using the QQuickView control. In QtWidget Application (.cpp)file is There ,In That File I am using One Variable.According to that Variable QML(LOAD Application) Application that Value should be changed. So Here My Question is how to send the variable in(.cpp )file to .qml File.plz help out to me.
thanks -
When Using the QML(Application) file in Qt Widget Application using the QQuickView control. In QtWidget Application (.cpp)file is There ,In That File I am using One Variable.According to that Variable QML(LOAD Application) Application that Value should be changed. So Here My Question is how to send the variable in(.cpp )file to .qml File.plz help out to me.
thanks@Vinay-Kumar-pusuluri
Is this the same as your new post https://forum.qt.io/topic/92262/hello-friends-i-am-facing-small-issue-can-u-suggest-me ? -
@Vinay-Kumar-pusuluri
Read more about Cpp and Qml interation:Choosing the Correct Integration Method Between C++ and QML
Interact - QML and C++ Method 1
Interact - QML and C++ Method 2 -
When Using the QML(Application) file in Qt Widget Application using the QQuickView control. In QtWidget Application (.cpp)file is There ,In That File I am using One Variable.According to that Variable QML(LOAD Application) Application that Value should be changed. So Here My Question is how to send the variable in(.cpp )file to .qml File.plz help out to me.
thanks@Vinay-Kumar-pusuluri as already stated by @JonB please don't double post your issue. You may need to wait some time till somebody from the community can answer... Thanks.
-
Hi,
Unrelated to your issue, please change the topic title to something meaningful. It’s not a field to write half your question.
-
Hi,
Unrelated to your issue, please change the topic title to something meaningful. It’s not a field to write half your question.
@SGaist said in Hai Friends. Today i am facing Small pblm(HOW TO SEND THE .CPP FILE VARIABLE TO .QML FILE) PLZ HELP ME:
Unrelated to your issue, please change the topic title to something meaningful. It’s not a field to write half your question.
@Vinay-Kumar-pusuluri, please read and follow https://meta.stackexchange.com/questions/10647/how-do-i-write-a-good-title/10648
-
I am Really Sorry to post This Question twise...Sorry to All
-
@SGaist said in Hai Friends. Today i am facing Small pblm(HOW TO SEND THE .CPP FILE VARIABLE TO .QML FILE) PLZ HELP ME:
Unrelated to your issue, please change the topic title to something meaningful. It’s not a field to write half your question.
@Vinay-Kumar-pusuluri, please read and follow https://meta.stackexchange.com/questions/10647/how-do-i-write-a-good-title/10648
@JKSH I am sorry for this question was posted twice.
My question is I am taking one qt widget application. In that application I take one
quickwidget and line edit and pushbutton in my .ui file.
In my . Cpp file I have done like this
ui->quickwidget->setsource("mygraph.qml");
Whenever I am clicking the pushbutton that line edit value should be go to the qml.
I am strucked at the that line edit data should be going to the . Qml file.
I am unable to handle this can u suggest me -
@JKSH I am sorry for this question was posted twice.
My question is I am taking one qt widget application. In that application I take one
quickwidget and line edit and pushbutton in my .ui file.
In my . Cpp file I have done like this
ui->quickwidget->setsource("mygraph.qml");
Whenever I am clicking the pushbutton that line edit value should be go to the qml.
I am strucked at the that line edit data should be going to the . Qml file.
I am unable to handle this can u suggest meApology accepted :-) Don't worry, we are happy to help. But in the future, do try to avoid posting twice, and give your posts good titles.
Whenever I am clicking the pushbutton that line edit value should be go to the qml.
I am strucked at the that line edit data should be going to the . Qml file.Do you know how to run a function each time you click the push button?