Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Saul Wold <sgw@linux.intel.com>
To: Jonathan Liu <net147@gmail.com>
Cc: Paul Eggleton <paul.eggleton@linux.intel.com>,
	openembedded-core@lists.openembedded.org
Subject: Re: [PATCH] qmake2.bbclass: export OE_QMAKE_QT_CONFIG
Date: Thu, 13 Jun 2013 16:51:55 -0700	[thread overview]
Message-ID: <51BA5B1B.9030502@linux.intel.com> (raw)
In-Reply-To: <51BA5759.8020806@gmail.com>

On 06/13/2013 04:35 PM, Jonathan Liu wrote:
> 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 <QtOpenGL/qgl.h>
>>>                           ^
>>> compilation terminated.
> What does
> /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/QtOpenGL
> contain?
>

Non existant!
ls  /srv/ssd/sgw/builds/world/tmp/sysroots/qemux86-64/usr/include/qtopia/
phonon      QtDBus         QtHelp        QtScriptTools  QtUiTools
Qt          QtDeclarative  QtMultimedia  QtSql          QtWebKit
Qt3Support  QtDesigner     QtNetwork     QtSvg          QtXml
QtCore      QtGui          QtScript      QtTest         QtXmlPatterns



> 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!
>
>
>


  reply	other threads:[~2013-06-13 23:51 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-05  9:01 [PATCH] qmake2.bbclass: export OE_QMAKE_QT_CONFIG Jonathan Liu
2013-06-05  9:30 ` Martin Jansa
2013-06-05 16:46   ` Saul Wold
2013-06-05 16:57     ` Paul Eggleton
2013-06-05 17:01       ` Saul Wold
2013-06-06  9:54         ` Paul Eggleton
2013-06-06 19:18           ` Felipe Tonello
2013-06-06 20:06             ` Saul Wold
2013-06-06 23:17               ` Jonathan Liu
2013-06-06 23:31                 ` Martin Jansa
2013-06-10  5:09                   ` Jonathan Liu
2013-06-05 17:04       ` Paul Eggleton
2013-06-06  3:11         ` Jonathan Liu
2013-06-06 12:23           ` Otavio Salvador
2013-06-11 23:46         ` Jonathan Liu
2013-06-13 15:20           ` Saul Wold
2013-06-13 23:35             ` Jonathan Liu
2013-06-13 23:51               ` Saul Wold [this message]
2013-06-14 18:15                 ` Saul Wold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=51BA5B1B.9030502@linux.intel.com \
    --to=sgw@linux.intel.com \
    --cc=net147@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=paul.eggleton@linux.intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox