Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QWebEnginePage::printToPdf how to specify the creator?
Qt 6.11 is out! See what's new in the release blog

QWebEnginePage::printToPdf how to specify the creator?

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 2 Posters 955 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    Alain38
    wrote on last edited by
    #1

    Hi,
    When I create a PDF file, I need to set the "creator" field that appear when you click on the properties of the PDF file. Using a QPrinter I have the option to set it. But, how can I set it if I use directly printToPdf?

    Thanks.

    JonBJ 1 Reply Last reply
    0
    • A Alain38

      Hi,
      When I create a PDF file, I need to set the "creator" field that appear when you click on the properties of the PDF file. Using a QPrinter I have the option to set it. But, how can I set it if I use directly printToPdf?

      Thanks.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      This is answered in https://forum.qt.io/topic/83480/qt-5-9-1-does-qprinter-really-work-to-create-pdf-documents/2

      Though printToPdf()'s engine is producing the PDF, isn't that what Creator is for?

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved