trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2012

Re: [trinity-devel] qiomanager_p.moc vars not declared

From: Darrell Anderson <humanreadable@...>
Date: Wed, 25 Jan 2012 19:11:17 -0800 (PST)
> After building tqt3, to /opt/trinity and
> tqtinterface to /usr i am attempting to build arts (git). It
> fails just after reaching 100%. Any ideas?

Yes. The errors looks similar to those we have been discussing with tdelibs failing to build with tqt3. I think the primary problem is the cmake checks are stuck to looking in /usr before deciding whether to set the cmake TQT_REAL_TQT internal variable. You'll find that variable in the tqtinterface CMakeCache.txt file when building tqtinterface and should be set to 1. Look in your tqtinterface CMakeCache.txt file to verify that variable is being set. If not then you are experiencing a similar problem with tqt3.

Until Tim decides on a long-term fix, I am using a simple patch:

http://trinity-devel.pearsoncomputing.net/?0::5126

I was able to build arts before this patch, so perhaps your build failure is different.

Basically, by removing if( QT_PREFIX_DIR STREQUAL "/usr" ) I can build tdelibs with tqt3.

There was a recent patch merged with GIT that affected building arts with -DWITH_GCC_VISIBILITY=ON. I believe the patch was merged with GIT on Jan. 21. If you are using a GIT snapshot earlier than that date, try building with -DWITH_GCC_VISIBILITY=OFF before updating your local GIT repository.

You also could try building tqt3 to install to /usr and see what happens.

Another option is to build qt3 rather than tqt3. I think there remain a few kinks with tqt3. When Tim finds the time I'm sure we'll rapidly quash those bugs.

Darrell