Main Page | Report this Page
Computers Forum Index  »  Computer - Graphics - API (Opengl)  »  OpenGL on Qt4: how is it?...
Page 1 of 1    

OpenGL on Qt4: how is it?...

Author Message
Rui Maciel...
Posted: Sun Jul 26, 2009 5:30 pm
Guest
Does anyone have any experience doing OpenGL stuff with Qt4? If so, what was it like? Is it worth the trouble
to learn how to do it?


Thanks in advance,
Rui Maciel
 
Kevin Osthoff...
Posted: Sun Jul 26, 2009 9:39 pm
Guest
Rui Maciel <rui.maciel at (no spam) gmail.com> schrieb:
Quote:
Does anyone have any experience doing OpenGL stuff with Qt4?
If so, what was it like? Is it worth the trouble
to learn how to do it?
Very easy when you know the basics of opengl. Just read the tuts

on the Opengl-Page and this one:

http://www.digitalfanatics.org/projects/qt_tutorial/chapter14.html
Here are some of the nehe-tuts ported to qt.

Quote:
Thanks in advance,
Np Wink
Rui Maciel

Greets Kevin
 
Rui Maciel...
Posted: Mon Jul 27, 2009 3:36 am
Guest
Kevin Osthoff wrote:

Quote:
Very easy when you know the basics of opengl. Just read the tuts
on the Opengl-Page and this one:

http://www.digitalfanatics.org/projects/qt_tutorial/chapter14.html
Here are some of the nehe-tuts ported to qt.

These tutorials appear to be exactly what the doctor ordered. I hope things are as easy to do as they appear.
Thanks!

But how does Qt compare to other GUI toolkits? Is there a relevant performance penalty?


Once again thanks for the help, Kevin. Kudos!
Rui Maciel
 
Jonathan Campbell...
Posted: Thu Aug 06, 2009 5:25 pm
Guest
Rui Maciel wrote:
Quote:
Kevin Osthoff wrote:

Very easy when you know the basics of opengl. Just read the tuts
on the Opengl-Page and this one:

http://www.digitalfanatics.org/projects/qt_tutorial/chapter14.html
Here are some of the nehe-tuts ported to qt.

These tutorials appear to be exactly what the doctor ordered. I hope things are as easy to do as they appear.

Just for the record, chapter 20 of the book Jasmin Blanchette and Marc
Summerfield, "Qt GUI programming with Qt4", 2nd ed. Prentice-Hall, 2007
has an introduction. Once you have Qt4 installed (and OpenGL), the
OpenGL examples in that chapter compile and execute immediately.

Jon C.

Quote:

But how does Qt compare to other GUI toolkits? Is there a relevant performance penalty?



--
Jonathan Campbell www.jgcampbell.com BT48, UK.
 
cognacc...
Posted: Fri Aug 28, 2009 11:02 am
Guest
On Aug 28, 2:11 am, "jbwest" <jbw... at (no spam) acm.org> wrote:
Quote:
Or write everything in Java and not have to worry about compatibility
issues.
I defy anyone to pick 3 QT-based OpenSource projects and be able to compile
them.

I just found kdocker myself, and compiled it no problems.
from source, fetched from sourceforge, i admit it was a small program.
But i take a larger challenge Wink if you come with a link.
Maybe something that has troubled you before?

compiled with no problems.
use qmake for version 3.xx, qmake --version
for unix change the envirnmoent or specify paths to QT tools


Ie. the moc compiler, qmake etc.
Often QTDIR need to be specified before compiling or in the .pro file.
Specially since QT4 often is the first rate citizen while QT3
by many systems are treated legacy like.

Regards michael.
 
Rui Maciel...
Posted: Fri Aug 28, 2009 2:22 pm
Guest
jbwest wrote:

Quote:
Or write everything in Java and not have to worry about compatibility
issues.

What compatibility issues does Qt have and where exactly is Java superior in that aspect? Moreover, Java's
slowness is something that simply can't be ignored.


Quote:
I defy anyone to pick 3 QT-based OpenSource projects and be able to
compile them.

How is this any relevant? Nonetheless, the only Qt app that I bothered to install from source was the new
release of Psi, which compiles rather flawlessly.


Rui Maciel
 
cognacc...
Posted: Fri Aug 28, 2009 9:14 pm
Guest
Quote:
Specially since QT4 often is the first rate citizen while QT3
by many systems are treated legacy like.

What i mean by this very bad wording is just that
when QT3 and 4 is installed mostly QT4 will be in the environment
and the qmake binary will be the QT4 version, and so on.


mic
 
jbwest...
Posted: Mon Aug 31, 2009 4:05 am
Guest
"cognacc" <michael.cognacc at (no spam) gmail.com> wrote in message
news:e8674f22-f48b-40ce-83e6-f27ed43f5954 at (no spam) 24g2000yqm.googlegroups.com...
Quote:

Specially since QT4 often is the first rate citizen while QT3
by many systems are treated legacy like.

What i mean by this very bad wording is just that
when QT3 and 4 is installed mostly QT4 will be in the environment
and the qmake binary will be the QT4 version, and so on.


mic




Exactly so, the aforementioned "compatibility issues". The O.P. was asking
about a QT3 widget.
I dislike any interface that make big incompatible changes from one rev to
the other, on principal. Wastes my time and I have none to waste.

jbw
 
 
Page 1 of 1    
All times are GMT
The time now is Thu Dec 10, 2009 3:56 pm