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 use the new QtCreator for console input/output?

How to use the new QtCreator for console input/output?

Scheduled Pinned Locked Moved Solved General and Desktop
24 Posts 5 Posters 21.7k 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.
  • mrjjM mrjj

    @raymanT
    Does sounds the same. Flip flopping the settings makes it save it.
    I upgraded via maintenance tool but here the settings does seems to work.

    R Offline
    R Offline
    raymanT
    wrote on last edited by
    #21

    @mrjj
    Hello
    I just found that if using Qbs I will not encounter this problem, maybe it is the problem of qt4projectmanager, now I just use Qbs in my project for workaround.

    mrjjM 1 Reply Last reply
    1
    • R raymanT

      @mrjj
      Hello
      I just found that if using Qbs I will not encounter this problem, maybe it is the problem of qt4projectmanager, now I just use Qbs in my project for workaround.

      mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #22

      @raymanT
      Ok. If it is a bug it most likely get fixed in next release. I have not
      tried yet to fully reproduce it. Seems not to happen every time.

      1 Reply Last reply
      0
      • K Koljasha

        @mrjj OK.
        It is very interesting. I use clean installation on Ubuntu and Windows.
        And for exemple free C++ project and free Qt console project.
        In C++: cout << "Hello" << endl;
        In Qt: qDebug() << "Hello";

        Swati777999S Offline
        Swati777999S Offline
        Swati777999
        wrote on last edited by
        #23

        @Koljasha Hi, I got a doubt related to console output. I suppose the console output appears in the compile output section of the Qt Creator. Please confirm.

        Suppose , In Qt , QString myQuote= "Hello";
        Can I write qDebug()<< myQuote to get Hello in my console output?

        Thanks !

        “ In order to be irreplaceable, one must always be different” – Coco Chanel

        jsulmJ 1 Reply Last reply
        0
        • Swati777999S Swati777999

          @Koljasha Hi, I got a doubt related to console output. I suppose the console output appears in the compile output section of the Qt Creator. Please confirm.

          Suppose , In Qt , QString myQuote= "Hello";
          Can I write qDebug()<< myQuote to get Hello in my console output?

          Thanks !

          jsulmJ Online
          jsulmJ Online
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #24

          @Swati777999 https://forum.qt.io/topic/131521/displaying-qstring-variable-in-application-output

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

          1 Reply Last reply
          1

          • Login

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