From 51edf8a2b22c690c0ee230a54f7f1f66d34ce09e Mon Sep 17 00:00:00 2001 From: Eirik Aavitsland Date: Fri, 4 Aug 2017 11:02:15 +0200 Subject: Fix compilation of manual lance test Commit 32a94e54 changed the API of the QPS engine (PaintCommands class). Update the usage accordingly. Change-Id: Ide57609e636dad0aa434d1049b600b72f731bc30 Reviewed-by: Allan Sandfeld Jensen --- tests/manual/lance/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/manual/lance/main.cpp') diff --git a/tests/manual/lance/main.cpp b/tests/manual/lance/main.cpp index a8fa6bd402..749a4b1943 100644 --- a/tests/manual/lance/main.cpp +++ b/tests/manual/lance/main.cpp @@ -353,7 +353,7 @@ int main(int argc, char **argv) scaledWidth = width * scalefactor; scaledHeight = height * scalefactor; - PaintCommands pcmd(QStringList(), 800, 800); + PaintCommands pcmd(QStringList(), 800, 800, imageFormat); pcmd.setVerboseMode(verboseMode); pcmd.setType(type); pcmd.setCheckersBackground(checkers_background); @@ -601,7 +601,7 @@ int main(int argc, char **argv) case PrinterType: { #ifndef QT_NO_PRINTER - PaintCommands pcmd(QStringList(), 800, 800); + PaintCommands pcmd(QStringList(), 800, 800, imageFormat); pcmd.setVerboseMode(verboseMode); pcmd.setType(type); pcmd.setCheckersBackground(checkers_background); @@ -635,7 +635,7 @@ int main(int argc, char **argv) case PdfType: { #ifndef QT_NO_PRINTER - PaintCommands pcmd(QStringList(), 800, 800); + PaintCommands pcmd(QStringList(), 800, 800, QImage::Format_ARGB32_Premultiplied); pcmd.setVerboseMode(verboseMode); pcmd.setType(type); pcmd.setCheckersBackground(checkers_background); -- cgit v1.2.3