From f99c17ef12c69990efb9eb18c1e83b91e07fe0ac Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Fri, 30 Dec 2011 11:34:22 +0100 Subject: Add a default alt attribute to img tags. The output HTML did not pass validation without a default alt attribute. Reviewed-by: Kevin Wright --- tools/qdoc3/htmlgenerator.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/qdoc3/htmlgenerator.cpp b/tools/qdoc3/htmlgenerator.cpp index bc84288..2a19681 100644 --- a/tools/qdoc3/htmlgenerator.cpp +++ b/tools/qdoc3/htmlgenerator.cpp @@ -759,6 +759,8 @@ int HtmlGenerator::generateAtom(const Atom *atom, out() << "\"""; helpProjectWriter->addExtraFile(fileName); if ((relative->type() == Node::Fake) && -- cgit v0.12 From dd38c73dd4906d1ee32fc89be2fb072f50b01ee6 Mon Sep 17 00:00:00 2001 From: Casper van Donderen Date: Fri, 30 Dec 2011 15:01:32 +0100 Subject: Also correctly apply stack size difference in MSVC2008 The quotes around the stack size are not parsed correctly in MSVC2008, MSVC2010 accepts both the version with and without quotes. --- tools/qdoc3/qdoc3.pro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/qdoc3/qdoc3.pro b/tools/qdoc3/qdoc3.pro index 254ba92..74a5fe0 100644 --- a/tools/qdoc3/qdoc3.pro +++ b/tools/qdoc3/qdoc3.pro @@ -15,9 +15,9 @@ qdoc_bootstrapped { CONFIG -= debug_and_release_target } -# Increase the stack size on MSVC to 4M to avoid a stack overflow +# Increase the stack size on MSVC to 4M to avoid a stack overflow win32-msvc*:{ -    QMAKE_LFLAGS += /STACK:\"4194304\" + QMAKE_LFLAGS += /STACK:4194304 } !isEmpty(QT_BUILD_TREE):DESTDIR = $$QT_BUILD_TREE/bin -- cgit v0.12