Added android manifest and launcher icons.

Do not use pkg-config when cross-compiling to Android.
Added a helper class to send toasts and dialogs to the user.
Added android compatibility on some headers.
This commit is contained in:
codestation
2013-12-29 11:05:04 -04:30
parent 9c7c2bc3d7
commit ce9353e4f3
10 changed files with 161 additions and 0 deletions

View File

@@ -28,7 +28,13 @@
#ifdef Q_OS_WIN32
#include <windows.h>
#else
#ifndef __ANDROID__
#include <sys/statvfs.h>
#else
#include <sys/vfs.h>
#define statvfs statfs
#define fstatvfs fstatfs
#endif
#endif
bool getDiskSpace(const QString &dir, quint64 *free, quint64 *total)