LimeReport icon indicating copy to clipboard operation
LimeReport copied to clipboard

Reg : Application Crashes on using Limereport library call PrinttoPDF()

Open BaskaranC-07 opened this issue 10 months ago • 3 comments

Hii,

Iam using lime report designer library to generate the .lrxml file, after generating the file i am trying to convert the file to PDF here i am facing the issues ,

  1. If i do less number of pages it is okay
  2. If i convert more pages my application is crashing exactly at the call PrinttoPDF() limereport library.

QT Creator Version 5.14.2 Limereport designer version

Image

void MainWindow::DP_LRXML_to_PDF_Upload(QString in_qsFilePath) { qDebug()<<"Update"; cm_lrReport.loadFromFile(in_qsFilePath, 0); /Remove the lrxml file extention and append the file name as pdf/ QString qsPDFFilePath = in_qsFilePath.chop(5)+ "pdf"; cm_lrReport.printToPDF(qsPDFFilePath);

}

Kindly provide me a solution to resolve the issue.

BaskaranC-07 avatar Feb 17 '25 15:02 BaskaranC-07

Could you send me an exeption message ?

fralx avatar Feb 18 '25 19:02 fralx

Hii Alexandar Arin,

Some times I am getting unfortunately your .exe has crashed message in gui application output console, and some times it is going to undefined not responding state then I have to kill and restart the application. Regards, Baskaran C

On Wed, Feb 19, 2025, 1:05 AM Alexander Arin @.***> wrote:

Could you send me an exeption message ?

— Reply to this email directly, view it on GitHub https://github.com/fralx/LimeReport/issues/477#issuecomment-2666758211, or unsubscribe https://github.com/notifications/unsubscribe-auth/A74UWAZHZGXTH72M5X3KIEL2QODP3AVCNFSM6AAAAABXJSF3NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRWG42TQMRRGE . You are receiving this because you authored the thread.Message ID: @.***> [image: fralx]fralx left a comment (fralx/LimeReport#477) https://github.com/fralx/LimeReport/issues/477#issuecomment-2666758211

Could you send me an exeption message ?

— Reply to this email directly, view it on GitHub https://github.com/fralx/LimeReport/issues/477#issuecomment-2666758211, or unsubscribe https://github.com/notifications/unsubscribe-auth/A74UWAZHZGXTH72M5X3KIEL2QODP3AVCNFSM6AAAAABXJSF3NSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDMNRWG42TQMRRGE . You are receiving this because you authored the thread.Message ID: @.***>

BaskaranC-07 avatar Feb 18 '25 20:02 BaskaranC-07

I need more information or an example

fralx avatar Feb 20 '25 21:02 fralx