pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake doesn't find qmake

On Fri, Feb 12, 2010 at 07:45:58PM +0100, Jochen Kunz wrote:
> I wane build a pkg for qlandkartegt. It uses cmake and this in turn
> searches qmake. But I can't cmake find qmake. What black-magic
> pkgsrc-variables need to be set in what way to make cmake happy?
> I tried several different variations, but can't get it wo work.
> (This is in the pkgsrc-2009Q2 tree.)
> Error:
> -- Check if the system is big endian - little endian
> CMake Error at /usr/pkg/share/cmake-2.6/Modules/FindQt4.cmake:1625 (MESSAGE):
>   Qt qmake not found!
> Call Stack (most recent call first):
>   3rdparty/SerialPort/CMakeLists.txt:9 (find_package)

kde4 uses the following workaround (from
        ${LN} -sf ${QTDIR}/bin/qmake ${BUILDLINK_DIR}/bin/

There's probably a cmake cache variable you could set instead, but
this should get you going :)

Home | Main Index | Thread Index | Old Index