Skip to content
zxwmail edited this page Oct 21, 2017 · 7 revisions

[ 61%] Building CXX object src/CMakeFiles/WizNote.dir/sync/WizKMSync.cpp.o

In file included from /home/xxxx/bin/WizQTClient-master/src/sync/WizKMSync.cpp:1:0:

/home/xxxxx/bin/WizQTClient-master/src/sync/WizKMSync.h:100:12: 错误:field ‘m_mutex’ has incomplete type ‘QMutex’

 QMutex m_mutex;

        ^~~~~~~

In file included from /usr/include/qt/QtCore/QWaitCondition:1:0,

             from /home/xxxx/bin/WizQTClient-master/src/sync/WizKMSync.h:6,

             from /home/xxxx/bin/WizQTClient-master/src/sync/WizKMSync.cpp:1:

/usr/include/qt/QtCore/qwaitcondition.h:53:7: 附注:forward declaration of ‘class QMutex’

class QMutex; ^~~~~~

Clone this wiki locally