WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Qt5 app didn't find lib at /usr/local/lib  (Read 1756 times)

Offline nano

  • Newbie
  • *
  • Posts: 28
Qt5 app didn't find lib at /usr/local/lib
« on: January 22, 2015, 10:04:20 PM »
I have an Qt5 application to run on tinycore. I installed all needed extension, but appears that my Qt5 app only check /usr/lib and don't check /usr/local/lib for needed library, such as /usr/lib/share/X11/xkb and says that didn't find some libs. When I compile my app with qt4 it works correctly.

Can I load tce extension into /usr instead of /usr/local?
OR
What should I do?


Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14625
Re: Qt5 app didn't find lib at /usr/local/lib
« Reply #1 on: January 22, 2015, 10:11:12 PM »
the tinycore standard for extensions is for them to be compiled to /usr/local.

Since things work with qt4, you probably need a small adjustment to the ./configure switches or Makefile for them to work with qt5.

Offline nano

  • Newbie
  • *
  • Posts: 28
Re: Qt5 app didn't find lib at /usr/local/lib
« Reply #2 on: January 23, 2015, 12:17:03 PM »
you probably need a small adjustment to the ./configure switches or Makefile for them to work with qt5.
Sorry. Could you explain a bit more for me... How say qt to also check /usr/local at runtime?
How set qt to also check /usr/local/share after /usr/share ?

the tinycore standard for extensions is for them to be compiled to /usr/local.

Why the standard path is /usr/local instead of /usr ?
« Last Edit: January 23, 2015, 12:45:37 PM by nano »