Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. CMD embedded in GUI Applications.
QtWS25 Last Chance

CMD embedded in GUI Applications.

Scheduled Pinned Locked Moved General and Desktop
qterminalconsoleqconsoleterminalcmdtextedit
5 Posts 2 Posters 3.5k 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.
  • S Offline
    S Offline
    sp00lin9
    wrote on 26 Jun 2015, 00:56 last edited by
    #1

    I am trying to embed a CMD window into my GUI application. I have found QTerminal & Qconsole but I'm unsure of how to implement custom widgets in QT.

    I am looking to read & write to CMD from within my GUI application.

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 26 Jun 2015, 21:05 last edited by
      #2

      Hi and welcome to devnet,

      You can use it as any other widget from Qt. You even have an example in QTerminal's sources here

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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sp00lin9
        wrote on 27 Jun 2015, 02:27 last edited by
        #3

        & I have to include everything in the lib folder with my source correct? I know, extremely noob.

        Thanks.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          sp00lin9
          wrote on 27 Jun 2015, 04:31 last edited by
          #4

          Or would it be easier to print windows cmd output to qplaintextedit? I would need to send commands back..hmm..

          Can someone point me in the right direction?

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SGaist
            Lifetime Qt Champion
            wrote on 27 Jun 2015, 20:41 last edited by
            #5

            Build and install QTerminal, then you can use it like other libraries

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

            1 Reply Last reply
            0

            1/5

            26 Jun 2015, 00:56

            • Login

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