Your message dated Thu, 11 Aug 2005 13:50:57 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#322313: /usr/bin/qmake-qt4: qmake always evaluates 
conditional rules
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Aug 2005 08:22:09 +0000
>From [EMAIL PROTECTED] Wed Aug 10 01:22:08 2005
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E2lqi-0000Dl-00; Wed, 10 Aug 2005 01:22:08 -0700
Received: from ([127.0.0.1]) [212.204.39.239] 
        by master.debian.org with esmtp (Exim 3.35 1 (Debian))
        id 1E2lqh-0000YB-00; Wed, 10 Aug 2005 03:22:08 -0500
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Benjamin Mesing <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: /usr/bin/qmake-qt4: qmake always evaluates conditional rules
X-Mailer: reportbug 3.11
Date: Wed, 10 Aug 2005 10:22:06 +0200
X-Debbugs-Cc: [EMAIL PROTECTED]
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-9.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
        OUR_MTA_MSGID,X_DEBBUGS_CC autolearn=ham 
        version=2.60-bugs.debian.org_2005_01_02

Package: libqt4-dev
Version: 4.0.0-2
Severity: normal
File: /usr/bin/qmake-qt4


My project contains this:

USE_KDE_LIBS = false
contains(USE_KDE_LIBS, true)
{
        message("using USE_KDE_LIBS")
        INCLUDEPATH += /usr/include/kde
        LIBS += -lkdecore
        DEFINES += __USE_KDE_LIBS
}
running qmake on it prints "Project Message: using USE_KDE_LIBS"

Greetings Ben

-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.7
Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) (ignored: 
LC_ALL set to [EMAIL PROTECTED])

Versions of packages libqt4-dev depends on:
ii  libaudio-dev         1.7-2               The Network Audio System (NAS). (d
ii  libc6-dev            2.3.5-3             GNU C Library: Development Librari
ii  libfreetype6-dev     2.1.7-2.4           FreeType 2 font engine, developmen
ii  libjpeg62-dev        6b-10               Development files for the IJG JPEG
ii  libmng-dev           1.0.8-1             M-N-G library (Development headers
ii  libpng12-dev [libpng 1.2.8rel-1          PNG library - development
ii  libqt4-core          4.0.0-2             Qt 4 core non-GUI functionality ru
ii  libxcursor-dev       1.1.3-1             X cursor management library (devel
ii  libxft-dev           2.1.7-1             FreeType-based font drawing librar
ii  libxinerama-dev      6.8.2.dfsg.1-4      X Window System multi-head display
ii  libxrender-dev       1:0.9.0-2           X Rendering Extension client libra
ii  xlibmesa-gl-dev [lib 4.3.0.dfsg.1-12.0.1 Mesa 3D graphics library developme
ii  xlibmesa-glu-dev [li 4.3.0.dfsg.1-12.0.1 Mesa OpenGL utility library develo
ii  xlibs-dev            6.8.2.dfsg.1-4      X Window System client library dev
ii  xlibs-pic            6.8.2.dfsg.1-4      X.Org static PIC libraries transit
ii  zlib1g-dev           1:1.2.3-1           compression library - development

-- no debconf information

---------------------------------------
Received: (at 322313-done) by bugs.debian.org; 11 Aug 2005 20:51:04 +0000
>From [EMAIL PROTECTED] Thu Aug 11 13:51:04 2005
Return-path: <[EMAIL PROTECTED]>
Received: from mail22.sea5.speakeasy.net [69.17.117.24] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1E3K12-0000DC-00; Thu, 11 Aug 2005 13:51:04 -0700
Received: (qmail 25704 invoked from network); 11 Aug 2005 20:51:03 -0000
Received: from dsl254-022-219.sea1.dsl.speakeasy.net (HELO 
sirius.bignachos.com) ([216.254.22.219])
          (envelope-sender <[EMAIL PROTECTED]>)
          by mail22.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP
          for <[EMAIL PROTECTED]>; 11 Aug 2005 20:51:03 -0000
Received: from scabbers (unknown [192.168.1.10])
        by sirius.bignachos.com (Postfix) with ESMTP id 5C2A7530C0
        for <[EMAIL PROTECTED]>; Thu, 11 Aug 2005 13:51:03 -0700 (PDT)
Received: by scabbers (Postfix, from userid 1000)
        id 2C92910C011; Thu, 11 Aug 2005 13:50:57 -0700 (PDT)
Date: Thu, 11 Aug 2005 13:50:57 -0700
From: Brian Nelson <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: Bug#322313: /usr/bin/qmake-qt4: qmake always evaluates conditional 
rules
Message-ID: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[EMAIL PROTECTED]>
User-Agent: Mutt/1.5.9i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

On Wed, Aug 10, 2005 at 10:22:06AM +0200, Benjamin Mesing wrote:
> My project contains this:
> 
> USE_KDE_LIBS = false
> contains(USE_KDE_LIBS, true)
> {
>       message("using USE_KDE_LIBS")
>       INCLUDEPATH += /usr/include/kde
>       LIBS += -lkdecore
>       DEFINES += __USE_KDE_LIBS
> }
> running qmake on it prints "Project Message: using USE_KDE_LIBS"
 
Your syntax is incorrect.  The opening curly brace must be places on the
same line as the contains(), as in:

contains(USE_KDE_LIBS, true) {
        message("using USE_KDE_LIBS")
        INCLUDEPATH += /usr/include/kde
        LIBS += -lkdecore
        DEFINES += __USE_KDE_LIBS
}


[FYI, the confusion in the syntax has been reported upstream:
http://www.trolltech.com/developer/tasktracker.html?method=entry&id=80764]

-- 
Society is never going to make any progress until we all learn to
pretend to like each other.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to