Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. How can display application when press on its icon like in mobile ?
QtWS25 Last Chance

How can display application when press on its icon like in mobile ?

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 2.1k Views
  • 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.
  • E Offline
    E Offline
    eng maro
    wrote on last edited by
    #1

    I made design using qt quick with java like menu in mobile phone and made project to display text edit using c++ , know i want know how i can run my text edit when press in its icon in menu using mouse area ?? or any way?

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Your English is hard to understand, so I might have got it wrong, but what do you mean by "run my text edit"? Do you mean that an event triggered in MouseArea causes the C++ function to display some text? If so, there is plenty on it in Qt docs, for example: "Embedding C++ Objects into QML Components.":https://qt-project.org/doc/qt-4.8/qtbinding.html#embedding-c-objects-into-qml-components

      (Z(:^

      1 Reply Last reply
      0
      • A Offline
        A Offline
        andre
        wrote on last edited by
        #3

        I think he means that he wants to run his standard system text exitor application. QDesktopServices::openUrl seems to be what you are looking for. You do need to run it on, in your case, a .txt file.

        1 Reply Last reply
        0
        • E Offline
          E Offline
          eng maro
          wrote on last edited by
          #4

          I will give the example in order to understand me in a mobile there are many icons and one of them called messaging when you click on it opens the window I can book my message and send it (this is i want to do)

          now i worked program in order to send message using qt creator with c++ , and worked program to design mobile menu that contain icons using qt quick with java , i want to know how i link between the two programs so that when press messaging icon open message window.

          1 Reply Last reply
          0
          • E Offline
            E Offline
            eng maro
            wrote on last edited by
            #5

            an other question when worked program in my computer and transferred its file to an other computer
            this error appear (the build directory needs to be at the same level as source directory ) so i can't run program what is the solution for this worning

            1 Reply Last reply
            0
            • E Offline
              E Offline
              eng maro
              wrote on last edited by
              #6

              I solve the second problem by change the directory bath

              1 Reply Last reply
              0

              • Login

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups
              • Search
              • Get Qt Extensions
              • Unsolved