Hi,

Nope , in fact , that was the problem
I had to check embedded and not X11 as platform to get this error solved.

Regards,


> From: jbe@pengutronix.de
> To: ptxdist@pengutronix.de
> Subject: Re: [ptxdist] Report bug : Qt , Xorg
> Date: Tue, 24 Jan 2012 20:33:35 +0100
> CC: mohtadi_barhoumi@hotmail.fr
>
> Hi Barhoumi,
>
> barhoumi mohtadi wrote:
> > I'm trying to re-build an embedded kernel with this time adding Xorg and Qt
> > as new libraries ( i have succeded to run a minimal kernel before) But the
> > problem, is that i have received this error when running PTXdist images
> >
> > last lines from the logfile
> >
> > g++ -o
> > "/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/bin/qmake" project.o
> > property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o
> > winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o
> > xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o
> > msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o
> > initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o
> > registry.o epocroot.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o
> > qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o
> > qdatastream.o qbuffer.o qlist.o qfile.o qfsfileengine_unix.o
> > qfsfileengine_iterator_unix.o qfsfileengine.o qfsfileengine_iterator.o
> > qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o
> > qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o
> > qtemporaryfile.o qmap.o qmetatype.o qsettings.o qlibraryinfo.o qvariant.o
> > qvsnprintf.o qlocale.o qlinkedlist.o qurl.o qnumeric.o qcryptographichash.o
> > qxmlstream.o qxmlutils.o make[1]: Leaving directory
> > `/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build
> >-target/qt-everywhere-opensource-src-4.7.4-build/qmake' Basic XLib
> > functionality test failed!
> > You might need to modify the include and library search paths by editing
> > QMAKE_INCDIR_X11 and QMAKE_LIBDIR_X11 in
> > /home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/build-
> >target/qt-everywhere-opensource-src-4.7.4/mkspecs/linux-ptx-g++. make: ***
> > [/home/c2a/OSELAS.BSP-Pengutronix-Generic-2011.11.0/platform-Poseidon/state
> >/qt4.prepare] Error 1
> >
> > }}} 2012-01-24T12:06:54+0100 /usr/local/lib/ptxdist-2011.11.0/bin/ptxdist
> > images; (exit value: 2)
> >
> >
> > I must also precise that there is no such folder ( qt-everywhere....) in
> > the build target folder.
> >
> > Can you see the cause of the problem.?
>
> You last comment on the IRC was: "it works" after enabling Qt's X support???
>
> Did you configure your Qt to use the X environment instead of the plain
> framebuffer?
>
> $ ptxdist menuconfig
> Graphics & Multimedia --->
> qt --->
> <*> qt --->
> build options --->
> platform (X11 ) --->
>
> This should do the job.
>
> Regards,
> Juergen
>
> --
> Pengutronix e.K. | Juergen Beisert |
> Linux Solutions for Science and Industry | http://www.pengutronix.de/ |