From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pd0-f175.google.com (mail-pd0-f175.google.com [209.85.192.175]) by mail.openembedded.org (Postfix) with ESMTP id 3804F6A5DA for ; Thu, 13 Jun 2013 23:40:48 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id 4so11727627pdd.6 for ; Thu, 13 Jun 2013 16:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=NpbZdRTZE6h33qIW9F5m3mjbo83U1H0Y6FM37KeIPo8=; b=jZ9NalwsZPM8jav/KVmnIO0IkbxgCrbtAdjGQh5WduFFmSQw8uObVoN2Q1uQn56Obq CtdHBxuiAKUP+fmqOdR7hrynOmr1eBglgQU12DWP6GAa+TGDcCey7287fRoGN3kLoxlF /Jm7j4eFpP8MN4W1odCPfsXnZuNH2odADNrG7UVlZA6/L2/OJ05SLsvA7R2s7iodzpIT NBglGJJkT7r8hZ/6ZtGnUVWTMJwwLumpeaDS1/XvDISz4j3Te194ReYsN/5u7H8t1e8h BP2T11ZFdVS8mSk6/3RBKVrb6Xcmteg5aSTMFSjJMnQFbe3MGI/pl61C/X0J2C4pDhl7 nq2A== X-Received: by 10.66.122.163 with SMTP id lt3mr4948904pab.219.1371166849074; Thu, 13 Jun 2013 16:40:49 -0700 (PDT) Received: from [192.168.0.2] (60-242-179-244.static.tpgi.com.au. [60.242.179.244]) by mx.google.com with ESMTPSA id dg3sm22984571pbc.24.2013.06.13.16.40.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 13 Jun 2013 16:40:47 -0700 (PDT) Message-ID: <51BA5759.8020806@gmail.com> Date: Fri, 14 Jun 2013 09:35:53 +1000 From: Jonathan Liu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: Saul Wold References: <1370422910-24366-1-git-send-email-net147@gmail.com> <51AF6B79.3040506@linux.intel.com> <2054363.UxqkIOrzAJ@helios> <2653566.bBSFCXsGIZ@helios> <51B7B6CE.8040301@gmail.com> <51B9E32F.4080106@linux.intel.com> In-Reply-To: <51B9E32F.4080106@linux.intel.com> Cc: Paul Eggleton , openembedded-core@lists.openembedded.org Subject: Re: [PATCH] qmake2.bbclass: export OE_QMAKE_QT_CONFIG X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Jun 2013 23:40:48 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 14/06/2013 1:20 AM, Saul Wold wrote: > On 06/11/2013 04:46 PM, Jonathan Liu wrote: >> On 6/06/2013 3:04 AM, Paul Eggleton wrote: >>> On Wednesday 05 June 2013 17:57:32 Paul Eggleton wrote: >>>> On Wednesday 05 June 2013 09:46:49 Saul Wold wrote: >>>>> On 06/05/2013 02:30 AM, Martin Jansa wrote: >>>>>> On Wed, Jun 05, 2013 at 07:01:50PM +1000, Jonathan Liu wrote: >>>>>>> qconfig.pri was not being loaded by qmake properly. This means Qt >>>>>>> qmake projects are unable to query QT_ARCH, QT_VERSION and other >>>>>>> variables defined in qconfig.pri. >>>>>>> >>>>>>> Export OE_QMAKE_QT_CONFIG, setting it to the location of >>>>>>> qconfig.pri >>>>>>> so that it can be located by qmake. >>>>>> There is such patch already: >>>>>> http://lists.openembedded.org/pipermail/openembedded-core/2013-May/07831 >>>>>> >>>>>> >>>>>> 4. >>>>>> html >>>>> Got lost in my queue, adding it for the next MUT. >>>> FWIW I am still concerned by the assertion in the commit message >>>> about it >>>> causing undesirable behaviour. I'd want that checked out and the note >>>> removed before we look at merging this. >>> (I mean undesirable behaviour on rebuild after applying this patch; I >>> should >>> mention I'm testing this at the moment.) >>> >>> Cheers, >>> Paul >>> >> Looks like this was missed in the last pull. >> > > After some further local testing with this patch there was a problem > when I built world and it built qt-mobility-embedded, I got the > following error on multi-architectures > >> ake[3]: Entering directory >> `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse' >> x86_64-poky-linux-g++ -m64 >> --sysroot=/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64 -c -pipe >> -pipe -pipe -O2 -pipe -g -feliminate-unused-debug-types -O2 -pipe -g >> -feliminate-unused-debug-types -fpermissive >> -fvisibility-inlines-hidden -g -g -g -Wall -W -Wall -W -Wall -W >> -D_REENTRANT -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED >> -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/share/qtopia/mkspecs/linux-g++ >> -I. >> -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtCore >> -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtGui >> -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL >> -I/srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia -I../../../src/global >> -I../../../src/sensors -I../../../build/Debug/cubehouse/moc -o >> ../../../build/Debug/cubehouse/view.o view.cpp >> In file included from view.cpp:41:0: >> view.h:44:26: fatal error: QtOpenGL/qgl.h: No such file or directory >> #include >> ^ >> compilation terminated. What does /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL contain? Regards, Jonathan >> make[3]: *** [../../../build/Debug/cubehouse/view.o] Error 1 >> make[3]: Leaving directory >> `/srv/ssd/sgw/builds/world/tmp/work/x86_64-poky-linux/qt-mobility-embedded/1.2.0-r8/qt-mobility-opensource-src-1.2.0/examples/sensors/cubehouse' >> make[2]: *** [sub-cubehouse-make_default] Error 2 >> make[2]: *** Waiting for unfinished jobs.... > > > So I have placed this on hold. > > SaU!