I think you should put the following entries in your .PRO file:
# Application template
TEMPLATE = application
# QMake configuration
CONFIG + = console
Then you can create a window in Qt and you will have your main window next to the console!
Example:
main.cpp { QApplication App(argc, argv); ... MainFrm* pMainFrm = new MainFrm(); pMainFrm->show(); ... int ExitCode = App.exec(); return ExitCode; }
Hope this helps a bit!
Andy m
source share