if ( !myViewFrame )
return;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(QT_NO_CUPS)
#if QT_VERSION < 0x040303
if ( !Qtx::hasAnyPrinters() ) {
SUIT_MessageBox::warning( this, tr( "WRN_WARNING" ),
* Cheque for existing any system printers
*/
-#ifndef WIN32
+#if !defined(WIN32) && !defined(QT_NO_CUPS)
#if QT_VERSION < 0x040303
#include <QLibrary>
#include <cups/cups.h>
bool Qtx::hasAnyPrinters()
{
bool aRes = true;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(QT_NO_CUPS)
#if QT_VERSION < 0x040303
QLibrary aCupsLib( QString( "cups" ) );
if ( !aCupsLib.load() )
if ( theImage.isNull() )
return;
-#ifndef WIN32
+#if !defined(WIN32) && !defined(QT_NO_CUPS)
#if QT_VERSION < 0x040303
if ( !Qtx::hasAnyPrinters() ) {
SUIT_MessageBox::warning( this, tr( "WRN_WARNING" ),