Sun, 15 Feb 2004

top

QT/Mac and arts

<<reverse < index > forward>>

in the ongoing saga of getting KDE to build against QT/Mac, I have been following Ranger Rick's instructions on how to build KDE against QT/Mac yourself. the first hurdle was arts. after some kludgery, I came up with this configure command:

LDFLAGS="-lXi -lXmu -lm -lXext -lX11 -L/usr/X11R6/lib" CFLAGS="-Os" CXXFLAGS="-Os" ./configure --prefix=/opt/kde --with-qt-dir=/opt/qt-mac --with-extra-libs=/sw/lib --with-extra-includes=/sw/include --enable-mac

I won't claim to understand everything that's going on here. The CXXFLAGS are necessary to keep the atomicity.h error, also found in other applications, from happening. The LDFLAGS are necessary so that arts can find X11(?!) I don't know why the code depends on both glib and X11 despite being based on Qt/Mac, but, hey, it compiles.

01:22:43 15 Feb 2004 > /computers/macosx > permalink > 0 comments

comments

Comment form

Name:
URL/Email:
[http://... or mailto:you@w...] (optional)
Title:
(optional)
Comments:
Save my Name and URL/Email for next time
To prevent comment spam, please retype the characters in this image
Enter the text here: