* 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:
giantpune@gmail.com 2011-01-02 09:39:30 +00:00
parent 154abeda92
commit d9a2a2e012
3 changed files with 16 additions and 4 deletions

View File

@ -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;

Binary file not shown.

View File

@ -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")
}