diff --git a/punetwiin/main.cpp b/punetwiin/main.cpp index f8f5c35..3136511 100644 --- a/punetwiin/main.cpp +++ b/punetwiin/main.cpp @@ -373,7 +373,7 @@ int main( int argc, char *argv[] ) origColor = GetColor(); hConsole = GetStdHandle( STD_OUTPUT_HANDLE ); #endif - qInstallMsgHandler( DebugHandler ); + // qInstallMsgHandler( DebugHandler ); args = QCoreApplication::arguments(); if( args.contains( "-nocolor", Qt::CaseInsensitive ) ) diff --git a/punetwiin/punetween.pro b/punetwiin/punetween.pro index 0d10a49..36cb6d3 100644 --- a/punetwiin/punetween.pro +++ b/punetwiin/punetween.pro @@ -11,6 +11,8 @@ DEFINES += NAND_BIN_CAN_WRITE TEMPLATE = app +QT += core \ + widgets SOURCES += main.cpp \ ../WiiQt/blocks0to7.cpp \ @@ -24,4 +26,4 @@ SOURCES += main.cpp \ HEADERS += ../WiiQt/nandbin.h \ ../WiiQt/tools.h \ ../WiiQt/blocks0to7.h \ - ../WiiQt/nandspare.h + ../WiiQt/nandspare.h