Home
Help
Search
Login
Register
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
News:
LimeReport new version 1.5 has been released
Вышла новая версия LimeReport 1.5
LimeReport Forum
»
General Category | Основное
»
Discussion | Обсуждение
»
[solved] LimeReport in a console application
« previous
next »
Print
Pages: [
1
]
Author
Topic: [solved] LimeReport in a console application (Read 5190 times)
mrdebug
Newbie
Posts: 14
[solved] LimeReport in a console application
«
on:
April 30, 2017, 11:32:17 pm »
I need to embed Lime Report in a console application that works as Windows or Linux service.
The compilation ends without any problem but, when the service tryes to print something it will go to crash.
I suspect that LimeReport does not work in a console application. Is it true or there is another way to print as console?
Many thanks.
«
Last Edit: May 17, 2017, 11:48:57 am by mrdebug
»
Logged
Arin Alex
Developer
Administrator
Hero Member
Posts: 1006
Re: LimeReport in a console application
«
Reply #1 on:
May 01, 2017, 08:35:01 pm »
Yes i see it. I'll fix it as soon as possible.
Logged
mrdebug
Newbie
Posts: 14
Re: LimeReport in a console application
«
Reply #2 on:
May 01, 2017, 10:05:15 pm »
Many many thanks!
Logged
Arin Alex
Developer
Administrator
Hero Member
Posts: 1006
Re: LimeReport in a console application
«
Reply #3 on:
May 16, 2017, 06:25:39 pm »
I have investigated the problem and found if you want to use LimeReport in the console application you have to use QApplication instead QCoreApllication
Logged
mrdebug
Newbie
Posts: 14
Re: LimeReport in a console application
«
Reply #4 on:
May 16, 2017, 08:24:22 pm »
I confirm that works in a console application but not in a Windows service using qtservice.
Have you got a suggestion for me?
Logged
mrdebug
Newbie
Posts: 14
Re: LimeReport in a console application
«
Reply #5 on:
May 17, 2017, 11:48:44 am »
Solved by paching the file qtservice_win.cpp
Logged
Print
Pages: [
1
]
« previous
next »
LimeReport Forum
»
General Category | Основное
»
Discussion | Обсуждение
»
[solved] LimeReport in a console application