[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
Are you doing any printing stuff ?
No, just rendering and saving screenshots as png and svg images
For the rendering from screen, are you using QPixmap or something else?
Hmmm, are you asking for any logicalDpiX or Y? Or perhaps the physicalDpiX or Y? I seem to remember on Windows this can call the spooler subsystem, i.e. printer stuff.
Note: this is a long shot guess :-)
System is Win7 x86. Here QPixmap-related code:
@void ImageSaver::renderGraphs(QList<QwtPlot *> listGraphs, QPainter &painter)
int y = 0;
for (int i=listGraphs.count()-1; i>=0; i--)
QPixmap temp_pixmap = QPixmap(listGraphs[i]->size());
renderer.setDiscardFlags(QwtPlotRenderer::DiscardBackground | QwtPlotRenderer::DiscardCanvasBackground);
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 :)