Message: previous - next
Month: March 2011

Re: [trinity-devel] WARNING: No Qt ui compiler (uic) found

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 15 Mar 2011 12:05:52 -0500
On 03/08/2011 09:17 PM, Darrell Anderson wrote:
> I'm trying to work my way through building the core apps, either with cmake when supported or automake. I received the following trying to build kdeaccessibility:
> ================================
> checking for Qt... libraries /usr/lib/qt-3.3.8c/lib, headers /usr/lib/qt/include using -mt
> checking for moc... /usr/lib/qt/bin/moc
> checking for uic-tqt... not found
> configure: WARNING: No Qt ui compiler (uic) found!
> Please check whether you installed Qt correctly.
> You need to have a running uic binary.
> configure tried to run  and the test didn't
> succeed. If configure shouldn't have tried this one, set
> the environment variable UIC to the right one before running
> configure.
> make: *** No targets specified and no makefile found.  Stop.
> ================================
> I ran into the same message several days ago when first trying to build arts. The list archives show no response to that query. Thus I don't know what causes this message.
> I have qt-3.3.8c, tqtinterface, arts, kdelibs, and kdebase installed.
> Darrell


   On Arch Linux, I had to manually include uic-tqt at the packaging stage since 
it was not installed by default:

   # include uic-tqt in package
   cd ${srcdir}
   mkdir -p ${pkgdir}/opt/qt/bin
   cp -Rp ${srcdir}/${_svnmod}/qtinterface/uic-tqt ${pkgdir}/opt/qt/bin

   Looks like that can be removed for cmake builds after Serghei's fix. Thanks 

   If you still have problems with autotools, then you might try manually 
including it at the packaging stage. (it is just a script IIRC)

David C. Rankin, J.D.,P.E.