On terça-feira, 17 de julho de 2012 22.02.36, 이광웅 wrote:
> I saw the following logs when making.
>
> And I noticed that Q_DECLARE_SHARED(QDebug) is inserted on latest commit.
>
> What am I missing? Would you give me any advice?

> ../../../../include/QtCore/../../src/corelib/io/qdebug.h: In function
> ‘void qSwap(T&, T&) [with T = QDebug]’:
>
> ../../../../include/QtCore/../../src/corelib/io/qdebug.h:130:1: error:
> ‘class QDebug’ has no member named ‘data_ptr’

Q_DECLARE_SHARED is now:

Q_DECLARE_TYPEINFO(TYPE, Q_MOVABLE_TYPE); \
template <> inline void qSwap<TYPE>(TYPE &value1, TYPE &value2) \
{ value1.swap(value2); } \
Q_DECLARE_SHARED_STL(TYPE)

There's no data_ptr in this.

Can you check the status of your headers (the include dirs)? Looks like you
have an old set of QtCore headers that are being found.

--
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
     Intel Sweden AB - Registration Number: 556189-6027
     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to