• 大小: 64.39MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-01-23
  • 语言: Java
  • 标签: QT  Android  Service  

资源简介

QT for Android下多个 Service的创建启动,包括Service通过Jni外调QT信号槽实现,对研究QT在安卓下的跨平台开发很有帮助

资源截图

代码片段和文件信息

/****************************************************************************
** meta object code from reading C++ file ‘singleton.h‘
**
** Created by: The Qt meta object Compiler version 67 (Qt 5.7.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include “../servicedemo1/singleton.h“
#include 
#include tatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error “The header file ‘singleton.h‘ doesn‘t include ject>.“
#elif Q_MOC_OUTPUT_REVISION != 67
#error “This file was generated using the moc from 5.7.0. It“
#error “cannot be used with the include files from this version of Qt.“
#error “(The moc has changed too much.)“
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_Singleton_t {
    QByteArrayData data[3];
    char stringdata0[20];
};
#define QT_MOC_LITERAL(idx ofs len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len \
    qptrdiff(offsetof(qt_meta_stringdata_Singleton_t stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Singleton_t qt_meta_stringdata_Singleton = {
    {
QT_MOC_LITERAL(0 0 9) // “Singleton“
QT_MOC_LITERAL(1 10 8) // “mySignal“
QT_MOC_LITERAL(2 19 0) // ““

    }
    “Singleton\0mySignal\0“
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Singleton[] = {

 // content:
       7       // revision
       0       // classname
       0    0 // classinfo
       1   14 // methods
       0    0 // properties
       0    0 // enums/sets
       0    0 // constructors
       0       // flags
       1       // signalCount

 // signals: name argc parameters tag flags
       1    0   19    2 0x06 /* Public */

 // signals: parameters
    QmetaType::Void

       0        // eod
};

void Singleton::qt_static_metacall(Qobject *_o Qmetaobject::Call _c int _id void **_a)
{
    if (_c == Qmetaobject::InvokemetaMethod) {
        Singleton *_t = static_cast(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->mySignal(); break;
        default: ;
        }
    } else if (_c == Qmetaobject::IndexOfMethod) {
        int *result = reinterpret_cast(_a[0]);
        void **func = reinterpret_cast(_a[1]);
        {
            typedef void (Singleton::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Singleton::mySignal)) {
                *result = 0;
                return;
            }
        }
    }
    Q_UNUSED(_a);
}

const Qmetaobject Singleton::staticmetaobject = {
    { &Qobject::staticmetaobject qt_meta_stringdata_Singleton.data
      qt_meta_data_Singleton  qt_static_metacall Q_NULLPTR Q_NULLPTR}
};


const Qmetaobject *Singleton::metaobject() const
{
    return Qobject::d_ptr->metaobject ? Qobject::d_ptr->dynamicmetaobject() : &staticM

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件       4508  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\AndroidManifest.xml

     文件        202  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\assets\--Added-by-androiddeployqt--\qt_cache_pregenerated_file_list

     文件       3518  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\aidl\org\kde\necessitas\ministro\IMinistro.aidl

     文件       3435  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\aidl\org\kde\necessitas\ministro\IMinistroCallback.aidl

     文件       4508  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\AndroidManifest.xml

     文件        300  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\AndroidManifest.xml.d

     文件        189  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\build.prop

     文件       1839  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistro$Stub$Proxy.class

     文件       2465  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistro$Stub.class

     文件        393  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistro.class

     文件       1564  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistroCallback$Stub$Proxy.class

     文件       2124  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistroCallback$Stub.class

     文件        368  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\kde\necessitas\ministro\IMinistroCallback.class

     文件        353  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\BuildConfig.class

     文件        555  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\R$array.class

     文件        352  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\R$attr.class

     文件        408  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\R$layout.class

     文件        557  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\R$string.class

     文件        507  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\example1\R.class

     文件      20310  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtActivity.class

     文件       1758  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtActivityLoader$1.class

     文件       1139  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtActivityLoader$2.class

     文件        993  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtActivityLoader$3.class

     文件       6247  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtActivityLoader.class

     文件        565  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtApplication$InvokeResult.class

     文件       5305  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtApplication.class

     文件        952  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtLoader$1.class

     文件        952  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtLoader$2.class

     文件       1523  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtLoader$3$1$1.class

     文件       1226  2017-03-01 18:10  MoreService\servicedemo1\build-servicedemo1-Android_for_armeabi_v7a_GCC_4_8_Qt_5_7_0-Debug\android-build\bin\classes\org\qtproject\qt5\android\bindings\QtLoader$3$1.class

............此处省略664个文件信息

评论

共有 条评论