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

Author Topic: Limereport error compiling when add Limereport to my project  (Read 2218 times)

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Limereport error compiling when add Limereport to my project
« 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.

Subst

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Re: Limereport error compiling when add Limereport to my project
« Reply #1 on: September 02, 2018, 08:27:48 PM »
Hi!
What version of LR you are using?

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Limereport error compiling when add Limereport to my project
« Reply #2 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.

Subst

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Re: Limereport error compiling when add Limereport to my project
« Reply #3 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

alonsomm2000

  • Newbie
  • *
  • Posts: 24
    • View Profile
Re: Limereport error compiling when add Limereport to my project
« Reply #4 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.

Subst

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Re: Limereport error compiling when add Limereport to my project
« Reply #5 on: September 04, 2018, 02:51:21 PM »
Yep, lrglobal has been fixed 3 days ago. Thanks to Alex