System libs path and include path settings in QT5.0.0

System libs path and include path settings in QT5.0.0

BY 28 Jun 2013 General Support

Hello,

I am compiling qtwayland for Tizen platform

Problem: I have wayland-egl lib and include files in /usr/lib/ and /usr/include folders respectively. Also there is wayland-egl.pc file in /usr/lib/pkgconfig. And I have updated variable PKG_CONFIG_PATH variable. However, I am not able to do compilation of qtwayland/config.tests/wayland-egl

log:

bash-4.1# qmake

bash-4.1# make
/usr/local/Qt-5.0.0/bin/qmake CONFIG\ -=\ qt\ debug_and_release\ app_bundle\ lib_bundle -o Makefile wayland_egl.pro
g++ -m32 -Wl,-O1 -o wayland_egl main.o   -lwayland-egl
/usr/bin/ld: cannot find -lwayland-egl
collect2: ld returned 1 exit status
make: *** [wayland_egl] Error 1

 

How are the system include paths and lib paths being set in QT5.0.0?

What should be done so that qmake finds the lib ??
 

Written by