get punetwiin to work with qt5

This commit is contained in:
Antonio SJ Musumeci 2014-07-09 18:22:43 -04:00
parent 08fc068a8b
commit e7c321548d
2 changed files with 4 additions and 2 deletions

View File

@ -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 ) )

View File

@ -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