On Tue, Feb 24, 2004 at 05:22:17PM +0000, John Levon wrote: > with --moc, --uic options etc. *That's* sane.
I suspect the problem is when a user has KDE with qt3-mt dependency, and perhaps a single application which either doesn't support threading and depends on qt3 or even qt2. Then you have both installed. If your configure program picks up moc2 or qt-config finds qt2 first, than you build LyX with inferior version of Qt, just because some old Qt2 application is lurking around your desktop. The ports infrastructure ensures that you get what you want. You ask for -mt explicitly with MODQT_MT=Yes, you get environment filled properly, you pass it to the building process. The application gets built with the most suitable version of Qt. (Similar stands for Gtk applications and Gtk-1.x and Gtk-2.x) You as a port builder control your port through the environment variables used in the build process. The end user then simply does: cd /usr/ports/print/lyx sudo make install and goes to sleep while all the dependencies (teTeX, Qt, ispell, ...) and LyX build. Or (s)he simply installs the prebuilt packages. :-) > Anyway, we don't have that, so I suppose your patch is OK. It's clearly > preferable to hardcoding "moc3-mt" as another name to try anyway. I absolutely agree. Because they may decide tomorrow that it should be called only moc-mt or moc4-mt. :-) Best regards, -- Zvezdan Petkovic <[EMAIL PROTECTED]> http://www.cs.wm.edu/~zvezdan/