cmguo / qteventbus Goto Github PK
View Code? Open in Web Editor NEWA event bus for Qt.
A event bus for Qt.
编译发现缺少QPromise 找到QPromise之后再编译
QtEventBus-master\QtEventBus\qeventbus.cpp:4: error: qexport.h: No such file or directory
....\QtEventBus-master\QtEventBus\qeventbus.cpp:4:10: fatal error: qexport.h: No such file or directory
#include "qexport.h"
^~~~~~~~~~~
1>C:\Qt\Qt5.12.12\5.12.12\msvc2017_64\include\QtCore\qvector.h(599,42): error C2512: “QtPromise::QPromise::QPromise”: 没有合适的默认构造函数可用
1> with
1> [
1> R=QVariant
1> ] (编译源文件 qmessage.cpp)
1>C:\Qt\Qt5.12.12\5.12.12\msvc2017_64\include\QtCore\qvector.h(548): message : 在编译 类 模板 成员函数“void QVector<QtPromise::QPromise>::reallocData(const int,const int,QArrayData::AllocationOptions)”时
1> with
1> [
1> R=QVariant
1> ] (编译源文件 qmessage.cpp)
1>C:\Qt\Qt5.12.12\5.12.12\msvc2017_64\include\QtCore\qvector.h(696): message : 查看对正在编译的函数 模板 实例化“void QVector<QtPromise::QPromise>::reallocData(const int,const int,QArrayData::AllocationOptions)”的引用
1> with
1> [
1> R=QVariant
1> ] (编译源文件 qmessage.cpp)
1>C:\Qt\Qt5.12.12\5.12.12\msvc2017_64\include\QtCore\qvector.h(692): message : 在编译 类 模板 成员函数“void QVector<QtPromise::QPromise>::append(T &&)”时
1> with
1> [
1> R=QVariant,
1> T=QtPromise::QPromise
1> ] (编译源文件 qmessage.cpp)
1>D:\tmp\eventbus\QtEventBus-master\QtEventBus\qmessageresult.h(139): message : 查看对正在编译的函数 模板 实例化“void QVector<QtPromise::QPromise>::append(T &&)”的引用
1> with
1> [
1> R=QVariant,
1> T=QtPromise::QPromise
1> ] (编译源文件 qmessage.cpp)
1>D:\tmp\eventbus\QtEventBus-master\QtEventBus\qmessageresult.h(137): message : 查看对正在编译的 类 模板 实例化“QVector<QtPromise::QPromise>”的引用
1> with
1> [
1> R=QVariant
1> ] (编译源文件 qmessage.cpp)
1>D:\tmp\eventbus\QtEventBus-master\QtEventBus\qmessageresult.h(136): message : 在编译 类 模板 成员函数“QtPromise::QPromise<QVector> QMessageResultData<T,QVariant>::await(int)”时
1> with
1> [
1> T=QVariant
1> ] (编译源文件 qmessage.cpp)
1>D:\tmp\eventbus\QtEventBus-master\QtEventBus\qmessageresult.h(184): message : 查看对正在编译的函数 模板 实例化“QtPromise::QPromise<QVector> QMessageResultData<T,QVariant>::await(int)”的引用
1> with
1> [
1> T=QVariant
1> ] (编译源文件 qmessage.cpp)
1>D:\tmp\eventbus\QtEventBus-master\QtEventBus\qmessageresult.h(176): message : 查看对正在编译的 类 模板 实例化“QMessageResultData<QVariant,QVariant>”的引用 (编译源文件 qmessage.cpp)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.