From e7c321548d5378b48df8f3f676716db979cc78b1 Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Wed, 9 Jul 2014 18:22:43 -0400 Subject: [PATCH] get punetwiin to work with qt5 --- punetwiin/main.cpp | 2 +- punetwiin/punetween.pro | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) 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