[kde-edu]: kdeedu4 4.4.0 does not compile under OS X
Alexander Neundorf
neundorf at kde.org
Fri Mar 5 19:49:51 CET 2010
On Friday 05 March 2010, Alexander Neundorf wrote:
...
> QT_QUERY_QMAKE seems to return "-framework OpenGL -framework AGL". Then
> SEPARATE_ARGUMENTS() is called on this string. This turns it into a list:
> -framework;OpenGL;-framework;AGL.
> This is then appended to QT_QTOPENGL_LIB_DEPENDENCIES which is then later
> on used with TARGET_LINK_LIBRARIES(), which keeps the "-framework"
> arguments as they are, but adds a "-l" before the "OpenGL" and "AGL"
> arguments, and so you get a broken link command.
>
> I'll do something so that on Mac with frameworks this is handled correctly.
Attached is a patch which should do this.
It should be enough if you apply this to your installed
Qt4ConfigDependentSettings.cmake file.
Please let me know if that makes it work for you.
Alex
-------------- next part --------------
A non-text attachment was scrubbed...
Name: opengl-on-mac.patch
Type: text/x-diff
Size: 1291 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20100305/77c6e556/attachment.bin
More information about the kde-edu
mailing list