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

Author Topic: undefined reference to QMap<LimeReport::BandDesignIntf*, QString>::values(LimeR  (Read 2360 times)

davidovv

  • Newbie
  • *
  • Posts: 11
    • View Profile
I am trying to compile from source (git) and i get errors

/home/davidovv/src/LimeReport/build/5.7.0/linux64/release/lib/liblimereport.so:-1: error: undefined reference to `QMap<LimeReport::BandDesignIntf*, QString>::values(LimeReport::BandDesignIntf* const&) const'

/home/davidovv/src/LimeReport/build/5.7.0/linux64/release/lib/liblimereport.so:-1: error: undefined reference to `QMap<QString, LimeReport::GroupFunction*>::values(QString const&) const'

the library is built but the demo isn't
i get the same error when i try to use that lib with my project
as you can see i am building on linux
« Last Edit: January 08, 2017, 10:04:59 PM by davidovv »

Subst

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
Hi!
First, I recommend you to install from repo the 5.7.1 libs of QT. 5.7.0 seems so unstable

About your problem. Can you post the .pro file here?

I'm not developer of this library but so active user and tester of it, as you can see.
Alex is ill now, may be I can help. In other case will be wait of them

And tell me, what version of LM you are using? from git?
« Last Edit: January 09, 2017, 09:05:29 AM by Subst »

davidovv

  • Newbie
  • *
  • Posts: 11
    • View Profile
yes i use git version, first i tried master, and then i tried latest tag 1.3.12. same error in both cases...
i opened  limereport.pro project with qtcreator, clicked build and the error is produced when compiling subdir demo_1, so if there is error in my pro file there is one in  demo_1 also

and i just updated qt from 5.7.0-1 to 5.7.1 and it compiled just fine
thanks

Subst

  • Sr. Member
  • ****
  • Posts: 444
    • View Profile
i.e. with 5.7.1 version of QT problem solved?

And why ypur version of LM is 1.3.12, The latest is 1.4.1
here
https://github.com/fralx/LimeReport/tree/1.4