Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Hai Friends. Today i am facing Small pblm(HOW TO SEND THE .CPP FILE VARIABLE TO .QML FILE) PLZ HELP ME

    General and Desktop
    6
    9
    914
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      Vinay Kumar pusuluri last edited by JKSH

      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

      JonB Pablo J. Rogina 2 Replies Last reply Reply Quote 0
      • JonB
        JonB @Vinay Kumar pusuluri last edited by

        @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 ?

        1 Reply Last reply Reply Quote 2
        • KillerSmath
          KillerSmath last edited by

          @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

          @Computer Science Student - Brazil
          Web Developer and Researcher
          “Sometimes it’s the people no one imagines anything of who do the things that no one can imagine.” - Alan Turing

          1 Reply Last reply Reply Quote 3
          • Pablo J. Rogina
            Pablo J. Rogina @Vinay Kumar pusuluri last edited by

            @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.

            Upvote the answer(s) that helped you solve the issue
            Use "Topic Tools" button to mark your post as Solved
            Add screenshots via postimage.org
            Don't ask support requests via chat/PM. Please use the forum so others can benefit from the solution in the future

            1 Reply Last reply Reply Quote 2
            • SGaist
              SGaist Lifetime Qt Champion last edited by

              Hi,

              Unrelated to your issue, please change the topic title to something meaningful. It’s not a field to write half your question.

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              JKSH 1 Reply Last reply Reply Quote 3
              • JKSH
                JKSH Moderators @SGaist last edited by

                @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

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                V 1 Reply Last reply Reply Quote 2
                • V
                  Vinay Kumar pusuluri last edited by

                  I am Really Sorry to post This Question twise...Sorry to All

                  1 Reply Last reply Reply Quote 0
                  • V
                    Vinay Kumar pusuluri @JKSH last edited by

                    @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 1 Reply Last reply Reply Quote 0
                    • JKSH
                      JKSH Moderators @Vinay Kumar pusuluri last edited by

                      Hi @Vinay-Kumar-pusuluri,

                      Apology 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?

                      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                      1 Reply Last reply Reply Quote 1
                      • First post
                        Last post