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(); origColor = GetColor();
hConsole = GetStdHandle( STD_OUTPUT_HANDLE ); hConsole = GetStdHandle( STD_OUTPUT_HANDLE );
#endif #endif
qInstallMsgHandler( DebugHandler ); // qInstallMsgHandler( DebugHandler );
args = QCoreApplication::arguments(); args = QCoreApplication::arguments();
if( args.contains( "-nocolor", Qt::CaseInsensitive ) ) if( args.contains( "-nocolor", Qt::CaseInsensitive ) )

View File

@ -11,6 +11,8 @@ DEFINES += NAND_BIN_CAN_WRITE
TEMPLATE = app TEMPLATE = app
QT += core \
widgets
SOURCES += main.cpp \ SOURCES += main.cpp \
../WiiQt/blocks0to7.cpp \ ../WiiQt/blocks0to7.cpp \
@ -24,4 +26,4 @@ SOURCES += main.cpp \
HEADERS += ../WiiQt/nandbin.h \ HEADERS += ../WiiQt/nandbin.h \
../WiiQt/tools.h \ ../WiiQt/tools.h \
../WiiQt/blocks0to7.h \ ../WiiQt/blocks0to7.h \
../WiiQt/nandspare.h ../WiiQt/nandspare.h