lux-integ wrote:
> On Saturday 31 August 2013 10:35:02 lux-integ wrote:

>> -L/home/linteg/qt-everywhere-opensource-src-5.1.0/qtbase/lib
>> -lQt5PlatformSupport -lfontconfig -lfreetype -lgthread-2.0 -pthread
>> -lglib-2.0 -ludev -lEGL -lQt5DBus -lQt5Gui -lQt5Core -lGLESv2 -lpthread

>> .obj/release-shared/qxcbwindow.o: In function `QXcbWindow::create()':
>> qxcbwindow.cpp:(.text+0x4148): undefined reference to
>> `QXlibEglIntegration::getCompatibleVisualId(_XDisplay*, void*, void*)'
>> collect2: error: ld returned 1 exit status

This seems odd.  I would think that the library with QXlibEglIntegration 
would be in the build directory.

The library directory 
-L/home/linteg/qt-everywhere-opensource-src-5.1.0/qtbase/lib is already 
specified.

> update:
>
> the problem SEEMS to revolve around setting of the '-I (includePath) and '-
> L(libraryPath) variables in the qmake configure script that builds qt5.
> (This in turn seems to be a bit different from  settings in the the qt4 series
> )
> The envars LDFLAGS and CPPFLAGS seems to be ignored.

Try setting the environment variable LIBRARY_PATH=/opt/qt5/lib.  That 
adds default directories to gcc/g++ for linking and bypasses configure.

The equivalent variable for C++ includes is CPLUS_INCLUDE_PATH, but that 
didn't seem to be the problem above.

I'll note that I find QXlibEglIntegration in libQt5PlatformSupport.a, 
but I don't have a .so equivalent.

   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to