[Qt-interest] building QT fails
Lorenzo Marussi
info at lorenzomarussi.it
Fri Jul 1 22:29:05 CEST 2011
hello,
I have a strange error building Qt4 from scratch.
I have a Gentoo O/S, and Qt-Core and other qt components build fine and
I run it successfully.
But, now, to enable Qt/3D
(http://doc.qt.nokia.com/qt3d-snapshot/qt3d-building.html),
I have to build Qt from scratch.
I follow this doc: http://doc.qt.nokia.com/4.7/install-x11.html
I download the qt-everywhere-opensource-src-4.7.3.tar.gz tarball, I made
"./configure -opengl" successfully, but "make" return with this error:
make[1]: Entering directory
`/usr/src/build/qt/qt-everywhere-opensource-src-4.7.3/src/dbus'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory
`/usr/src/build/qt/qt-everywhere-opensource-src-4.7.3/src/dbus'
cd src/gui/ && make -f Makefile
make[1]: Entering directory
`/usr/src/build/qt/qt-everywhere-opensource-src-4.7.3/src/gui'
g++ -c -include .pch/release-shared/QtGui -pipe -pthread
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -DQT_SHARED
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/qt4
-I/usr/include/qt4/QtGui -I/usr/include/libdrm -I/usr/include/qt4/QtCore
-O2 -fvisibility=hidden -fvisibility-inlines-hidden -Wall -W
-D_REENTRANT -I/usr/include/freetype2 -fPIC -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_USE_FAST_OPERATOR_PLUS -DQT_USE_FAST_CONCATENATION -DQT_NO_OPENTYPE
-DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP
-DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60
-DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX
-DQT_HAVE_3DNOW -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2
-DQT_HAVE_SSE3 -DQT_HAVE_SSSE3 -DQT_HAVE_SSE4_1 -DQT_HAVE_SSE4_2
-DQT_HAVE_AVX -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
-I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include
-I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage
-I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs
-I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o
.obj/release-shared/qwidget.o kernel/qwidget.cpp
make[1]: Leaving directory
`/usr/src/build/qt/qt-everywhere-opensource-src-4.7.3/src/gui'
In file included from kernel/qwidget.cpp:12552:
.moc/release-shared/moc_qwidget.cpp: In member function 'virtual int
QWidget::qt_metacall(QMetaObject::Call, int, void**)':
.moc/release-shared/moc_qwidget.cpp:271: error: 'accessibleName' was not
declared in this scope
.moc/release-shared/moc_qwidget.cpp:272: error: 'accessibleDescription'
was not declared in this scope
.moc/release-shared/moc_qwidget.cpp:315: error: 'setAccessibleName' was
not declared in this scope
.moc/release-shared/moc_qwidget.cpp:316: error:
'setAccessibleDescription' was not declared in this scope
make[1]: *** [.obj/release-shared/qwidget.o] Error 1
make: *** [sub-gui-make_default-ordered] Error 2
I alredy checked that I have all requirements in my system
(http://doc.qt.nokia.com/4.7/requirements-x11.html)
What I miss? some ideas?
Thanks,
Lorenzo
More information about the Qt-interest-old
mailing list