[SOLVED] QtPrintSupport.dll dependency
-
Hello. My app doesn't run without qtprintsupport.dll but this module not included. List of included modules: Core, GUI, Network, Svg, Widgets, XML. Is it possibly to avoid calling that dll? Thanks
-
Hi,
Are you doing any printing stuff ?
-
No, just rendering and saving screenshots as png and svg images
-
QPixmap, yes
-
System is Win7 x86. Here QPixmap-related code:
@void ImageSaver::renderGraphs(QList<QwtPlot *> listGraphs, QPainter &painter)
{
int y = 0;
QwtPlotRenderer renderer;
for (int i=listGraphs.count()-1; i>=0; i--)
{
QPixmap temp_pixmap = QPixmap(listGraphs[i]->size());
QPainter temp_painter(&temp_pixmap);
renderer.setDiscardFlags(QwtPlotRenderer::DiscardBackground | QwtPlotRenderer::DiscardCanvasBackground);
renderer.render(listGraphs[i],&temp_painter,listGraphs[i]->rect());
painter.drawPixmap(0,y,temp_pixmap);
y += temp_pixmap.height();
}
}@ -
I used Dependency Walker and determined that Qt5PrintSupport.dll called from qwt.dll (I use Qwt library).
-
Thanks to everybody for cooperation
-
That was the important detail ! :)
You're welcome !
Now that you have found out please update the thread title prepending [solved] so other forum users may know a solution has been found :)