Return-Path: Received: from mail-oa0-f51.google.com (mail-oa0-f51.google.com [209.85.219.51]) by arago-project.org (Postfix) with ESMTPS id 4D7E75208C for ; Mon, 5 Nov 2012 01:54:10 +0000 (UTC) Received: by mail-oa0-f51.google.com with SMTP id n12so4861422oag.38 for ; Sun, 04 Nov 2012 17:54:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references; bh=kiNlHICfBGW4tKnmcujB6k44N8val6LkCfIojvyM/DA=; b=bGkndvSZyCGvDfESZyxkrgq8HMp7Pn0XL6RtY5iZObzpdEQ9sn2ly+oMiEcYOVu/aM aN0KWAH8Je0bkfnLmnohkOdva1qlJOmmemzNDUjTWtuSpklY03ybveKwE+5cHEIvqVXN g1CjIHUn8p3WPLYS3yHbAMOTqgCBIQsQ4IOeaYdCKqQPtv0jDrz/jDHOewJ0imF4U+DX TXZJPvmTUYHgG4gLS6sIobMQIJXaJWa7oaGOZwsEy3jzkERTd91jcYT1pCPuGCTCy7O6 tqhKEsC6LW6RE2MHjUv8czyEwEteXR7InoNrrAww15X8Wli/GugY27BuhTzboNA8Ekro +52Q== Received: by 10.182.39.9 with SMTP id l9mr372535obk.32.1352080450040; Sun, 04 Nov 2012 17:54:10 -0800 (PST) Received: from localhost.localdomain (dragon.ti.com. [192.94.94.33]) by mx.google.com with ESMTPS id v6sm12820300oeh.13.2012.11.04.17.54.09 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 04 Nov 2012 17:54:09 -0800 (PST) From: "Franklin S. Cooper Jr" To: meta-arago@arago-project.org Date: Sun, 4 Nov 2012 19:53:14 -0600 Message-Id: <1352080417-9792-17-git-send-email-fcooper@ti.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1352080417-9792-1-git-send-email-fcooper@ti.com> References: <1352080417-9792-1-git-send-email-fcooper@ti.com> Cc: "Franklin S. Cooper Jr" Subject: [PATCH 19/42] meta-toolchain-arago-qte: Add qt.conf file X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Nov 2012 01:54:11 -0000 * Qt Creator has issues finding Qt libraries and include files when these files aren't in the location it expects these files to be in. * The qt.conf file is used to point Qt Creator to the proper location of these files. Signed-off-by: Franklin S. Cooper Jr --- .../recipes-core/meta/meta-toolchain-arago-qte.bb | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-) diff --git a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb index e349783..d8425b9 100644 --- a/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb +++ b/meta-arago-extras/recipes-core/meta/meta-toolchain-arago-qte.bb @@ -5,7 +5,7 @@ TOOLCHAIN_OUTPUTNAME = "${SDK_NAME}-${ARMPKGARCH}-${TARGET_OS}-qte-sdk-${SDK_ARC require meta-toolchain-arago.bb -PR = "r4" +PR = "r5" QT_DIR_NAME = "qtopia" @@ -28,6 +28,16 @@ toolchain_create_sdk_env_script_append() { echo 'export OE_QMAKE_QT_CONFIG=$SDK_PATH/$TARGET_SYS${datadir}/${QT_DIR_NAME}/mkspecs/qconfig.pri' >> $script echo 'export QMAKESPEC=$SDK_PATH/$TARGET_SYS${datadir}/${QT_DIR_NAME}/mkspecs/linux-g++' >> $script + #Adds qt.conf file that points qmake to properly locate Qt library and header files. + #This enables Qt Creator to work properly + + qt_conf="${SDK_OUTPUT}/${SDKPATH}/bin/qt.conf" + touch $qt_conf + echo '[Paths]' >> $qt_conf + echo 'Prefix = $(SDK_PATH)' >> $qt_conf + echo 'Libraries = $(OE_QMAKE_LIBDIR_QT)' >> $qt_conf + echo 'Headers = $(OE_QMAKE_INCDIR_QT)' >> $qt_conf + # make a symbolic link to mkspecs for compatibility with Nokia's SDK # and QTCreator (cd ${SDK_OUTPUT}/${QT_TOOLS_PREFIX}/..; ln -s ${ARAGO_TARGET_SYS}${datadir}/${QT_DIR_NAME}/mkspecs mkspecs;) -- 1.7.0.4