[Development] [GSoC 2020] Regarding Qt implementation of Common Print Dialog Backends (CPDB)

Lars Knoll lars.knoll at qt.io
Wed May 20 09:12:06 CEST 2020


Hi Priydarshi!

Sorry for the delayed answer.

Great to hear that you want to work on printing for Qt. All our code is in qtbase/src/printsupport, where we have cross-platform printing for Windows, macOS and CUPS. For Windows and macOS we use the native dialogs, for CUPS, we have our own set.

The easiest and best solution would probably be to integrate there, and have a configure time check for the CPDB libs, and in that case compile in code that uses the CPDB dialogs instead of our own implementations.

Doing the changes inside qtprintsupport (as opposed to a new Add-on) has the advantage that existing applications would automatically benefit from the new functionality.

Cheers,
Lars

On 14 May 2020, at 07:37, Priydarshi Singh <dryairship at gmail.com<mailto:dryairship at gmail.com>> wrote:

Hey all!

I am Priydarshi Singh, a sophomore student at the Indian Institute of Technology, Kanpur. I have been selected for Google Summer of Code 2020 by Open Printing (under The Linux Foundation). My project<https://summerofcode.withgoogle.com/projects/#6705486251950080> is to bring CPDB to Qt developers, in the form of a QtAddon.

The CPDB provides modules to access the different print technologies (CUPS, Google Cloud Print, and Print to File - as of now). It provides a common interface for listing available printers, configuration options and capabilities for each printer, printing jobs, etc. in the form of a DBus service. Through my project, I intend to build an Add-On for Qt such that developers may use it to leverage the capabilities of CPDB in the applications they build using Qt. The project will use cpdb-libs<https://github.com/OpenPrinting/cpdb-libs> as a dependency. The AddOn will provide easy usage for both QtWidgets and QtQuick development.

I wish to ask for your views on the project. I would be highly obliged if you could share your suggestions with me.

Regards,
Priydarshi Singh
_______________________________________________
Development mailing list
Development at qt-project.org<mailto:Development at qt-project.org>
https://lists.qt-project.org/listinfo/development

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20200520/825357be/attachment.html>


More information about the Development mailing list