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. Embedding an ncurses window into a QT widget GUI
Forum Updated to NodeBB v4.3 + New Features

Embedding an ncurses window into a QT widget GUI

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 729 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
    simozz
    wrote on last edited by simozz
    #1

    Hi,

    I would like to develope my own small text editor with ncurses with a QT GUI.
    What is the best way to achieve it, and making GUI objects to interact with ncurses ?

    Simply said, I would like to achieve the same that gVim does with GTK libs.

    Thanks.
    s.

    jsulmJ 1 Reply Last reply
    0
    • S simozz

      Hi,

      I would like to develope my own small text editor with ncurses with a QT GUI.
      What is the best way to achieve it, and making GUI objects to interact with ncurses ?

      Simply said, I would like to achieve the same that gVim does with GTK libs.

      Thanks.
      s.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @simozz Why do you want to mix ncurses with Qt?
      gVim integrates an existing text mode application into a GUI one.
      If you're starting to implement your own app I don't see the point to mix ncurses with Qt.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • S Offline
        S Offline
        simozz
        wrote on last edited by
        #3

        Hello @jsulm,

        You are right to say that there is not need to mix QT and ncurses, and I already know it since I have already worked with QT.

        However I am also courious how this implementation (QT + ncurses) should be done. Do you know, briefly, how can it be done ?

        Regards,
        Simon

        aha_1980A 1 Reply Last reply
        0
        • S simozz

          Hello @jsulm,

          You are right to say that there is not need to mix QT and ncurses, and I already know it since I have already worked with QT.

          However I am also courious how this implementation (QT + ncurses) should be done. Do you know, briefly, how can it be done ?

          Regards,
          Simon

          aha_1980A Offline
          aha_1980A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi @simozz,

          https://github.com/ohwgiles/quilte is a project that does this more or less - it's a terminal emulator written in Qt. It has dependencies however and will not work on Windows, if I get it right.

          But it should show you the principle.

          Regards

          Qt has to stay free or it will die.

          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