I am having difficulties printing JPG images contained in QTextEdits. I actually have a sub-classed QTextEdit and for printing I create the printer object, convert the QTextEdit to a QTextDocument, and then call QTextDocument's print function. I would show the code but my code is on a stand-alone network and I am not with the network right now. But it is just those three lines of code. All of the text prints fine and PNG images print fine, but the JPG images print out as black boxes the size of the image in the QTextEdit. Inside my .h file I have the IMPORT statement for qjpeg. I forget the syntax of it, but it is located just after my include statements. Does anybody have any ideas why everything works fine except JPG. I am running Solaris 10 in 8-bit color (don't ask...legacy software ) if that matters.

Thanks!
Todd