On Tue, 10 Feb 2015, Thiago Macieira wrote:

 On Tuesday 10 February 2015 20:23:20 Simon Matthews wrote:
> fontdatabases/fontconfig/qfontconfigdatabase.cpp:85: error: > ‘FC_WEIGHT_ULTRABLACK’ was not declared in this scope

 Now your fontconfig is too old.

 Qt doesn't carry a bundled copy of fontconfig, so either disable it (you
 don't want this) or upgrade the one you have in your system.

Thanks for your help.

I disabled fontconfig, switched to using the qt-xcb, but still not building. As a reminder, I am using gcc 4.4.7 (which seems to have resolved the problems with linux-headers). My current configuration options are:

./configure -v -opensource -qt-libpng -qt-zlib -qt-libjpeg -nomake examples -qt-sql-sqlite -confirm-license -prefix /usr/lib/Qt/Qt-5.4.0-x86_64 -widgets -no-openssl -no-icu -no-openssl -no-dbus -no-fontconfig -qt-xcb

cd xcb-static/ && ( test -e Makefile || /tmp/qt-everywhere-opensource-src-5.4.0/qtbase/bin/qmake /tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb/xcb-static/xcb-static.pro -o Makefile ) && make -f Makefile
/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb/xcb-static
make[6]: Entering directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb/xcb-static' /usr/bin/gcc44 -c -pipe -O2 -fPIC -w -fno-exceptions -Wall -W -DQT_NO_MTDEV -DQT_NO_LIBUDEV -DQT_NO_EXCEPTIONS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../../../mkspecs/linux-g++ -I. -I../../../../3rdparty/xcb/include -I../../../../3rdparty/xcb/include/xcb -I../../../../3rdparty/xcb/sysinclude -o .obj/xcb_image.o ../../../../3rdparty/xcb/xcb-util-image/xcb_image.c
In file included from ../../../../3rdparty/xcb/xcb-util-image/xcb_image.c:33:
../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:97: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:114: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:132: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:155: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:174: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_bitops.h:199: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
In file included from ../../../../3rdparty/xcb/xcb-util-image/xcb_image.c:36:
../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:69: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:82: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:94: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:104: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:113: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:121: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:134: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:147: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’ ../../../../3rdparty/xcb/include/xcb/xcb_pixel.h:159: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘static’
make[6]: *** [.obj/xcb_image.o] Error 1
make[6]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb/xcb-static'
make[5]: *** [sub-xcb-static-make_first-ordered] Error 2
make[5]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms/xcb'
make[4]: *** [sub-xcb-make_first] Error 2
make[4]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins/platforms'
make[3]: *** [sub-platforms-make_first] Error 2
make[3]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src/plugins'
make[2]: *** [sub-plugins-make_first] Error 2
make[2]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase/src'
make[1]: *** [sub-src-make_first] Error 2
make[1]: Leaving directory `/tmp/qt-everywhere-opensource-src-5.4.0/qtbase'
make: *** [module-qtbase-make_first] Error 2
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to