[Qt-interest] qt compile error
Peng Yu
pengyu.ut at gmail.com
Mon Sep 28 01:16:27 CEST 2009
Hi,
I run configure and make in qtsdk-2009.03. But I got the following
error. Can somebody let me know how to fix it?
Regards,
Peng
/home/pengy/download/linux/qtsdk-2009.03/qt/bin/moc -DQT_SHARED
-DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII
-DQT_ASCII_CAST_WARNINGS -DQT3_SUPPORT -DQT_MOC_COMPAT
-DQT_RASTER_IMAGEENGINE -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC
-DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB
-D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++-64
-I. -I../../include/QtCore -I../../include -I../../include/QtGui
-I.rcc/release-shared -I../3rdparty/xorg -I/usr/include/freetype2
-I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared
-I/usr/X11R6/include -I.uic/release-shared styles/qstylesheetstyle_p.h
-o .moc/release-shared/moc_qstylesheetstyle_p.cpp
In file included from /home/pengy/utility/linux/include/QtCore/qobject.h:50,
from ../../include/QtCore/qcoreapplication.h:45,
from kernel/qt_gui_pch.h:61:
../../include/QtCore/qlist.h:684: error: expected constructor,
destructor, or type conversion before \u2018(\u2019 token
In file included from ../../include/QtCore/qvariant.h:49,
from kernel/qt_gui_pch.h:63:
../../include/QtCore/qmap.h:1019: error: expected constructor,
destructor, or type conversion before \u2018(\u2019 token
In file included from ../../include/QtCore/qvariant.h:50,
from kernel/qt_gui_pch.h:63:
/home/pengy/utility/linux/include/QtCore/qhash.h:1007: error: expected
constructor, destructor, or type conversion before \u2018(\u2019 token
In file included from kernel/qt_gui_pch.h:67:
../../include/QtCore/qstringlist.h:63: error: expected initializer
before \u2018<\u2019 token
../../include/QtCore/qstringlist.h:64: error: expected initializer
before \u2018<\u2019 token
In file included from ../../include/QtGui/qbrush.h:47,
from ../../include/QtGui/qpalette.h:47,
from ../../include/QtGui/qwidget.h:48,
from ../../include/QtGui/qapplication.h:54,
from kernel/qt_gui_pch.h:70:
../../include/QtCore/qvector.h:746: error: expected constructor,
destructor, or type conversion before \u2018(\u2019 token
make[1]: *** [.pch/release-shared/QtGui.gch/c++] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/pengy/download/linux/qtsdk-2009.03/qt/src/gui'
make: *** [sub-gui-make_default-ordered] Error 2
More information about the Qt-interest-old
mailing list