[oe] [meta-qt5] How to build Qt5 with 'designer' module?
Jonathan Liu
net147 at gmail.com
Thu Oct 16 09:37:21 UTC 2014
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 <net147 at gmail.com> wrote:
>
>> Hi Peter,
>>
>> On 9 October 2014 18:13, Fink, Peter <pfink at christ-elektronik.de> 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
More information about the Openembedded-devel
mailing list