Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. [Solved] "qmake " Console window problem in the release build
Forum Updated to NodeBB v4.3 + New Features

[Solved] "qmake " Console window problem in the release build

Scheduled Pinned Locked Moved Qt Creator and other tools
5 Posts 2 Posters 2.4k 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.
  • S Offline
    S Offline
    shahid.pk
    wrote on last edited by
    #1

    I have a little problem may be big but i don't know,every programme that i compile in debug configuration runs perfect but when i use release configuration a console window pops up every time i run the release build..i don't know whats the problem..i am giving my project file that i used.

    @CONFIG =qt release
    TEMPLATE = app
    TARGET =
    DESTDIR = release
    DEPENDPATH += .
    INCLUDEPATH += .

    Input

    HEADERS += sortdialog.h
    FORMS += sortdialog.ui
    SOURCES += main.cpp sortdialog.cpp@

    Love to learn....

    1 Reply Last reply
    0
    • B Offline
      B Offline
      billouparis
      wrote on last edited by
      #2

      And what is the problem/error message you are getting? Is it a compile problem, a link problem or an execution problem?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shahid.pk
        wrote on last edited by
        #3

        no no there is no error in the compile process or build process..and my application,let say dialog window do execute but with it a console window pops up(like that of Ms-Dos).and i don't want that console window but don't know why it is opening.

        Love to learn....

        1 Reply Last reply
        0
        • B Offline
          B Offline
          billouparis
          wrote on last edited by
          #4

          try to add
          CONFIG -= console
          just for a test...

          1 Reply Last reply
          0
          • S Offline
            S Offline
            shahid.pk
            wrote on last edited by
            #5

            UPDATE
            I figured it out..i just tried CONFIG +=release and it worked.

            Love to learn....

            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