|
From: Daniel J S. <dan...@ie...> - 2012-08-22 14:53:17
|
On 08/22/2012 07:19 AM, Petr Mikulik wrote:
>>> $ pkg-config --variable=rcc_location QtCore
>>> /usr/src/packages/BUILD/qt-everywhere-opensource-src-4.7.1/bin/rcc
>>
>> I get (properly)
>> /opt/local/bin/rcc
>> on Mac. The file
>> /opt/local/lib/pkgconfig/QtCore.pc
>> defines
>> prefix=/opt/local
>> rcc_location=${prefix}/bin/rcc
>>
>> This means that there's a bug in your linux distribution, specifically
>> in the qt package. My guess is that QtCore.pc uses wrong settings. Can
>> you please send the contents of that file?
>
>
> less /usr/lib/pkgconfig/QtCore.pc
[snip]
> moc_location=/usr/bin/moc
> uic_location=/usr/bin/uic
> rcc_location=${prefix}/src/packages/BUILD/qt-everywhere-opensource-src-4.7.1/bin/rcc
That explains where the strange definition for QT4LOC is coming from.
Why they are defining it that way, I'm not sure. Check your package
manager for any other packages related to Qt4 and look inside to see if
there is a version of "rcc" inside those packages. Perhaps a dependency
was overlooked and it is just a matter of bad maintenance. Or perhaps
there is an update to some package.
Dan
|