#160: Printing

Dirk Hohndel dirk at hohndel.org
Tue Jul 9 08:19:09 PDT 2013


On Tue, 2013-07-09 at 12:02 -0300, Tomaz Canabrava wrote:

>         
>         ok, i will keep you folks up to date on with the printing
>         progress.
>         as a side note (and AFAIK) it seems that Qt does not allow a
>         custom
>         tab in the print dialog. so what i'm doing right now is create
>         a
>         custom print QDialog with all options that calls another
>         dialog
>         (QPrintDialog) with the hardware settings. found the
>         suggestion at
>         stackoverflow.com..
> 
> Well, this is not "Qt" fault per se, it happens because of this:
> "On Windows and Mac OS X, the native print dialog is used, which means
> that some QWidget and QDialog properties set on the dialog won't be
> respected. The native print dialog on Mac OS X does not support
> setting printer options, i.e. setOptions() and setOption() have no
> effect."

Hmm - that sucks. So maybe we need a dialog BEFORE the print dialog is
called?
How are other Qt programs deal with this?

>         i would be happy if i can get a native windows build working
>         for
>         testing and development at some point. currently building with
>         the
>         default Makefile and an Ubuntu VM.
> 
> I'm talking with the marble guys those days to make it easyer to
> compile libmarblewidget on non-unix based systems.

Yeah - that would be extremely welcome. I really need an easy way to
create a cross build for Windows under Linux. I may have an hour today
to play with this :-)

/D




More information about the subsurface mailing list