qt-interest@trolltech.com
[Top] [All Lists]

Re: uic bus error

Subject: Re: uic bus error
From: Dimitri
Date: Tue, 07 Dec 2004 00:03:10 +0100
Hi,

The Qt/X11 Free version available from Fink has a shell script patch that basically adds (as far as I can tell) support for Darwin. The

I think the patch is just a few lines in the configure script, but I may be wrong.

Qt/Mac version doesn't know about Darwin.

Not sure what you mean here. Qt/Mac obviously "knows" about Darwin which is the basis of Mac OS X. How does Qt/X11 know more about Darwin?

I like to build from source so I can study the underlying code to understand what it does.

I suggest you also ask on a Fink mailing list, since Fink distributes a patched Qt/X11 package.

Building from the Fink sources. I first tried of course building Qt/X11 from the source obtained from Fink. The build died w/a bus error at the same point I am at ie. the first invocation of uic to create headers in designer for forms (if I understand the point of the code qmake is building at the point of failure) I decided to stick w/the Fink sources since they had already had been modified to handle Darwin. I noted the old version of GNU libtool used in the 3rdparty subdirectories used to provide the 4 required libraries for qt. I decided to continue working from the Fink source of Qt/X11 and build/install the 4 libraries myself using the new 1.5.10 GNU libtool. All 4 build and installed and tested fine (as far as I can tell).

Maybe you shouldn't be using the latest versions of these tools, but instead the versions that were current at the time Fink's Qt/X11 was released.

[...]
I indeed was surprised that uic was calling a plugins subdirectory (I assume the -L option to uic is specifying a library path). Any idea why uic needs to call plugins when building a static/threaded qt ? Does this imply I really should be building a shared/threaded version of Qt ?

I know it's possible to build static versions of Qt, that's not the problem. Maybe the tools you're usign are too recent. I suggest you also ask on a Fink mailing list.

--
Dimitri

--
List archive and information: http://lists.trolltech.com/qt-interest/

<Prev in Thread] Current Thread [Next in Thread>