Prefix defaults to /usr:

isEmpty(INSTALL_PREFIX):INSTALL_PREFIX = /usr

DEFINES += LC_INSTALL_PREFIX=\\\"$$INSTALL_PREFIX\\\"


And then:

const char* libPath = LC_INSTALL_PREFIX"/share/leocad/";




On Thu, Mar 6, 2014 at 11:18 AM, Hubert Figuière <[email protected]> wrote:

> On 06/03/14 02:04 PM, Leonardo Zide wrote:
> > That's a different file, I was talking about the library file from my
> > Google Drive page.
> >
> > If you want to use the LDraw library then something like this should work
> > (your symlink was in /usr/local):
> >
> > ln -s /usr/local/share/ldraw /usr/share/leocad/
>
> The code EXPLICITLY look for library.bin in $PREFIX/share/leocad/
>
> See lc_application.cpp:206
>
>
> Hub
> >
> >
> >
> > On Thu, Mar 6, 2014 at 10:57 AM, Hubert Figuière <[email protected]>
> wrote:
> >
> >> On 06/03/14 01:52 PM, Leonardo Zide wrote:
> >>>   When I unzip Library-Linux-7931.zip I get a library.bin file, I don't
> >>> know how you're not getting the same file.
> >>
> >> If I unzip complete.zip which is distributed by LDraw.org
> >>
> >> http://www.ldraw.org/downloads-2/downloads.html
> >> (I followed the "Downloads" link from LDraw.org)
> >>
> >> I get a "ldraw" directory with the library in it.
> >>
> >>
> >> Hub
> >> _______________________________________________
> >> Leocad mailing list
> >> [email protected]
> >> https://list.gerf.org/listinfo/leocad
> >>
> >
>
>
_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to