Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: LimeReport without Visual elements  (Read 2896 times)

marcelo

  • Newbie
  • *
  • Posts: 3
    • View Profile
LimeReport without Visual elements
« on: January 16, 2020, 09:52:13 pm »
It's possible use lime report without visual elements?
If is possible, how i do it? (for example on a CLI aplication)

Regards

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: LimeReport without Visual elements
« Reply #1 on: January 17, 2020, 05:50:20 pm »
Hi!
Yes, You can use limereport in the console application.
You can take a look at the console subproject to see how to implement it.

marcelo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: LimeReport without Visual elements
« Reply #2 on: January 17, 2020, 08:02:56 pm »
I'm using the wt framework (https://www.webtoolkit.eu/wt) with qt to build a web application that generates reports (just generates a report trough a template, not edit it).
I'm using wt to build the gui, and qt to deal with data processing, so i don't need qt gui components.

I compiled limereport with these parameters, in order to avoid graphical components:
Code: [Select]
CONFIG += no_embedded_designer
CONFIG += no_formdesigner


But my application is crashing on lrpagedesignintf.cpp, on PageDesignIntf constructor, whey you initialize QGraphicsScene, on: (1   std::__atomic_base<int>::load       atomic_base.h), when i call the function loadfromstring, from ReportEngine class.

There is some parameter that i missed, in order to avoid graphical components or there is other problem?

regards


Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: LimeReport without Visual elements
« Reply #3 on: January 17, 2020, 09:46:31 pm »
O, I see.
Limereport using QGraphicsScene for rendering reports.
And QGraphicsScene needs QWidgets.
I’m afraid that in your case LimeReport will not be useful.

marcelo

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: LimeReport without Visual elements
« Reply #4 on: January 20, 2020, 03:30:07 pm »
Thanks