Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.3.1
-
None
Description
On Mac,
if first installing the qt-mac-commercial-4.3.1.dmg and typing a single space in the input field for name in the dialog for Name and Qt serial number, and then later trying to compile qt-mac-commercial-src-4.3.1.tar.gz, the compilation fails with the following error message:
/corelib/global/qlibraryinfo.cpp
/Users/jberg/depot/qt-4.3.1/src/corelib/global/qconfig.cpp:2: error: initializer-string for array of chars is too long
make: *** [qlibraryinfo.o] Error 1
bodo:~/depot/qt-4.3.1 jberg$ make
make: *** No targets specified and no makefile found. Stop.
The variable "static const char qt_configure_licensee_str [256 + 12]" in qconfig.cpp is generated with one character too much.
It seems to work if one types a real name instead of a space character in the binary installation dialog.
The problems only happens if the .qt-license file has a single empty space for the Licensee variable, such as:
Licensee=" "