I want to add a console to my application, and here's my problem.
In Qt Creator, I create a new Project, I select 'Qt Console Application', convert it from using QCoreApplication to QApplication, add core gui widgets to the QT configuration flag in the project file, and it works. I can create windows while having a console window. So the project file looks like this...
QT += core gui widgets
TARGET = ConsoleApp
CONFIG += console
CONFIG -= app_bundle
TEMPLATE = app
#sources...
This is working perfectly and I could develop a full GUI app with this; however, the app is already built. When I created the project for the app, I chose 'Qt Widgets Application'. So I thought I could just copy the configuration of the ConsoleApp's project file over to my app's project file. So My apps proje