Re: [Development] Adding CPD support to Qt print dialog

2022-09-15 Thread Ilya Fedin
On Fri, 16 Sep 2022 06:32:38 + Shawn Rutledge wrote: > Another aspect that I haven’t kept up with very well is how > containerized applications should do printing. We have “portal” > support for file dialogs, for example, but is CPDB intended to work > the same way regardless whether the app

Re: [Development] Adding CPD support to Qt print dialog

2022-09-15 Thread Shawn Rutledge
On 2022 Sep 16, at 00:20, Gaurav Guleria mailto:gaurav.g...@gmail.com>> wrote: Hello all, I am Gaurav Guleria, a GSoC student, working with Till Kamppeter to add and improve Common Print Dialog (CPD) support to existing print dialogs like GTK and Qt. More about CPD can be read here: https:/

Re: [Development] Adding CPD support to Qt print dialog

2022-09-15 Thread Lars Knoll
> On 16 Sep 2022, at 03:36, Chris Adams wrote: > > Hi Gaurav, > > First, I want to make clear: I know nothing about printing at all, > either in Qt or in general. > But I did a quick archive search and found the following: > https://lists.qt-project.org/pipermail/development/2020-May/039584.htm

Re: [Development] Adding CPD support to Qt print dialog

2022-09-15 Thread Chris Adams
Hi Gaurav, First, I want to make clear: I know nothing about printing at all, either in Qt or in general. But I did a quick archive search and found the following: https://lists.qt-project.org/pipermail/development/2020-May/039584.html On Fri, Sep 16, 2022 at 8:22 AM Gaurav Guleria wrote: > > He

Re: [Development] [EXTERNAL EMAIL] Could support for C be added to Qt?

2022-09-15 Thread samuel ammonius
> Even though that code has #ifdef __cplusplus, the code doesn't compile as C. > This is C++. Yeah SWIG's output files are in C++. I thought you meant that the C++ functions generated by SWIG should be wrapped rather than wrapping Qt's code directly. This explains a lot. Sorry I forgot to mention

[Development] Adding CPD support to Qt print dialog

2022-09-15 Thread Gaurav Guleria
Hello all, I am Gaurav Guleria, a GSoC student, working with Till Kamppeter to add and improve Common Print Dialog (CPD) support to existing print dialogs like GTK and Qt. More about CPD can be read here: https://openprinting.github.io/projects/04-print-dialog/. I wanted to ask about your op

Re: [Development] [EXTERNAL EMAIL] Could support for C be added to Qt?

2022-09-15 Thread Thiago Macieira
On Thursday, 15 September 2022 12:20:37 PDT samuel ammonius wrote: > It's really hard to imagine what SWIG's output looks like without seeing it > for > yourself, so I'll just post one of the outputs here. This was the shortest, > most > readable, and most C/C++ compatible output I could get from a

Re: [Development] [EXTERNAL EMAIL] Could support for C be added to Qt?

2022-09-15 Thread samuel ammonius
It's really hard to imagine what SWIG's output looks like without seeing it for yourself, so I'll just post one of the outputs here. This was the shortest, most readable, and most C/C++ compatible output I could get from all the target languages available in SWIG. pastebin link

Re: [Development] [EXTERNAL EMAIL] Could support for C be added to Qt?

2022-09-15 Thread Thiago Macieira
On Thursday, 15 September 2022 01:42:43 PDT Edward Welbourne wrote: > On Wed, Sep 14, 2022 at 5:16 PM Thiago Macieira wrote: > >> How about a wrapper to the wrapper? > > samuel ammonius (14 September 2022 23:52) replied: > > Why wrap a wrapper that wraps C++ when you can just wrap C++? Aside > > f

Re: [Development] [EXTERNAL EMAIL] Could support for C be added to Qt?

2022-09-15 Thread Edward Welbourne
On Wed, Sep 14, 2022 at 5:16 PM Thiago Macieira wrote: >> How about a wrapper to the wrapper? samuel ammonius (14 September 2022 23:52) replied: > Why wrap a wrapper that wraps C++ when you can just wrap C++? Aside > from the fact that it probably wouldn't be any easier, it would also > start to a