Re: [Armadeus-forum] Trouble with the new Qt version
Brought to you by:
sszy
From: Jean-Baptiste M. <ji...@ji...> - 2011-05-29 20:37:17
|
Hi Saad, I would bet my shirt you are trying to link your code with library built with a different Qt configuration. Basically - you built a Qt library for framebuffer operations (hence without Q_WS_X11 defined) and are now trying to build your application with Q_WS_X11 defined. My educated guess is you changed gcc calls in the makefiles to use the arm compiler and arm library - but not the correct configuration. When using QMakefiles (which Qt Creator does) you should specify the target specific QMakeSpec file - probably the one you'll find in the build dir of your (target) Qt library. Hope this helps, JB Le 29 mai 2011 à 13:41, Mohamed Saad IBN SEDDIK a écrit : > Hi all! > > I’m facing some real issue getting the new Qt creator compile my project or any of the demos provided within the buildroot. > > Qt Creator says: “Qt Creator needs a tool chain set up to build. Please configure a tool chain in Project mode.” for the demos and the –spec line is already there. But it seems that they added a new line just for toolchain just under Qt version. > > And the reason that pushed me to move to the last version was that I was getting this message: “impossible constraint in 'asm'” and seemed not to recognize the paths to the libraries anymore. > > After the update, now I get “(.rodata+0xc0):-1: error : undefined reference to `QWidget::x11Event(_XEvent*)'” even when there’s “#include QWidget”. > > Does anyone have a clue please? I’m supposed to be finishing my project by now. > > Thanks all. > > Regards, > Saad > ------------------------------------------------------------------------------ > vRanger cuts backup time in half-while increasing security. > With the market-leading solution for virtual backup and recovery, > you get blazing-fast, flexible, and affordable data protection. > Download your free trial now. > http://p.sf.net/sfu/quest-d2dcopy1_______________________________________________ > Armadeus-forum mailing list > Arm...@li... > https://lists.sourceforge.net/lists/listinfo/armadeus-forum |