PDA

View Full Version : QT_NO_PRINTER doesn't have effect



vcp
12th February 2010, 12:26
Hi,

Someone knows because the macro QT_NO_PRINTER does not have effect in the Qt 4.6.
Even though haven't a printer defined in the Window$ the routine is executed.

i.e:


#ifndef QT_NO_PRINTER
// print text
// this code always is performed even without definite printer
#else
// no printer definined
#endif


Thanks in advance

squidge
12th February 2010, 13:00
If it always prints text then you have compiled Qt with printer support. Check your configuration and recompile Qt from the sources.

vcp
12th February 2010, 13:03
I'm going to check this, but my compilation is to original from Qt 4.6.1 2010.01, but....