[Qt-interest] issue in building QT with opengl enabled directfb...
suma s
suma_s27 at yahoo.co.in
Wed Nov 17 09:23:23 CET 2010
hello,
after making a bit search on my work, i got to know some thing.. plz correct me if iam wrong in way...
as of the configure options that iam running..since iam not specifying either of these two (-platform qws/linux-x86-g++ or -embedded x86), the qt that iam building is being configured for Linux/X11...
this may be the reason.. that is making the applications to run on X11 window, instaed of trying to detect ditectfb...
i tried with following configure options and the things are happening like this...
1. if i configure for Linux/X11 (with opengl and without specifying either -platform or - embedded x86 in configure options) - it detects OpenGL as Dsktop OpenGL, but doesnt detect DirectFB installed.. (this may be obvious since i have configured for X11.. as i felt)
2. if i include -embedded x86 and -platform qws/linux-x86-g++ (with opengl as configure option) - it tries to detect opengl es 1.x r 2.x..and configure fails, since i have installed opengl (mesa-7.7.1) nat opengl es.(still doesnt detect directfb)
3. with all these options, if i configure it as -no-opengl.. - then it will try detecting DirectFB..
so i just wanted to know, is it possible to run this QT with Directfb(with opengl enabled) support or QT by default is configured for x11 itself and cannot be configured for DirectFB support?...
i just wanted to know ur concern in this regard.. can u plz help me....iam stuck and this has become a work stopper..
-----------------regardssuma
--- On Fri, 12/11/10, Donal O'Connor <donaloconnor at gmail.com> wrote:
From: Donal O'Connor <donaloconnor at gmail.com>
Subject: Re: unable to autodetect directFB for QT...
To: "suma s" <suma_s27 at yahoo.co.in>
Date: Friday, 12 November, 2010, 10:29 PM
Hi Suma,
Sorry I'm bit busy today to look further.
Can you not run of the OpenGL examples to test it?
Donal
On Fri, Nov 12, 2010 at 12:17 PM, suma s <suma_s27 at yahoo.co.in> wrote:
hey,,,QT is built without any errors... but when i try to execute any of the examples... they all are executing in X11 window instead of executing on DirectFB-X11 window...
while configuring also, it dint show me any msg of auto detecting and enabling of DirectfB..can you plz let me know...whether i have missed any configuration parameter that enables auto detecting of DirectFB....
how should i test whether OpenGl is enabled on QT now?...plz help me...
--------------regardssuma
--- On Fri, 12/11/10, Donal O'Connor <donaloconnor at gmail.com> wrote:
From: Donal O'Connor
<donaloconnor at gmail.com>
Subject: Re: thanks for rplying
To: "suma s" <suma_s27 at yahoo.co.in>
Date: Friday, 12 November, 2010, 4:23 PM
no prob best luck with it.
Donal
On Fri, Nov 12, 2010 at 10:51 AM, suma s <suma_s27 at yahoo.co.in> wrote:
thanks for ur rply... and sorry for rplying to ur mail instead of the list...
fine i managed to configure QT for Linux/X11 platform with the following options as configure parameter....
-----------------------------------------------------------------------------------------------------
./configure -v -prefix=/usr/Trolltech/QtEmbedded-4.6-directfb -no-webkit -opengl -no-gfx-linuxfb -qt-gfx-directfb -shared -no-qt3support -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -qt-sql-sqlite -qt-gif -qt-freetype -plugin-gfx-directfb -glib -no-openssl -no-nis -no-cups -no-iconv -no-openvg -no-sm -no-gfx-multiscreen -no-phonon -no-phonon-backend
----------------------------------------------------------------------------------------------------
and QT
is building as of now with out any error...i'll let u know if i get any error henceforth....
nywys thanks for ur rply....
------------regardssuma
--- On Fri, 12/11/10, Donal O'Connor <donaloconnor at gmail.com> wrote:
From: Donal O'Connor <donaloconnor at gmail.com>
Subject: Re: without embedded x86, still getting error...
To: "suma s" <suma_s27 at yahoo.co.in>
Cc: ts-7000 at yahoogroups.com
Date: Friday, 12 November, 2010, 2:43 PM
Hey,
please dont' forget reply to list.
CAn you give us output of errror?
Maybe you should try compile the tests manually for Open GL and get it working. It's probably just it doesn't know where to locate your opengl
headers/libs.
Donal
On Fri, Nov 12, 2010 at 4:09 AM, suma s <suma_s27 at yahoo.co.in> wrote:
good morning..thanks for ur rply....
even if i remove -embedded x86 its still trying to detect opengles..
can you just let me know...
what actually are the configuration options that you want me to pass to just enable OpenGL for QT-4.7..
plz...
when i tried with this configuration option... it did detect Desktop OpenGL.. but during build it raised an error in OpenGL module of src
--------------------------------------------------------------------------------------------
./configure -v
--prefix=/usr/Trolltech/QtEmbedded-4.6-directfb -no-webkit -opengl -plugin-gfx-directfb -qt-gfx-directfb -no-gfx-linuxfb
---------------------------------------------------------------------------------------
-------------------regardssuma
--- On Thu, 11/11/10, Donal O'Connor <donaloconnor at gmail.com> wrote:
From: Donal O'Connor <donaloconnor at gmail.com>
Subject: Re: [Qt-interest] regarding qt configuration with opengl.. plz help me...
To: "suma s" <suma_s27 at yahoo.co.in>
Cc: qt-interest at trolltech.com
Date: Thursday, 11 November, 2010, 5:47 PM
Good *afternoon*!
Hmm, you have -embedded x86 in the configure option?
On Thu, Nov 11, 2010 at 12:12 PM, suma s <suma_s27 at yahoo.co.in> wrote:
good evening...
i am new to QT...so plz help me solve my problem...
i have built ( opengl-2.1 ) Mesa-7.7.1 to work with directfb-1.4...and able to succesfully run df_gears program...
now iam trying to build QT -4.7 with OpenGL support...even though opengl is working fine for me.. iam getting an error while configuring it with QT...it says OpenGL ES 1.x and 2.x disabled... All OpenGL tests failed!....
if i pass the configuration option as -opengl desktop... it says... desktop opengl is not available for QT on embedded linux....
------------------------------------------------------------------------------------------------------------
i am trying
to configure QT with the following options....
./configure -opensource -shared -no-exceptions -no-accessibility -no-egl -no-qt3support -qt-zlib -qt-libtiff -qt-libpng -qt-libmng -qt-libjpeg -qt-sql-sqlite -qt-gif -verbose -qt-freetype -depths all -plugin-gfx-directfb -prefix /usr/Trolltech/QtEmbedded-4.6-directfb -no-webkit -no-xmlpatterns -svg -no-scripttools -stl -glib -no-openssl -no-nis -no-cups -no-iconv -platform qws/linux-x86-g++ -opengl desktop -embedded x86 -no-openvg -no-sm -no-xshape -no-xsync -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-xinput -no-xkb -no-sql-sqlite2 -no-gfx-linuxfb -qt-gfx-directfb -no-gfx-multiscreen -no-phonon -no-phonon-backend
---------------------------------------------------------------------------------------------------------------
iam trying to configure QT for X11 platform on linux,
running on vmware... (not for embedded platform)
i just wanted to know...1. is it the right way that iam configuring QT for my need...2. eventhough opengl is being working fine, y it(QT) is not able to detect it?...
3. y is it asking for opengl es while configuring?....4. what does it mean by saying " Desktop OpenGL not available for Qt on Embedded linux"5. is Desktop opengl different from the opengl which i have installed now?...
5. any changes to be made to my configuration file to fit my need...
plz let me know if i am wrong in way here, in configuring QT to build for OpenGL and help me solve my problem... i have been stuck here since from many days...
plz help me...
--------------regardssuma
_______________________________________________
Qt-interest mailing list
Qt-interest at trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101117/55fcd6e6/attachment.html
More information about the Qt-interest-old
mailing list