From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout1.freenet.de (mout1.freenet.de [195.4.92.91]) by mail.openembedded.org (Postfix) with ESMTP id A275E60DD7 for ; Thu, 16 Oct 2014 11:58:54 +0000 (UTC) Received: from [195.4.92.141] (helo=mjail1.freenet.de) by mout1.freenet.de with esmtpa (ID ppf83764@freenet.de) (port 25) (Exim 4.82 #2) id 1Xejhm-0004XS-BF; Thu, 16 Oct 2014 13:58:54 +0200 Received: from localhost ([::1]:40938 helo=mjail1.freenet.de) by mjail1.freenet.de with esmtpa (ID ppf83764@freenet.de) (Exim 4.82 #2) id 1Xejhm-0007NQ-2j; Thu, 16 Oct 2014 13:58:54 +0200 Received: from mx3.freenet.de ([195.4.92.13]:36351) by mjail1.freenet.de with esmtpa (ID ppf83764@freenet.de) (Exim 4.82 #2) id 1XejeI-0004Xk-L2; Thu, 16 Oct 2014 13:55:18 +0200 Received: from p5dda2b4e.dip0.t-ipconnect.de ([93.218.43.78]:55507 helo=[192.168.178.21]) by mx3.freenet.de with esmtpsa (ID ppf83764@freenet.de) (TLSv1.2:DHE-RSA-AES128-SHA:128) (port 587) (Exim 4.82 #2) id 1XejeI-00071j-F7; Thu, 16 Oct 2014 13:55:18 +0200 Message-ID: <543FB225.8020304@freenet.de> Date: Thu, 16 Oct 2014 13:55:17 +0200 From: Peter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Jonathan Liu References: <543E6CDB.6070802@freenet.de> <543F91D1.9070707@gmail.com> In-Reply-To: <543F91D1.9070707@gmail.com> X-Originated-At: 93.218.43.78!55507 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 11:58:56 -0000 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit 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