Details
-
Bug
-
Resolution: Done
-
P2: Important
-
None
-
5.3.2, 5.4.0
-
None
-
Scientific Linux release 6.6
./configure -prefix "$VSC_SCRATCH_DELCATTY/Qt/Desktop/5.3" \
-static \
-qt-xcb \
-release \
-opensource \
-confirm-license \
-c++11 \
-no-qml-debug \
-no-gif \
-no-libpng \
-no-libjpeg \
-no-freetype \
-no-harfbuzz \
-no-openssl \
-no-xinput2 \
-no-xcb-xlib \
-no-glib \
-no-widgets \
-no-nis \
-no-cups \
-no-dbus \
-no-eglfs \
-no-directfb \
-no-linuxfb \
-no-kms \
-no-opengl \
-nomake tools \
-nomake examples \
-nomake tests \
-platform linux-icc-64
Scientific Linux release 6.6 ./configure -prefix "$VSC_SCRATCH_DELCATTY/Qt/Desktop/5.3" \ -static \ -qt-xcb \ -release \ -opensource \ -confirm-license \ -c++11 \ -no-qml-debug \ -no-gif \ -no-libpng \ -no-libjpeg \ -no-freetype \ -no-harfbuzz \ -no-openssl \ -no-xinput2 \ -no-xcb-xlib \ -no-glib \ -no-widgets \ -no-nis \ -no-cups \ -no-dbus \ -no-eglfs \ -no-directfb \ -no-linuxfb \ -no-kms \ -no-opengl \ -nomake tools \ -nomake examples \ -nomake tests \ -platform linux-icc-64
Description
Hi, I'm experiencing a bug when trying to compile Qt with the Intel compiler on a Linux system. Specifically, I get the following error messages during compilation:
../../../include/QtCore/../../src/corelib/tools/qstring.h(509): error: invalid redeclaration of member function "QString::fromUtf16(const ushort={unsigned short} *, int)" (declared at line 504) static QString fromUtf16(const char16_t *str, int size = -1) ^ ../../../include/QtCore/../../src/corelib/tools/qstring.h(511): error: invalid redeclaration of member function "QString::fromUcs4(const uint={unsigned int} *, int)" (declared at line 505) static QString fromUcs4(const char32_t *str, int size = -1)
And more ...
I am able to reproduce this bug without exception with the following versions of Qt:
5.4.0
5.3.2
With version 5.2.1, everything works perfectly fine, so fortunately we are able to use this version for our purposes at the moment.
We are trying to deploy Qt on the supercomputer of our university (because our scientific astronomical code is based on Qt), which runs on Scientific Linux (release 6.6), with icpc (ICC) 13.1.3 20130607.