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 540DE71968 for ; Thu, 16 Oct 2014 12:05:21 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id v10so3137991pde.20 for ; Thu, 16 Oct 2014 05:05:23 -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=4FIaJUbBGqaEp8WKMg77YinriXUS7LQ1ANWVvgVqAlQ=; b=we8Lt0Aycs+eCkbfq/+Ue0OZeht0ShhqYGr9d1DPWSuuBVQJm4rYnqhXZX2USvq32l 3QRATXBtFUfxxGtYqgXsw3JJDcKH4/JfMAw0oE0wt3oboAe7uFwTljBc6xsP5X6EBeb3 3XHbHfRAXlEAXy07wiCF8qrwUjnAMueayX9x2Q2XdSUMzh3TQhKjJkSyoyE9KvUdwGAT gjAMTANGlbD3pt+oQ8f1w9Ug9fQUDUkVmbqmOxbMwROM64+/wJHt1+ohgO22W4+eEevf YSX2UBlClgaDvOEjxivXz/vErBcxKnRKFwYBb+l+Y/PzEwxLLmhLMl7UfTA2TnaWS+cu u7qw== X-Received: by 10.70.37.79 with SMTP id w15mr1137895pdj.8.1413461123347; Thu, 16 Oct 2014 05:05:23 -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 ni1sm12140450pdb.69.2014.10.16.05.05.21 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 16 Oct 2014 05:05:22 -0700 (PDT) Message-ID: <543FB47C.8070405@gmail.com> Date: Thu, 16 Oct 2014 23:05:16 +1100 From: Jonathan Liu User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Peter References: <543E6CDB.6070802@freenet.de> <543F91D1.9070707@gmail.com> <543FB225.8020304@freenet.de> In-Reply-To: <543FB225.8020304@freenet.de> Cc: openembedded-devel@lists.openembedded.org Subject: Re: [meta-qt5] How to build Qt5 with 'designer' module? X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Oct 2014 12:05:22 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi Peter, On 16/10/2014 10:55 PM, Peter wrote: > Hi Jonathan, > > On 10/16/2014 11:37 AM, Jonathan Liu wrote: >> Hi Peter, >> >> On 15/10/2014 11:47 PM, Peter wrote: >>> Hi Jonathan, >>> >>> thanks for the reply. >>> >>> On 13 Oktober 2014 04:30, Jonathan Liu wrote: >>> >>>> Hi Peter, >>>> >>>> On 9 October 2014 18:13, Fink, Peter >>>> wrote: >>>>> I’m trying to build a Qt application with the toolchain generated by >>>>> openembedded (meta-toolchain-qt5). >>>>> >>>>> The application needs the designer-module, which I thought was >>>>> included in the qttools package, but now I get the following error: >>>>> >>>>> “Project Error: Unknown module(s) in QT: designer.” >>>>> >>>>> What do I have to include to get the designer module? >>>>> >>>>> Another thing I run into was the missing syncqt.pl script in the >>>>> toolchain as I need qftp. A link syncqt -> syncqt.pl was present. >>>>> Is it missing by accident or for a reason? >>>>> >>>>> I was using Qt. 5.3.1 02861e677ab.... >>>> You can try backporting the following patches: >>>> http://patchwork.openembedded.org/patch/81599/ >>>> http://patchwork.openembedded.org/patch/81603/ >>> >>> I tried your patches. syncqt.pl is included now, but my application >>> still did not compile. >>> I had to remove qttools-plugins, because it gave me a "cannot install >>> qttools-plugins" error while generating the toolchain - maybe this was >>> the reason why the libs were not included? >>> Now I tested hacking it into qtbase.inc and it seems to include the >>> qtdesigner libs: >>> >>> @@ -131,6 +132,7 @@ QT_CONFIG_FLAGS += " \ >>> -no-pch \ >>> -no-rpath \ >>> -pkg-config \ >>> + -make tools \ >>> ${EXTRA_OECONF} \ >>> " >>> >>> Regards, >>> Peter >>> >> Make sure you have "tools" in PACKAGECONFIG for qtbase if you are >> overriding PACKAGECONFIG as this will add "-make tools" to >> QT_CONFIG_FLAGS. >> What do you have PACKAGECONFIG set to for the qtbase recipe? >> >> Regards, >> Jonathan > > I thought these lines include the 'tools' PACKAGECONFIG: > qtbase.inc: > ... > PACKAGECONFIG[tools] = "-make tools,-nomake tools" > ... > PACKAGECONFIG_DEFAULT ?= "dbus udev evdev widgets tools libs" > > PACKAGECONFIG ?= " \ > ${PACKAGECONFIG_RELEASE} \ > ${PACKAGECONFIG_DEFAULT} \ > ${PACKAGECONFIG_OPENSSL} \ > ${PACKAGECONFIG_GL} \ > ${PACKAGECONFIG_FB} \ > ${PACKAGECONFIG_X11} \ > ${PACKAGECONFIG_FONTS} \ > ${PACKAGECONFIG_SYSTEM} \ > ${PACKAGECONFIG_MULTIMEDIA} \ > ${PACKAGECONFIG_DISTRO} \ > " > But maybe the PACKAGECONFIG is overridden somewhere and I missed it or > I got the whole PACKAGECONFIG thing wrong. Is there a possibility to > check the actually used PACKAGECONFIG or the qt5 configure command > altogether? > > Regards, > Peter Check value of PACKAGECONFIG: bitbake -e qtbase | grep '^PACKAGECONFIG=' Check value of EXTRA_OECONF: bitbake -e qtbase | grep '^EXTRA_OECONF=' You can redirect output of bitbake -e qtbase to a file and examine it to see how the variables have been set: bitbake -e qtbase > qtbase_vars.txt xdg-open qtbase_vars.txt Regards, Jonathan