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\
network
QT += core gui network widgets
TARGET = breft_editor
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
breft.cpp \
../WiiQt/tools.cpp \
../WiiQt/aes.c \
../WiiQt/sha1.c \
texture.cpp
mainwindow.cpp \
breft.cpp \
../WiiQt/tools.cpp \
../WiiQt/aes.c \
../WiiQt/sha1.c \
texture.cpp
HEADERS += mainwindow.h \
breft.h \
../WiiQt/tools.h \
texture.h
breft.h \
../WiiQt/tools.h \
texture.h

View File

@ -1,4 +1,4 @@
#include <QtGui/QApplication>
#include <QApplication>
#include "mainwindow.h"
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 "nandwindow.h"
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE( rc );
QApplication a(argc, argv);
QApplication::setWindowIcon( QIcon( ":/icon.png" ) );
NandWindow w;
w.show();
return a.exec();
}
#include <QApplication>
#include "nandwindow.h"
int main(int argc, char *argv[])
{
Q_INIT_RESOURCE( rc );
QApplication a(argc, argv);
QApplication::setWindowIcon( QIcon( ":/icon.png" ) );
NandWindow w;
w.show();
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
# -------------------------------------------------
QT = core gui widgets
TARGET = nandExtract
TEMPLATE = app
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