[CMake] FIND_PROGRAM and qt4
frederic heem
frederic.heem at telsey.it
Wed Sep 6 06:43:10 EDT 2006
Hi,
Here is the problem, qt3 is installed by the distribution, qt4 has been
manually installed. An application which want to use qt4 will set QTDIR to
the directory where qt4 is installed.
The macro FIND_PROGRAM found the wrong qmake e.g /usr/lib/qt-3.3/bin/qmake,
the reason is that FIND_PROGRAM search first the default path given by the
variable PATH and then ${QTDIR}/bin. FIND_PROGRAM shall search first
${QTDIR}/bin and then the default path.
A kludge would be to add ${QTDIR}/bin first in the PATH. Another kludge would
be to modified FIND_PROGRAM and add the option NO_DEFAULT_PATH. IMHO, these
are not long term solution.
It's the second time I have problem with the behavior of searching directory,
the first one was with the macro FIND_PATH.
______________________________________________________________________________
--- NOTICE ---
CONFIDENTIALITY - This email and any attachments are confidential and are
intended for the addressee only. If you have received this message by
mistake, please contact us immediately and then delete the message from your
system. You must not copy, distribute, disclose or act upon the contents of
this email. Thank you.
PERSONAL DATA PROTECTION (Law by Decree 30. 06.2003 n. 196) - Personal and
corporate data submitted will be used in a correct, transparent and lawful
manner. The data collected will be processed in paper or computerized form for
the performance of contractual and lawful obligations as well as for the
effective management of business relationship. Data may be disclosed, in Italy
or abroad, for the purpose above mentioned to third parties which cooperate
with Telsey, agents, banks, factoring companies, credit recovering companies,
credit insurance companies, professional and consultants, and shipping
companies. In relation to the same purposes, data may be processed by the
following classes of executors or processors: management; administration
department; logistics and purchase department; sales department; post sales
department quality department; R&D department; IT department; legal department.
The data processor is Telsey S.p.A. The data subject may exercise all the
rights set forth in art. 7 of Law by Decree 30. 06.2003 n. 196 as reported in
in the following link http://www.telsey.it/privacy.jsp.
______________________________________________________________________________
More information about the CMake
mailing list