mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-22 05:29:14 +01:00
get nandBinCheck to compile with QT5
This commit is contained in:
parent
df68fc7fb5
commit
a18bbb98cd
@ -1,7 +1,7 @@
|
||||
#ifndef INCLUDES_H
|
||||
#define INCLUDES_H
|
||||
|
||||
#include <QtGui/QApplication>
|
||||
#include <QApplication>
|
||||
#include <QAction>
|
||||
#include <QBuffer>
|
||||
#include <QDialog>
|
||||
@ -25,7 +25,7 @@
|
||||
#include <QtDebug>
|
||||
#include <QTimer>
|
||||
#include <QtGui>
|
||||
#include <QtGui/QMainWindow>
|
||||
#include <QMainWindow>
|
||||
#include <QTreeWidget>
|
||||
#include <QTreeWidgetItem>
|
||||
#include <qpushbutton.h>
|
||||
|
@ -111,7 +111,7 @@ void SettingTxtDialog::on_buttonBox_accepted()
|
||||
"VIDEO=" + ui->lineEdit_video->text() + "\r\n" +
|
||||
"GAME=" + ui->lineEdit_game->text() + "\r\n";
|
||||
|
||||
ret = s.toAscii();
|
||||
ret = s.toLatin1();
|
||||
ret = PaddedByteArray( ret, 0x100 );
|
||||
//hexdump( ret );
|
||||
ret = LolCrypt( ret );
|
||||
|
@ -121,7 +121,7 @@ void SharedContentMap::AddEntry( const QString &app, const QByteArray &hash )
|
||||
qWarning() << "SharedContentMap::AddEntry -> bas size" << hex << app.size() << hash.size();
|
||||
return;
|
||||
}
|
||||
data += app.toAscii() + hash;
|
||||
data += app.toLatin1() + hash;
|
||||
}
|
||||
|
||||
const QByteArray SharedContentMap::Hash( quint16 i )
|
||||
|
@ -1315,7 +1315,7 @@ int main( int argc, char *argv[] )
|
||||
origColor = GetColor();
|
||||
hConsole = GetStdHandle( STD_OUTPUT_HANDLE );
|
||||
#endif
|
||||
qInstallMsgHandler( DebugHandler );
|
||||
// qInstallMessageHandler( DebugHandler );
|
||||
|
||||
args = QCoreApplication::arguments();
|
||||
if( args.contains( "-nocolor", Qt::CaseInsensitive ) )
|
||||
|
@ -13,6 +13,8 @@ CONFIG -= app_bundle
|
||||
|
||||
TEMPLATE = app
|
||||
|
||||
QT += core gui
|
||||
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
||||
|
||||
SOURCES += main.cpp \
|
||||
../WiiQt/blocks0to7.cpp \
|
||||
|
Loading…
Reference in New Issue
Block a user