[Development] Compile fails after Q_DECLARE_SHARED(QDebug)
이광웅
kwangwoong.lee at lge.com
Tue Jul 17 15:02:36 CEST 2012
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?
Thanks
g++ -c -m64 -pipe -I/home/kwlee/work/wayland/install/include -g -std=c++0x -
fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -
DXCB_POLL_FOR_QUEUED_EVENT -DXCB_USE_XLIB -DXCB_USE_RENDER -DXCB_USE_EGL -
DSUPPORT_X11 -DXCB_USE_IBUS -DQT_COMPILES_IN_HARFBUZZ -DQT_PLUGIN -
DQT_PLATFORMSUPPORT_LIB -DQT_DBUS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -
D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../mkspecs/linux-g++-64
-I. -I../../../../include -I../../../../include/QtPlatformSupport -I../../..
/../include/QtPlatformSupport/5.0.0 -
I../../../../include/QtPlatformSupport/5.0.0/QtPlatformSupport -I../../../..
/include/QtDBus -I../../../../include/QtGui -I../../../../include/QtGui/5.0.
0 -I../../../../include/QtGui/5.0.0/QtGui -I../../../../include/QtCore -
I../../../../include/QtCore/5.0.0 -I../../../../include/QtCore/5.0.0/QtCore
-I.moc/debug-shared -I/home/kwlee/work/wayland/install/include -o
.obj/debug-shared/qxcbmime.o qxcbmime.cpp
In file included from ../../../../include/QtCore/qdebug.h:1:0,
from qxcbmime.cpp:47:
../../../../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’
../../../../include/QtCore/../../src/corelib/io/qdebug.h:130:1: error:
‘class QDebug’ has no member named ‘data_ptr’
../../../../include/QtCore/../../src/corelib/io/qdebug.h: In function
‘void std::swap(_Tp&, _Tp&) [with _Tp = QDebug]’:
../../../../include/QtCore/../../src/corelib/io/qdebug.h:130:1: error:
‘class QDebug’ has no member named ‘data_ptr’
../../../../include/QtCore/../../src/corelib/io/qdebug.h:130:1: error:
‘class QDebug’ has no member named ‘data_ptr’
make[4]: *** [.obj/debug-shared/qxcbmime.o] Error 1
make[4]: Leaving directory
`/home/kwlee/src/qt5/qtbase/src/plugins/platforms/xcb'
make[3]: *** [sub-xcb-make_first] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120717/f586eac3/attachment.html>
More information about the Development
mailing list