get nandExtract to work with qt5

This commit is contained in:
Antonio SJ Musumeci 2016-08-23 12:08:17 -04:00
parent 7c6d01a654
commit 03be60dd84
12 changed files with 26 additions and 25 deletions

View File

@ -1,19 +1,18 @@
QT += core gui\ QT += core gui network widgets
network
TARGET = breft_editor TARGET = breft_editor
TEMPLATE = app TEMPLATE = app
SOURCES += main.cpp\ SOURCES += main.cpp\
mainwindow.cpp \ mainwindow.cpp \
breft.cpp \ breft.cpp \
../WiiQt/tools.cpp \ ../WiiQt/tools.cpp \
../WiiQt/aes.c \ ../WiiQt/aes.c \
../WiiQt/sha1.c \ ../WiiQt/sha1.c \
texture.cpp texture.cpp
HEADERS += mainwindow.h \ HEADERS += mainwindow.h \
breft.h \ breft.h \
../WiiQt/tools.h \ ../WiiQt/tools.h \
texture.h texture.h

View File

@ -1,4 +1,4 @@
#include <QtGui/QApplication> #include <QApplication>
#include "mainwindow.h" #include "mainwindow.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])

0
nandExtract/black.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
nandExtract/blue.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 2.9 KiB

0
nandExtract/green.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

0
nandExtract/grey.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

26
nandExtract/main.cpp Executable file → Normal file
View File

@ -1,13 +1,13 @@
#include <QtGui/QApplication> #include <QApplication>
#include "nandwindow.h" #include "nandwindow.h"
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
Q_INIT_RESOURCE( rc ); Q_INIT_RESOURCE( rc );
QApplication a(argc, argv); QApplication a(argc, argv);
QApplication::setWindowIcon( QIcon( ":/icon.png" ) ); QApplication::setWindowIcon( QIcon( ":/icon.png" ) );
NandWindow w; NandWindow w;
w.show(); w.show();
return a.exec(); return a.exec();
} }

2
nandExtract/nandExtract.pro Executable file → Normal file
View File

@ -1,6 +1,8 @@
# ------------------------------------------------- # -------------------------------------------------
# Project created by QtCreator 2010-12-06T03:40:50 # Project created by QtCreator 2010-12-06T03:40:50
# ------------------------------------------------- # -------------------------------------------------
QT = core gui widgets
TARGET = nandExtract TARGET = nandExtract
TEMPLATE = app TEMPLATE = app
SOURCES += main.cpp \ SOURCES += main.cpp \

0
nandExtract/nandwindow.cpp Executable file → Normal file
View File

0
nandExtract/nandwindow.h Executable file → Normal file
View File

0
nandExtract/nandwindow.ui Executable file → Normal file
View File

0
nandExtract/pink.png Executable file → Normal file
View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB