Hi Amit, amit shah wrote: > I found what the problem is and i'm unsure as where to fix it. > > The problem is the Makefile qmake ( from sysroot-cross/bin) generates has > > LFLAGS = -Wl,-O1 > > but what needs to be is > > LFLAGS = > -L/sda3/pengubsp/platform-NeoLinux-2013.02/sysroot-target/lib > -L/sda3/pengubsp/platform-NeoLinux-2013.02/sysroot-target/usr/lib > -Wl,-rpath-link > -Wl,/sda3/pengubsp/platform-NeoLinux-2013.02/sysroot-target/lib > -Wl,-rpath-link > -Wl,/sda3/pengubsp/platform-NeoLinux-2013.02/sysroot-target/usr/lib -Wl,-O1 > > I manually changed the LFLAGS in the Makefile and did a command line make > and it successfully builds the QT application . > > But each time after I run qmake I have to manually add the LFLAGS and then > do a make from command line. It is a pain doing it. > > The qmake needs to change so that the correct LFLAGS are generated.
Interesting fact is, it works here on two different host machines. Something in your environment seems different. What host distribution do you are using? Regards, Juergen -- Pengutronix e.K. | Juergen Beisert | Linux Solutions for Science and Industry | http://www.pengutronix.de/ |
