diff options
author | Kai Koehne <kai.koehne@digia.com> | 2013-10-18 13:25:19 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-10-18 18:01:54 +0200 |
commit | befe02aa6efeb351439112b27fc43e9866d6ea3d (patch) | |
tree | c40aa51f2fe6a59cdd4d5b72a3dc18d3710e7b60 /src/printsupport/kernel/qcups.cpp | |
parent | 4dab27933db18bda3d2a3272bf1f07f68aa80985 (diff) |
Fix crash in qdoc startup
the order of initialization of static variables is undefined, and we
therefore cannot (safely) initialize the array with static QStrings
declared elsewhere.
This was leading to crashes in MinGW gcc 4.8.0. Work around the issue
by initializing the array at runtime initialization instead.
Task-number: QTBUG-34172
Change-Id: I24f0e6af6685fc280d12c8ef90d40b8ebe994450
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@digia.com>
Diffstat (limited to 'src/printsupport/kernel/qcups.cpp')
0 files changed, 0 insertions, 0 deletions