[cmake-developers] Fwd: Bug#392473: cmake: FindQT4 doesn't find qt4 if qt3 is installed

Andy Cedilnik andy.cedilnik at kitware.com
Thu Oct 12 08:42:30 EDT 2006


---------- Forwarded message ----------
From: Jiří Paleček <jpalecek at web.de>
Date: Oct 11, 2006 5:07 PM
Subject: Bug#392473: cmake: FindQT4 doesn't find qt4 if qt3 is installed
To: "submit at bugs.debian.org" <submit at bugs.debian.org>

Package: cmake
Version: 2.4.3-1
Severity: normal
Tags: patch

Hello,

I found that cmake will not find qt4 if it is installed together with qt3.
The problem seems to be line 175 in FindQt4

FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake qmake-qt4 PATHS

I think it finds qmake (which is from qt3) only to discover it has a wrong
version. This can be corrected by reversing the order of alternatives

FIND_PROGRAM(QT_QMAKE_EXECUTABLE NAMES qmake-qt4 qmake PATHS

This way, it will always find the correct version.

Regards
     Jiri Palecek

-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.6.17.3
Locale: LANG=C, LC_CTYPE=C (charmap=ISO-8859-2) (ignored: LC_ALL set to
cs_CZ)

Versions of packages cmake depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared
libraries
ii  libgcc1                      1:4.1.1-13  GCC support library
ii  libncurses5                  5.5-3       Shared libraries for terminal
hand
ii  libstdc++6                   4.1.1-13    The GNU Standard C++ Library
v3

Versions of packages cmake recommends:
ii  emacs21 [emacsen]             21.4a-6.2  The GNU Emacs editor
ii  emacsen-common                1.4.17     Common facilities for all
emacsen

-- no debconf information




-- 
-------------------------------------------
Andy Cedilnik
Kitware Inc.
http://www.kitware.com
Phone: +1 518 371 3971 x110
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20061012/4b69634a/attachment-0002.html>


More information about the cmake-developers mailing list