forked from lubuwest/Friendiqa
v0.1
This commit is contained in:
parent
8d99b55818
commit
7e37546ae9
108 changed files with 6063 additions and 1450 deletions
22
source-android/common/quickandroid.cpp
Normal file
22
source-android/common/quickandroid.cpp
Normal file
|
@ -0,0 +1,22 @@
|
|||
#include <QtQml>
|
||||
#include <QVariantMap>
|
||||
#include "quickandroid.h"
|
||||
//#include "qadevice.h"
|
||||
//#include "qamousesensor.h"
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
#include <QAndroidJniEnvironment>
|
||||
#include <QAndroidJniObject>
|
||||
#endif
|
||||
|
||||
void QuickAndroid::registerTypes()
|
||||
{
|
||||
// "A" has been changed to a QML object. So now this function will do nothing.
|
||||
// Keep here for compatible purpose only.
|
||||
}
|
||||
|
||||
//qreal QuickAndroid::dp()
|
||||
//{
|
||||
// return QADevice::readDp();
|
||||
//}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue