hello! So after successfully bitbaking and installing meta-toolchain-st5 I set up QtCreator 3.2.2 and tried to compile an app against SDK of qt5. However I get an error:
/usr/bin/ld: cannot find /lib/libpthread.so.0 inside /usr/bin/ld: cannot find /usr/lib/libpthread_nonshared.a inside libpthread.so is available alright, but the linker is not finding it somehow. LD variable is set to: i586-poky-linux-ld --sysroot=/opt/poky/1.7/sysroots/i586-poky-linux Maybe this is a pure QtCreator bug, but where would I set(override) the linker correctly? Any suggestions? If i run(from console ): i586-poky-linux-ld --sysroot=/opt/poky/1.7/sysroots/i586-poky-linux /opt/poky/1.7/sysroots/i586-poky-linux/usr/lib/libpthread.so it is fine(it gives me some warning, but no errors). Here are the QtCreator settings for Qt5 Kit: GCC Compiler: path: /opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/i586-poky-linux/i586-poky-linux-gcc Qt Version: qmake location: /opt/poky/1.7/sysroots/i686-pokysdk-linux/usr/bin/qt5/qmake Qt Kit: sysroot: /opt/poky/1.7/sysroots/i586-poky-linux compiler: set to above gcc compiler qt version: set to above qt version even manually setting LIBS to LIBS += -L//opt/poky/1.7/sysroots/i586-poky-linux/lib or LIBS += -L//opt/poky/1.7/sysroots/i586-poky-linux/usr/lib does not help(but i really do not think this is the problem). So you have any hints for me? I compared the settings of 1.6.1, and there is no difference as far as my eye can catch. PS. I switched from 1.6.1 to 1.7, becasue of gclib not beeing available in 1.6.1. cheers simon :-)
-- _______________________________________________ yocto mailing list [email protected] https://lists.yoctoproject.org/listinfo/yocto
