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 forbid to use gnome terminal for specific app
Forum Updated to NodeBB v4.3 + New Features

How to forbid to use gnome terminal for specific app

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 316 Views 1 Watching
  • 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.
  • J Offline
    J Offline
    JacobNovitsky
    wrote on last edited by
    #1

    There is Qt App, settings set to use gnome terminal for ALL Qt Apps, but for current Qt App I need to produce output to other output source

    Is there a way to explicitly forbid to use gnome terminal for current project?
    What are the common ways to print output (I would use some QT widget for Desktop)

    jsulmJ Pl45m4P 2 Replies Last reply
    0
    • J JacobNovitsky

      There is Qt App, settings set to use gnome terminal for ALL Qt Apps, but for current Qt App I need to produce output to other output source

      Is there a way to explicitly forbid to use gnome terminal for current project?
      What are the common ways to print output (I would use some QT widget for Desktop)

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

      @JacobNovitsky I don't understand the question.
      In what way does the app use Gnome Terminal? Do you mean the app currently outputs to stdout (have nothing to do with any specific terminal) and you want to forward this output to some other endpoint (like file)?

      "What are the common ways to print output" - print to where and what is this output? Please explain better.

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

      1 Reply Last reply
      0
      • J JacobNovitsky

        There is Qt App, settings set to use gnome terminal for ALL Qt Apps, but for current Qt App I need to produce output to other output source

        Is there a way to explicitly forbid to use gnome terminal for current project?
        What are the common ways to print output (I would use some QT widget for Desktop)

        Pl45m4P Offline
        Pl45m4P Offline
        Pl45m4
        wrote on last edited by Pl45m4
        #3

        @JacobNovitsky said in How to forbid to use gnome terminal for specific app:

        What are the common ways to print output (I would use some QT widget for Desktop)

        Your OS terminal or the console inside your IDE (e.g. QtCreator output pane)


        If debugging is the process of removing software bugs, then programming must be the process of putting them in.

        ~E. W. Dijkstra

        J 1 Reply Last reply
        0
        • Pl45m4P Pl45m4

          @JacobNovitsky said in How to forbid to use gnome terminal for specific app:

          What are the common ways to print output (I would use some QT widget for Desktop)

          Your OS terminal or the console inside your IDE (e.g. QtCreator output pane)

          J Offline
          J Offline
          JacobNovitsky
          wrote on last edited by
          #4

          @Pl45m4 my settings below

          It set for all app made with Qt Creator, but for one specific app don't need the terminal, I need to debug it with QWindow something

          postQt.png

          Pl45m4P 1 Reply Last reply
          0
          • J JacobNovitsky

            @Pl45m4 my settings below

            It set for all app made with Qt Creator, but for one specific app don't need the terminal, I need to debug it with QWindow something

            postQt.png

            Pl45m4P Offline
            Pl45m4P Offline
            Pl45m4
            wrote on last edited by
            #5

            @JacobNovitsky said in How to forbid to use gnome terminal for specific app:

            I need to debug it with QWindow something

            Then do so. Implement something where you can see debug messages in a QWidget.
            But it could be hard to track down issues when the GUI hangs/crashes and your "debug widget" is not responding either...
            There's a reason why debug output is send to a separate terminal/console and usually not displayed by the app you want to debug.


            If debugging is the process of removing software bugs, then programming must be the process of putting them in.

            ~E. W. Dijkstra

            1 Reply Last reply
            2

            • Login

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