mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix NO_PRINTING when printing is disabled in Qt
Qt for android doesn't have any printing support, so this fixes NO_PRINTING so we can build against a Qt without any printing support at all. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
eda0190e2a
commit
c3f6fcb0bf
3 changed files with 6 additions and 4 deletions
|
@ -1,12 +1,12 @@
|
|||
#ifndef PRINTDIALOG_H
|
||||
#define PRINTDIALOG_H
|
||||
|
||||
#ifndef NO_PRINTING
|
||||
#include <QDialog>
|
||||
#include <QPrinter>
|
||||
#include "printoptions.h"
|
||||
#include "printer.h"
|
||||
|
||||
#ifndef NO_PRINTING
|
||||
class QProgressBar;
|
||||
class PrintOptions;
|
||||
class PrintLayout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue