diff -r 56cd8111b7f7 -r 41300fa6a67c tests/auto/qtextscriptengine/generate/main.cpp --- a/tests/auto/qtextscriptengine/generate/main.cpp Tue Jan 26 12:42:25 2010 +0200 +++ b/tests/auto/qtextscriptengine/generate/main.cpp Tue Feb 02 00:43:10 2010 +0200 @@ -40,7 +40,7 @@ ****************************************************************************/ -#include +#include #include #include #include @@ -85,7 +85,7 @@ result += "0x" + QString::number(str.at(i).unicode(), 16) + ", "; result += "0x0 },\n { "; for (int i = 0; i < e->layoutData->items[0].num_glyphs; ++i) - result += "0x" + QString::number(e->layoutData->glyphPtr[i].glyph, 16) + ", "; + result += "0x" + QString::number(e->layoutData->glyphLayout.glyphs[i], 16) + ", "; result += "0x0 } }"; setPlainText(result);