From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail2.eckelmann.de ([217.19.183.93]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Vai1y-0003I6-K5 for ptxdist@pengutronix.de; Mon, 28 Oct 2013 09:18:36 +0100 Received: from mail2.eckelmann.de (localhost.localdomain [127.0.0.1]) by localhost (Email Security Appliance) with SMTP id 74DF01BF8D27_26E1DD3B for ; Mon, 28 Oct 2013 08:18:27 +0000 (GMT) Received: from dag.eckelmann.group (ex-dag02.eckelmann.group [192.168.13.9]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "*.eckelmann.group", Issuer "Eckelmann Root CA" (not verified)) by mail2.eckelmann.de (Sophos Email Appliance) with ESMTPS id 6256A1BF610C_26E1DD3F for ; Mon, 28 Oct 2013 08:18:27 +0000 (GMT) From: "Schenk, Gavin" Date: Mon, 28 Oct 2013 08:18:26 +0000 Message-ID: References: <201310211239.07227.jbe@pengutronix.de> <6693247.1BWlRERiDu@dabox> <20131024084959.GC9225@pengutronix.de> , <20131024221127.GE9225@pengutronix.de> In-Reply-To: Content-Language: de-DE MIME-Version: 1.0 Subject: Re: [ptxdist] qmake broken after ptxdist version switch? Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: "ptxdist@pengutronix.de" Hi Markus, in order to build and debug QT-Projects outside ptxdist I use a small scrip= t to start QT-Creator. I named the script start_creator.sh and put it into the ptxdist-project. #!/bin/bash export PTXDIST_CROSS_CPPFLAGS=3D$(./p print PTXDIST_CROSS_CPPFLAGS) export PTXDIST_CROSS_LDFLAGS=3D$(./p print PTXDIST_CROSS_LDFLAGS) export PTXDIST_PLATFORMCONFIG=3D$(./p print PTXDIST_PLATFORMCONFIG) export PATH=3D$(./p print PTXDIST_PLATFORMDIR)/sysroot-host/lib/wrapper/:$P= ATH echo $PATH echo $PTXDIST_CROSS_CPPFLAGS echo $PTXDIST_CROSS_LDFLAGS echo $PTXDIST_PLATFORMCONFIG /opt/qtcreator-2.8.1/bin/qtcreator Things you have to concern are: - Start your creator using this script - Build a Kit using the gcc from the wrapper path "e.g.: /var/projects/xxx= /platform-xyz/sysroot-host/lib/wrapper " and the qmake from your projects s= ysroot-cross. constraints: You do not see the real gcc name when building your project caused by the w= rapper ( You=B4ll see g++ instead of e.g. arm-v5te-linux-gnueabi-g++ ) You cannot chose the creator version yet, feel free to expand my script and= send it back to me :) I hope this will help you. Regards Gavin Schenk Dipl.-Inform. (FH) Entwicklung Customized Automation Systems Eckelmann AG Berliner Str. 161, 65205 Wiesbaden Telefon +49 611 7103-258 Fax +49 611 7103-133 g.schenk@eckelmann.de www.eckelmann.de Eckelmann Group - Source of inspiration Eckelmann AG Vorstand: Dr.-Ing. Gerd Eckelmann (Vorsitzender) Dr.-Ing. Peter Cordes, Dr.-Ing. Frank-Thomas Mellert Vorsitzender des Aufsichtsrats: Hubertus G. Krossa Sitz der Gesellschaft: Berliner Str. 161, 65205 Wiesbaden, Amtsgericht Wies= baden HRB 12636 http://www.eckelmann.de -- = ptxdist mailing list ptxdist@pengutronix.de