mirror of
https://github.com/martravi/wiiqt6.git
synced 2024-11-21 21:19:15 +01:00
* add zip .a for OSx
* adjust layout for savethingy in Osx git-svn-id: http://wiiqt.googlecode.com/svn/trunk@41 389f4c8b-5dfe-645f-db0e-df882bc27289
This commit is contained in:
parent
154abeda92
commit
d9a2a2e012
@ -10,12 +10,21 @@
|
||||
#include "quazip.h"
|
||||
#include "quazipfile.h"
|
||||
|
||||
|
||||
//TODO... get these from settings and dont use global variables
|
||||
#ifdef Q_WS_MAC
|
||||
static QString sneekPath = "/Volumes/VMware Shared Folders/host-c/QtWii/test";
|
||||
#else
|
||||
static QString sneekPath = "/media/SDHC_4GB";
|
||||
#endif
|
||||
|
||||
MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow), bannerthread( this )
|
||||
{
|
||||
ui->setupUi(this);
|
||||
#ifdef Q_WS_MAC
|
||||
ui->listWidget_sneekSaves->setFixedWidth( 630 );
|
||||
ui->listWidget_pcSaves->setFixedWidth( 630 );
|
||||
#endif
|
||||
ClearSneekGuiInfo();
|
||||
ClearPcGuiInfo();
|
||||
progressBar.setVisible( false );
|
||||
@ -47,6 +56,7 @@ MainWindow::~MainWindow()
|
||||
//get the saves from a nand directory
|
||||
void MainWindow::GetSavesFromSneek( const QString &path )
|
||||
{
|
||||
qDebug() << "MainWindow::GetSavesFromSneek" << path;
|
||||
if( !QFileInfo( path ).exists() )
|
||||
return;
|
||||
|
||||
|
BIN
saveToy/quazip/lib/mac/libquazip.a
Normal file
BIN
saveToy/quazip/lib/mac/libquazip.a
Normal file
Binary file not shown.
@ -72,7 +72,11 @@ win32 {
|
||||
message("win32 build")
|
||||
LIBS += -L./quazip/lib/win32 -lquazip
|
||||
}
|
||||
unix {
|
||||
macx{
|
||||
message("mac build")
|
||||
LIBS += -L./quazip/lib/mac -lquazip
|
||||
}
|
||||
else unix {
|
||||
!contains(QMAKE_HOST.arch, x86_64) {
|
||||
message("x86 build")
|
||||
LIBS += -L./quazip/lib/linux_x86 -lquazip
|
||||
@ -81,6 +85,4 @@ unix {
|
||||
LIBS += -L./quazip/lib/linux_x64 -lquazip
|
||||
}
|
||||
}
|
||||
macx{
|
||||
message("still need to build quazlib for mac")
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user