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. How to embed a standalone text editor like Notepad++ into QT application
Forum Update on Monday, May 27th 2025

How to embed a standalone text editor like Notepad++ into QT application

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 4 Posters 2.2k 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.
  • N Offline
    N Offline
    Niagarer
    wrote on 25 Nov 2017, 13:01 last edited by Niagarer
    #1

    Hi,
    I think it is not possible to embed it like a widget really inside my program, but at least as a new opening window.
    So that I can click a button in my application, a new standalone text editor-window (like Atom or Notepad++) opens, I type in some code, click on a button again, the editor window closes and my application got everything, I typed in.
    Because I can't write such a good text editor myself and it would not make sence, while there are many good text editors out there.
    Is this possible?
    Thanks for answers!

    J 1 Reply Last reply 27 Nov 2017, 05:55
    0
    • C Offline
      C Offline
      Carlavilla
      wrote on 25 Nov 2017, 13:56 last edited by
      #2

      @Niagarer something like that: http://doc.qt.io/qt-5/qtwidgets-widgets-codeeditor-example.html

      1 Reply Last reply
      1
      • N Niagarer
        25 Nov 2017, 13:01

        Hi,
        I think it is not possible to embed it like a widget really inside my program, but at least as a new opening window.
        So that I can click a button in my application, a new standalone text editor-window (like Atom or Notepad++) opens, I type in some code, click on a button again, the editor window closes and my application got everything, I typed in.
        Because I can't write such a good text editor myself and it would not make sence, while there are many good text editors out there.
        Is this possible?
        Thanks for answers!

        J Offline
        J Offline
        jsulm
        Lifetime Qt Champion
        wrote on 27 Nov 2017, 05:55 last edited by
        #3

        @Niagarer You can't embed external applications like Notepad++ as widget into your app.
        What about https://www.riverbankcomputing.com/software/qscintilla/intro ?

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

        1 Reply Last reply
        2
        • P Offline
          P Offline
          Pablo J. Rogina
          wrote on 27 Nov 2017, 13:58 last edited by
          #4

          @Niagarer you may also want to take a look at KTextEditor

          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
          2

          1/4

          25 Nov 2017, 13:01

          • Login

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