get ohneschwanzenegger to work with qt5

This commit is contained in:
Antonio SJ Musumeci 2014-07-09 18:11:15 -04:00
parent a18bbb98cd
commit 08fc068a8b
2 changed files with 55 additions and 53 deletions

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[])

View File

@ -1,52 +1,54 @@
# ------------------------------------------------- # -------------------------------------------------
# Project created by QtCreator 2010-12-02T23:30:12 # Project created by QtCreator 2010-12-02T23:30:12
# ------------------------------------------------- # -------------------------------------------------
QT += core \ QT += core \
gui \ gui \
network network \
TARGET = ohneschwanzenegger widgets
TEMPLATE = app
DEFINES += NAND_BIN_CAN_WRITE TARGET = ohneschwanzenegger
SOURCES += main.cpp \ TEMPLATE = app
mainwindow.cpp \ DEFINES += NAND_BIN_CAN_WRITE
../WiiQt/tools.cpp \ SOURCES += main.cpp \
../WiiQt/sharedcontentmap.cpp \ mainwindow.cpp \
../WiiQt/tiktmd.cpp \ ../WiiQt/tools.cpp \
../WiiQt/nusdownloader.cpp \ ../WiiQt/sharedcontentmap.cpp \
../WiiQt/uidmap.cpp \ ../WiiQt/tiktmd.cpp \
../WiiQt/settingtxtdialog.cpp \ ../WiiQt/nusdownloader.cpp \
../WiiQt/wad.cpp \ ../WiiQt/uidmap.cpp \
../WiiQt/aes.c \ ../WiiQt/settingtxtdialog.cpp \
../WiiQt/sha1.c \ ../WiiQt/wad.cpp \
newnandbin.cpp \ ../WiiQt/aes.c \
../WiiQt/nandbin.cpp \ ../WiiQt/sha1.c \
../WiiQt/nandspare.cpp \ newnandbin.cpp \
../WiiQt/blocks0to7.cpp ../WiiQt/nandbin.cpp \
HEADERS += mainwindow.h \ ../WiiQt/nandspare.cpp \
../WiiQt/tools.h \ ../WiiQt/blocks0to7.cpp
../WiiQt/uidmap.h \ HEADERS += mainwindow.h \
../WiiQt/sharedcontentmap.h \ ../WiiQt/tools.h \
../WiiQt/tiktmd.h \ ../WiiQt/uidmap.h \
../WiiQt/nusdownloader.h \ ../WiiQt/sharedcontentmap.h \
../WiiQt/uidmap.h \ ../WiiQt/tiktmd.h \
../WiiQt/settingtxtdialog.h \ ../WiiQt/nusdownloader.h \
../WiiQt/wad.h \ ../WiiQt/uidmap.h \
newnandbin.h \ ../WiiQt/settingtxtdialog.h \
../WiiQt/nandbin.h \ ../WiiQt/wad.h \
../WiiQt/nandspare.h \ newnandbin.h \
../WiiQt/blocks0to7.h ../WiiQt/nandbin.h \
FORMS += mainwindow.ui \ ../WiiQt/nandspare.h \
../WiiQt/settingtxtdialog.ui \ ../WiiQt/blocks0to7.h
newnandbin.ui FORMS += mainwindow.ui \
RESOURCES += rc.qrc ../WiiQt/settingtxtdialog.ui \
newnandbin.ui
RESOURCES += rc.qrc
# create new svnrev.h
unix {
system( chmod 755 ../tools/makesvnrev.sh ) # create new svnrev.h
system( ../tools/makesvnrev.sh ) unix {
} system( chmod 755 ../tools/makesvnrev.sh )
system( ../tools/makesvnrev.sh )
win32 { }
system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" )
} win32 {
system( "..\\tools\\SubWCRev.exe" "." "..\\tools\\svnrev_template.h" ".\\svnrev.h" )
}