Skip to content

Commit

Permalink
Force console window on debug builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Mefiresu committed Jul 13, 2024
1 parent 31513a2 commit fed0fb1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion RetroEDv2/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ int main(int argc, char *argv[])

parser.process(a);

if (parser.isSet(consoleOption)) {
// Force enable console if QT_DEBUG is set (debug build)
#ifndef QT_DEBUG
if (parser.isSet(consoleOption))
#endif
{
InitConsole();
}

Expand Down

0 comments on commit fed0fb1

Please sign in to comment.