From patchwork Fri Sep 20 03:16:06 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Trevor Woerner X-Patchwork-Id: 20470 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-qa0-f71.google.com (mail-qa0-f71.google.com [209.85.216.71]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 4B6F0246E9 for ; Fri, 20 Sep 2013 03:16:42 +0000 (UTC) Received: by mail-qa0-f71.google.com with SMTP id k15sf196476qaq.10 for ; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:delivered-to:from:to:cc:subject :date:message-id:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:list-post:list-help:list-archive :list-unsubscribe; bh=/N/Y1ociah3DlNcbRn6/J0BXtMQSMoy8OdK2QxkTSdA=; b=Y2VEx2pMxSpOvTNUmeUlKGGazAEyTsd3EekEp6zFwLc8jTb2YkMsveK9gUUxDzBMvG qSyn65gibceKTnpBLBQlhacvYheAzsR5h63P2Wpa+XK1i2KhArE229pyzEOPusJxuzbp f06iEsxLyAS/2jNmCl7NmOWdVgRGNzb0BKfaIeY6en3ISybV8MBrc74h495FhsqSwrCs wCeRzqHZfr3hZXjz5VRnCtgX+aYDv8RTaCHITcfBWas+yILArgDHD4jBmwqfL7kcA0lT Xk56VI+apw0oG9VLkegat6wjNGMXU8tXi25ab7H+FLQECebgEM6DFz/WCH4VPu4edXzb Lgkw== X-Gm-Message-State: ALoCoQloDFgFgel07Tjkp2QPdYF79Jms1WiB0NCSZBiLm/q+KIQb2qNDyYCBItapn9UHZ0/2aZim X-Received: by 10.224.112.133 with SMTP id w5mr1213102qap.5.1379647001734; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) MIME-Version: 1.0 X-BeenThere: patchwork-forward@linaro.org Received: by 10.49.121.164 with SMTP id ll4ls116232qeb.17.gmail; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) X-Received: by 10.59.11.69 with SMTP id eg5mr4132325ved.17.1379647001618; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) Received: from mail-vc0-f170.google.com (mail-vc0-f170.google.com [209.85.220.170]) by mx.google.com with ESMTPS id ug9si2611377vcb.107.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 20:16:41 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) client-ip=209.85.220.170; Received: by mail-vc0-f170.google.com with SMTP id kw10so7397657vcb.29 for ; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) X-Received: by 10.220.145.132 with SMTP id d4mr3583200vcv.9.1379647001463; Thu, 19 Sep 2013 20:16:41 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patches@linaro.org Received: by 10.220.174.196 with SMTP id u4csp313490vcz; Thu, 19 Sep 2013 20:16:40 -0700 (PDT) X-Received: by 10.224.171.196 with SMTP id i4mr2685352qaz.38.1379647000702; Thu, 19 Sep 2013 20:16:40 -0700 (PDT) Received: from mail-qc0-f173.google.com (mail-qc0-f173.google.com [209.85.216.173]) by mx.google.com with ESMTPS id i8si2200223qcm.8.1969.12.31.16.00.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 20:16:40 -0700 (PDT) Received-SPF: neutral (google.com: 209.85.216.173 is neither permitted nor denied by best guess record for domain of trevor.woerner@linaro.org) client-ip=209.85.216.173; Received: by mail-qc0-f173.google.com with SMTP id c3so6052009qcv.4 for ; Thu, 19 Sep 2013 20:16:40 -0700 (PDT) X-Received: by 10.49.47.84 with SMTP id b20mr1669613qen.83.1379647000426; Thu, 19 Sep 2013 20:16:40 -0700 (PDT) Received: from suse64-i7.site (dsl-67-55-9-50.acanac.net. [67.55.9.50]) by mx.google.com with ESMTPSA id a7sm15721328qew.2.1969.12.31.16.00.00 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 19 Sep 2013 20:16:39 -0700 (PDT) From: Trevor Woerner To: openembedded-devel@lists.openembedded.org Cc: patches@linaro.org, Trevor Woerner Subject: [meta-qt5][PATCH] devshell: include PATH for qt5 native applications Date: Thu, 19 Sep 2013 23:16:06 -0400 Message-Id: <1379646966-3513-1-git-send-email-trevor.woerner@linaro.org> X-Mailer: git-send-email 1.8.4.rc3.1.gc1ebd90 X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: trevor.woerner@linaro.org X-Original-Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.220.170 is neither permitted nor denied by best guess record for domain of patch+caf_=patchwork-forward=linaro.org@linaro.org) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Precedence: list Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org List-ID: X-Google-Group-Id: 836684582541 List-Post: , List-Help: , List-Archive: List-Unsubscribe: , If you perform a "bitbake -c devshell " and then try "which qmake" in the devshell, you'll find your host's qmake is found (which is most likely to be based on qt4) rather than the one that is built as part of meta-qt5. The reason for this is that the qt5 items are installed to ${STAGING_DIR_NATIVE}/usr/bin/qt5 and not ${STAGING_DIR_NATIVE}/usr/bin. The reason for the extra "qt5" directory at the end is so that qt4-based items that are built in OE can live side-by-side with things from meta-qt5 without interfering with each other. This patch prepends ${STAGING_DIR_NATIVE}/usr/bin/qt5 to the devshell's PATH so that the qt5-based native tools which are built as part of meta-qt5 will be found before the host's. Signed-off-by: Trevor Woerner --- recipes-qt/qt5/qt5.inc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc index 80acb73..7c58b18 100644 --- a/recipes-qt/qt5/qt5.inc +++ b/recipes-qt/qt5/qt5.inc @@ -126,3 +126,5 @@ FILES_${PN}-examples-staticdev = " \ ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*.a \ ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*.a \ " + +PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"