[MacPorts] #34083: kdenline 0.8.2.1 won't build with qt4 v4.8 (qt4-mac-devel)
MacPorts
noreply at macports.org
Mon Apr 16 12:14:17 PDT 2012
#34083: kdenline 0.8.2.1 won't build with qt4 v4.8 (qt4-mac-devel)
--------------------------------------+-------------------------------------
Reporter: gregory.verret@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.4
Keywords: | Port: kdenlive
--------------------------------------+-------------------------------------
I don't have the log, sorry but the compile error is about gluOrtho2D.
This function is define in glu.h unfortunatly, glu.h has been removed from
<QtOpenGL> (don't know why) in version 4.8.
I easily corrected this by changing the use of gluOrtho2D (single use
in src/videoglwidget.cpp).
I replaced :
{{{
gluOrtho2D(0, width, height, 0);
}}}
by this :
{{{
glOrtho(0, width, height, 0, -1, 1);
}}}
I found out that gluOrtho2D is simply just glOrtho with near = -1 and far
= 1 here [http://www.opengl.org/sdk/docs/man/xhtml/gluOrtho2D.xml]
kdenlive should be working fine with Qt 4.7 but the problem is, qt4-mac
(4.7) is about to become 4.8.1 (and devel, Qt 5) in a few days (weeks?).
Greg
--
Ticket URL: <https://trac.macports.org/ticket/34083>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list