From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f48.google.com (mail-pb0-f48.google.com [209.85.160.48]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id A3202E00282 for ; Tue, 17 Jul 2012 12:12:17 -0700 (PDT) Received: by pbbrq8 with SMTP id rq8so1438063pbb.35 for ; Tue, 17 Jul 2012 12:12:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=gwyRIadm1TicO9QqRxzv3UGhTPIWYvYFAAhAbC1uzRI=; b=AXIYJf7gfx/iFFRDcPAuqqOl6Eg12Hl4Vlr6PgdVPwBnuAIsgTYpvjZbTOYoivQjA1 KoLWJ55hVCykvs29LHKzU8YP/3NbIwajogyC8u16+axRAHpaWlH4ml4LDQZdPkxidw+x gknNG9DGF8Y9j9Z2V2/P1kFewMYc1MdtTau3EfhHHgTFNo5p1NIqnH4ZaV4nlMvPM6CZ 6nTaVGwKxa9UunCMju3yfn4bG9aWNL/T6WnFrTmEdaq+OnbYpDZbGyEtPMtiBdErqnD/ 5MdZg7CBbQdmCxCnDE5v4c1obWtrb/XKAgARc+31z00Vet0hQW3VX1Y0vdChGT+jjhDA L21A== Received: by 10.68.196.228 with SMTP id ip4mr1632382pbc.82.1342552337487; Tue, 17 Jul 2012 12:12:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.67.4.102 with HTTP; Tue, 17 Jul 2012 12:11:56 -0700 (PDT) In-Reply-To: References: <1909558.65z9niKLNS@helios> From: Jon Szymaniak Date: Tue, 17 Jul 2012 15:11:56 -0400 Message-ID: To: Paul Eggleton , yocto@yoctoproject.org Subject: Re: do_configure() failure with my qt4-embedded_4.8.0.bbappend X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jul 2012 19:12:17 -0000 Content-Type: text/plain; charset=ISO-8859-1 >> Since you're providing your own value of QT_CONFIG_FLAGS I think you're >> missing -embedded $QT_ARCH and possibly -qtlibinfix ${QT_LIBINFIX} (see >> meta/recipes-qt/qt4/qt4-embedded.inc). >> >> Cheers, >> Paul >> >> -- >> >> Paul Eggleton >> Intel Open Source Technology Centre > > Whoops! I most certainly did forget to put the -embedded flag back in after > pruning out that, -platform, -xplatform, -little-endian, etc. from my original > config script. That certainly explains a lot. > > Thank you Paul! > > - Jon It looks like I celebrated a tad too early. Although Qt built successfully, I'm finding that I'm a bit confused with qmake and the qt libinfix situation. >From what I gather looking at recipes-qt/qt4/* a bit, the point here is to rename libs to differentiate between the libs generated by the embedded and X11-based recipes, right? I ended up including -qtlibinfix ${QT_LIBINFIX} in my config flags, and I do indeed see that my qt4-embbeded libs are now in the form libQt*E.so. However, my builds are failing because ld complains about not being able to find QtDeclarative, QtGui, and QtCore. Looking at the Makefile generated by qmake for one of my little HelloWorld applications, I see that it seems that qmake did not accounted for the "E" suffix: LIBS = $(SUBLIBS) -L$(OE_QMAKE_LIBDIR_QT) -lQtDeclarative -lQtGui -lQtCore -lpthread Just as a little experiment, I modified the generated Makefile to add the "E" suffix, to each lib and reran bitbake. This succeeded and my Qt app was built. While I'm sure I could hack in a do_compile_prepend() to address this, I'm assuming that it's a configuration mess-up on my end. Given that I only changed the DEPENDS and QT_CONFIG_FLAGS in my .bbappend, I can't think of what I might have neglected here that might be affecting qmake or the mkspec. Any hints? Thank you, Jon