[CMake] Qt qmake not found

Bill Hoffman bill.hoffman at kitware.com
Fri Jan 8 22:04:14 EST 2010


David Doria wrote:
> 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
> 
That is Qt 3, and you are looking for Qt4.

-Bill


More information about the CMake mailing list