两种接口的使用
1. 返回类型为int的简单add函数
2. 回调函数
代码片段和文件信息
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1094 2019-03-11 09:18 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debug.qmake.stash
文件 82326 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmain.obj
文件 250 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_predefs.h
文件 2695 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinhost.cpp
文件 68209 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinhost.obj
文件 2735 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinwidget.cpp
文件 81319 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinwidget.obj
文件 127503 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqmfcapp.obj
文件 93696 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.dll
文件 5492 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.exp
文件 834032 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.ilk
文件 9346 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.lib
文件 1716224 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.pdb
文件 1396736 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.vc.pdb
文件 102540 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqwinhost.obj
文件 135152 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqwinwidget.obj
文件 29712 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile
文件 62554 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile.Debug
文件 62600 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile.Release
文件 11600 2019-03-11 14:35 qtdllcsharp-testdllcsharp-testdllinDebugcsharp-testdll.vshost.exe
文件 93696 2019-03-11 14:04 qtdllcsharp-testdllcsharp-testdllinDebugqtdll.dll
文件 5120 2019-03-11 14:39 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.exe
文件 11776 2019-03-11 14:39 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.pdb
文件 11592 2019-03-11 14:41 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.vshost.exe
文件 4173928 2014-03-11 18:54 qtdllcsharp-testdllcsharp-testdllinx64DebugD3Dcompiler_47.dll
文件 105472 2017-05-26 23:50 qtdllcsharp-testdllcsharp-testdllinx64Debugiconenginesqsvgicond.dll
文件 102912 2017-05-26 21:21 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqgifd.dll
文件 124416 2017-05-26 23:51 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqicnsd.dll
文件 102400 2017-05-26 21:20 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqicod.dll
文件 524800 2017-05-26 21:22 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqjpegd.dll
............此处省略88个文件信息
/****************************************************************************
** meta object code from reading C++ file ‘qwinhost.h‘
**
** Created by: The Qt meta object Compiler version 67 (Qt 5.9.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/
#include “../../qtdll/src/qwinhost.h“
#include
#include tatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error “The header file ‘qwinhost.h‘ doesn‘t include ject>.“
#elif Q_MOC_OUTPUT_REVISION != 67
#error “This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_QWinHost_t {
QByteArrayData data[1];
char stringdata0[9];
};
#define QT_MOC_LITERAL(idx ofs len)
Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len
qptrdiff(offsetof(qt_meta_stringdata_QWinHost_t stringdata0) + ofs
- idx * sizeof(QByteArrayData))
)
static const qt_meta_stringdata_QWinHost_t qt_meta_stringdata_QWinHost = {
{
QT_MOC_LITERAL(0 0 8) // “QWinHost“
}
“QWinHost“
};
#undef QT_MOC_LITERAL
static const uint qt_meta_data_QWinHost[] = {
// content:
7 // revision
0 // classname
0 0 // classinfo
0 0 // methods
0 0 // properties
0 0 // enums/sets
0 0 // constructors
0 // flags
0 // signalCount
0 // eod
};
void QWinHost::qt_static_metacall(Qobject *_o Qmetaobject::Call _c int _id void **_a)
{
Q_UNUSED(_o);
Q_UNUSED(_id);
Q_UNUSED(_c);
Q_UNUSED(_a);
}
const Qmetaobject QWinHost::staticmetaobject = {
{ &QWidget::staticmetaobject qt_meta_stringdata_QWinHost.data
qt_meta_data_QWinHost qt_static_metacall nullptr nullptr}
};
const Qmetaobject *QWinHost::metaobject() const
{
return Qobject::d_ptr->metaobject ? Qobject::d_ptr->dynamicmetaobject() : &staticmetaobject;
}
void *QWinHost::qt_metacast(const char *_clname)
{
if (!_clname) return nullptr;
if (!strcmp(_clname qt_meta_stringdata_QWinHost.stringdata0))
return static_cast(const_cast< QWinHost*>(this));
return QWidget::qt_metacast(_clname);
}
int QWinHost::qt_metacall(Qmetaobject::Call _c int _id void **_a)
{
_id = QWidget::qt_metacall(_c _id _a);
return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 1094 2019-03-11 09:18 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debug.qmake.stash
文件 82326 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmain.obj
文件 250 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_predefs.h
文件 2695 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinhost.cpp
文件 68209 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinhost.obj
文件 2735 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinwidget.cpp
文件 81319 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugmoc_qwinwidget.obj
文件 127503 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqmfcapp.obj
文件 93696 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.dll
文件 5492 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.exp
文件 834032 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.ilk
文件 9346 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.lib
文件 1716224 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.pdb
文件 1396736 2019-03-11 14:04 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqtdll.vc.pdb
文件 102540 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqwinhost.obj
文件 135152 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-Debugdebugqwinwidget.obj
文件 29712 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile
文件 62554 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile.Debug
文件 62600 2019-03-11 13:56 qtdlluild-qtdll-Desktop_Qt_5_9_0_MSVC2015_64bit-DebugMakefile.Release
文件 11600 2019-03-11 14:35 qtdllcsharp-testdllcsharp-testdllinDebugcsharp-testdll.vshost.exe
文件 93696 2019-03-11 14:04 qtdllcsharp-testdllcsharp-testdllinDebugqtdll.dll
文件 5120 2019-03-11 14:39 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.exe
文件 11776 2019-03-11 14:39 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.pdb
文件 11592 2019-03-11 14:41 qtdllcsharp-testdllcsharp-testdllinx64Debugcsharp-testdll.vshost.exe
文件 4173928 2014-03-11 18:54 qtdllcsharp-testdllcsharp-testdllinx64DebugD3Dcompiler_47.dll
文件 105472 2017-05-26 23:50 qtdllcsharp-testdllcsharp-testdllinx64Debugiconenginesqsvgicond.dll
文件 102912 2017-05-26 21:21 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqgifd.dll
文件 124416 2017-05-26 23:51 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqicnsd.dll
文件 102400 2017-05-26 21:20 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqicod.dll
文件 524800 2017-05-26 21:22 qtdllcsharp-testdllcsharp-testdllinx64Debugimageformatsqjpegd.dll
............此处省略88个文件信息
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件举报,一经查实,本站将立刻删除。
评论列表(条)