[CMake] Qt qmake not found

David Doria daviddoria at gmail.com
Fri Jan 8 21:59:33 EST 2010


On Fri, Jan 8, 2010 at 9:50 PM, Tyler Roscoe <tyler at cryptio.net> wrote:
> On Fri, Jan 08, 2010 at 09:30:14PM -0500, David Doria wrote:
>> I am trying to use:
>> FIND_PACKAGE(Qt4 REQUIRED)
>>
>> However, I get:
>>  CMake Error at /usr/share/cmake/Modules/FindQt4.cmake:1625 (MESSAGE):
>>    Qt qmake not found!
>>
>> I am using Fedora 11. I did
>> yum install qt* qmake*
>>
>> but nothing changed. Any suggestions?
>
> You probably need to insure that qmake is in your PATH. If you just
> installed it maybe you need to login again so you resource your shell
> init files?
>
> tyler
>

Hmm.. I restarted my shell and the error has changed to:
Qt libraries, includes, moc, uic or/and rcc NOT found!

qmake is now on my path:
[doriad at davedesktop BarChart]$ which qmake
/usr/lib/qt-3.3/bin/qmake

Any new thoughts?

Thanks,

David


More information about the CMake mailing list