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

Reply via email to