WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline nano

  • Newbie
  • *
  • Posts: 28
Qt5 app didn't find lib at /usr/local/lib
« on: January 23, 2015, 01:04:20 AM »
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: 14815
Re: Qt5 app didn't find lib at /usr/local/lib
« Reply #1 on: January 23, 2015, 01:11:12 AM »
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, 03: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, 03:45:37 PM by nano »