Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Invalid parameter passed to C runtime function.

Invalid parameter passed to C runtime function.

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 169 Views
  • 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.
  • T Offline
    T Offline
    Thomas 63
    wrote on last edited by
    #1

    Hello all

    I receive the above mentioned error message when I try to print a label, multiple times (about 20) if I use the printer "Adobe PDF". If I use other printers, like "Microsoft Print to PDF", or physical printers, it appears only once, but still it appears.
    The print works fine though.
    Can I avoid these messages or should I just live with them?

    void MainWindow::on_drucken_2_clicked(){
        QPrinter drucker;
        drucker.setPrinterName(ui->select_drucker->currentText());
        QPainter painter(&drucker);
        ui->etikett_entwurf->render(&painter);
    }
    
    
    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