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. QDebug output in dos Shell
Forum Updated to NodeBB v4.3 + New Features

QDebug output in dos Shell

Scheduled Pinned Locked Moved General and Desktop
22 Posts 7 Posters 11.1k 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.
  • Q Offline
    Q Offline
    qwertyuiopearendil
    wrote on last edited by
    #1

    Hi All,
    I've a question for you: from 3 days when I run my app from qtcreator it with application open also a dos shell where "qDebug()<<" command put output.
    Some of you do you know how can i remove this feature.

    Thanks.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tobias.hunger
      wrote on last edited by
      #2

      Have you tried doing release builds?

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DenisKormalev
        wrote on last edited by
        #3

        Try
        @
        CONFIG -= console
        @

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jorj
          wrote on last edited by
          #4

          have you got the run in terminal option checked in the project settings?

          1 Reply Last reply
          0
          • Q Offline
            Q Offline
            qwertyuiopearendil
            wrote on last edited by
            #5

            Where is this check in project settings?

            1 Reply Last reply
            0
            • Q Offline
              Q Offline
              qwertyuiopearendil
              wrote on last edited by
              #6

              I'm compiling in release mode and i've tryed with CONFIG -=console, and i've also check abput the console option in run setting and it is disable, but i've always the same problem.

              Any other ideas?

              1 Reply Last reply
              0
              • Q Offline
                Q Offline
                qwertyuiopearendil
                wrote on last edited by
                #7

                Any others ideas?

                1 Reply Last reply
                0
                • S Offline
                  S Offline
                  shiroki
                  wrote on last edited by
                  #8

                  did you re-create your makefile after adding the CONFIG-=console line?

                  You have to run "qmake" to recreate the makefile if you haven't done it yet.

                  blog: http://www.cuteqt.com/blog
                  bbs: http://www.cuteqt.com/bbs

                  1 Reply Last reply
                  0
                  • Q Offline
                    Q Offline
                    qwertyuiopearendil
                    wrote on last edited by
                    #9

                    I know that could a very stupid question but to recreate makefile i should simply go on debug menu and pres qmake.

                    This is what i do. Is this right?

                    Thanks

                    1 Reply Last reply
                    0
                    • ? This user is from outside of this forum
                      ? This user is from outside of this forum
                      Guest
                      wrote on last edited by
                      #10

                      yes, in the build menu, you just need to click on "run qmake"
                      do a clean build also

                      1 Reply Last reply
                      0
                      • Q Offline
                        Q Offline
                        qwertyuiopearendil
                        wrote on last edited by
                        #11

                        Ok thanks a lot for your quickly reply.

                        1 Reply Last reply
                        0
                        • ? This user is from outside of this forum
                          ? This user is from outside of this forum
                          Guest
                          wrote on last edited by
                          #12

                          @qwerty finally did your problem get solved?

                          1 Reply Last reply
                          0
                          • Q Offline
                            Q Offline
                            qwertyuiopearendil
                            wrote on last edited by
                            #13

                            No my problem is unsolved at now.

                            1 Reply Last reply
                            0
                            • Q Offline
                              Q Offline
                              qwertyuiopearendil
                              wrote on last edited by
                              #14

                              But the great issue also is that i do not know how and when this "feature" come...

                              1 Reply Last reply
                              0
                              • ? This user is from outside of this forum
                                ? This user is from outside of this forum
                                Guest
                                wrote on last edited by
                                #15

                                post or attach all ur files here, one of us will try

                                1 Reply Last reply
                                0
                                • A Offline
                                  A Offline
                                  alexander
                                  wrote on last edited by
                                  #16

                                  qwertyuiopea Do you use QCoreApplication or QApplication?

                                  1 Reply Last reply
                                  0
                                  • Q Offline
                                    Q Offline
                                    qwertyuiopearendil
                                    wrote on last edited by
                                    #17

                                    I'm using QApplication.

                                    1 Reply Last reply
                                    0
                                    • S Offline
                                      S Offline
                                      stukdev
                                      wrote on last edited by
                                      #18

                                      I have the same issue, but i resolving use in the .pro file CONFIG += console and regeneration the makefile and rebuild all. This work for me.

                                      1 Reply Last reply
                                      0
                                      • A Offline
                                        A Offline
                                        alexander
                                        wrote on last edited by
                                        #19

                                        stuk, maybe CONFIG -= console

                                        1 Reply Last reply
                                        0
                                        • A Offline
                                          A Offline
                                          alexander
                                          wrote on last edited by
                                          #20

                                          qwertyuiopea Have you tried to set @CONFIG -= console@ , delete makefile and build project over again?

                                          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