LimeReport Forum

General Category | Основное => Discussion | Обсуждение => Topic started by: alonsomm2000 on September 01, 2018, 09:06:02 PM

Title: Limereport error compiling when add Limereport to my project
Post by: alonsomm2000 on September 01, 2018, 09:06:02 PM
Dear,
   Alex

 Greetings again, I would like to report a bug, when you compile Limereport project works fine, but when you copy Limereport lib folder into your own project and add it to .pro it does not compile and give the following error:

../limereport/lib/include/lrglobal.h:49: error: QScriptEngine: No such file or directory
 #include <QScriptEngine>

It will compile fine if your change line: 49 in lrglobal.h file

From:
#include <QScriptEngine>

To:
#include <QtScript/QScriptEngine>

So I was wondering, can you change it in your source code so we do not have to be changing it on every update?

Regards,
       Luis Murillo.
Title: Re: Limereport error compiling when add Limereport to my project
Post by: Subst on September 02, 2018, 08:27:48 PM
Hi!
What version of LR you are using?
Title: Re: Limereport error compiling when add Limereport to my project
Post by: alonsomm2000 on September 03, 2018, 01:17:25 AM
Hi, thank you for your quick answer, I am using version 1.4.102 Developer branch, but I think production branch give same error when you try to compile a project that include Limereport library.

Regards,
       Luis Murillo.
Title: Re: Limereport error compiling when add Limereport to my project
Post by: Subst on September 03, 2018, 06:06:04 PM
Hi! No, master branch include the qscript in lrscriptenginemanagerintf.h and include it as '#include <QtScript/QScriptEngine>'

about your main questuin: It's to Alex, lets waiting him
Title: Re: Limereport error compiling when add Limereport to my project
Post by: alonsomm2000 on September 03, 2018, 11:15:37 PM
Thank you, I notice is already correct it in Develop branch, no more compile error!

Regards,
        Luis Murillo.
Title: Re: Limereport error compiling when add Limereport to my project
Post by: Subst on September 04, 2018, 02:51:21 PM
Yep, lrglobal has been fixed 3 days ago. Thanks to Alex