fixed stuff for ios
This commit is contained in:
parent
4b09f2a8e7
commit
3f3bb7ff7c
6 changed files with 6 additions and 4 deletions
BIN
.DS_Store
vendored
Normal file
BIN
.DS_Store
vendored
Normal file
Binary file not shown.
Binary file not shown.
BIN
graphics/speedclimbing_stopwatch_ios.png
Normal file
BIN
graphics/speedclimbing_stopwatch_ios.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 20 KiB |
3
main.cpp
3
main.cpp
|
@ -6,8 +6,9 @@
|
||||||
#include <QFile>
|
#include <QFile>
|
||||||
#include <QDir>
|
#include <QDir>
|
||||||
#include <QStandardPaths>
|
#include <QStandardPaths>
|
||||||
|
#ifdef Q_OS_ANDROID
|
||||||
#include <QtAndroidExtras>
|
#include <QtAndroidExtras>
|
||||||
|
#endif
|
||||||
#include "sqlstoragemodel.h"
|
#include "sqlstoragemodel.h"
|
||||||
#include "sqlprofilemodel.h"
|
#include "sqlprofilemodel.h"
|
||||||
|
|
||||||
|
|
2
main.qml
2
main.qml
|
@ -2,7 +2,7 @@ import QtQuick 2.9
|
||||||
import QtMultimedia 5.8
|
import QtMultimedia 5.8
|
||||||
import QtQuick.Window 2.2
|
import QtQuick.Window 2.2
|
||||||
import QtQuick.Controls 2.2
|
import QtQuick.Controls 2.2
|
||||||
import QtQuick.Layouts 1.11
|
//import QtQuick.Layouts 1.11
|
||||||
|
|
||||||
import com.itsblue.speedclimbingstopwatch 1.0
|
import com.itsblue.speedclimbingstopwatch 1.0
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
QT += quick sql androidextras
|
QT += quick sql
|
||||||
CONFIG += c++11
|
CONFIG += c++11
|
||||||
|
|
||||||
# The following define makes your compiler emit warnings if you use
|
# The following define makes your compiler emit warnings if you use
|
||||||
|
@ -42,6 +42,7 @@ DISTFILES += \
|
||||||
|
|
||||||
android {
|
android {
|
||||||
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
|
ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android-sources
|
||||||
|
Qt += androidextras
|
||||||
}
|
}
|
||||||
|
|
||||||
HEADERS += \
|
HEADERS += \
|
||||||
|
|
Reference in a new issue