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. QT 5.15.1 Console project Not popup the Console during the Run.
Forum Update on Monday, May 27th 2025

QT 5.15.1 Console project Not popup the Console during the Run.

Scheduled Pinned Locked Moved Solved General and Desktop
3 Posts 3 Posters 1.4k 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.
  • AmrCoderA Offline
    AmrCoderA Offline
    AmrCoder
    wrote on last edited by
    #1

    Hi,

    I was using QT 5.15.0 and it was working perfect on my old laptop, the problem shows once I download the QT 5.15.1 on my new laptop, when I create a simple C++ Console project the when I run the program the Console now show up and the result is shown in QT creator Application Output Area at the bottom but I can't put my stander input to the app, so if it's static data it shows in the bottom in the Application output area in QT creator, but when I make a simple program that adds 2 integers and accept it from stander input using c++ cin it did not work or accept the Input, so what I am missing in my Configuration in the new QT 5.15.1?
    my .pro

    QT -= gui
    
    CONFIG += c++11 console
    CONFIG -= app_bundle
    
    # You can make your code fail to compile if it uses deprecated APIs.
    # In order to do so, uncomment the following line.
    #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
    
    SOURCES += \
            SVG/svgpttopx.cpp \
            main.cpp
    
    # Default rules for deployment.
    qnx: target.path = /tmp/$${TARGET}/bin
    else: unix:!android: target.path = /opt/$${TARGET}/bin
    !isEmpty(target.path): INSTALLS += target
    

    OS: Windows 10 Home.

    aha_1980A 1 Reply Last reply
    1
    • AmrCoderA AmrCoder

      Hi,

      I was using QT 5.15.0 and it was working perfect on my old laptop, the problem shows once I download the QT 5.15.1 on my new laptop, when I create a simple C++ Console project the when I run the program the Console now show up and the result is shown in QT creator Application Output Area at the bottom but I can't put my stander input to the app, so if it's static data it shows in the bottom in the Application output area in QT creator, but when I make a simple program that adds 2 integers and accept it from stander input using c++ cin it did not work or accept the Input, so what I am missing in my Configuration in the new QT 5.15.1?
      my .pro

      QT -= gui
      
      CONFIG += c++11 console
      CONFIG -= app_bundle
      
      # You can make your code fail to compile if it uses deprecated APIs.
      # In order to do so, uncomment the following line.
      #DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0
      
      SOURCES += \
              SVG/svgpttopx.cpp \
              main.cpp
      
      # Default rules for deployment.
      qnx: target.path = /tmp/$${TARGET}/bin
      else: unix:!android: target.path = /opt/$${TARGET}/bin
      !isEmpty(target.path): INSTALLS += target
      

      OS: Windows 10 Home.

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @AmrCoder,

      Goto (Left Side) Projects > Build & Run > Run and check the box "Run in Terminal"

      Regards

      Qt has to stay free or it will die.

      1 Reply Last reply
      4
      • M Offline
        M Offline
        Mr_Robot
        wrote on last edited by
        #3

        Thank you!

        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