* [meta-qt5] How to build Qt5 with 'designer' module?
@ 2014-10-09 7:13 Fink, Peter
2014-10-13 2:30 ` Jonathan Liu
0 siblings, 1 reply; 6+ messages in thread
From: Fink, Peter @ 2014-10-09 7:13 UTC (permalink / raw)
To: openembedded-devel@lists.openembedded.org
Hi,
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....
Thanks in advance and best regards,
Peter Fink
Otto Christ AG
http://www.christ-ag.com
Mitglieder des Vorstandes: Otto Christ (Vorsitzender) - Alexander Christ - Engelbert Haggenmüller - Markus Christ
Aufsichtsratsvorsitzender: Otto Christ
Hauptsitz: Memminger Str. 51 87734 Benningen
Amtsgericht Memmingen HRB 9100
Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail sind nicht gestattet.
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-qt5] How to build Qt5 with 'designer' module?
2014-10-09 7:13 [meta-qt5] How to build Qt5 with 'designer' module? Fink, Peter
@ 2014-10-13 2:30 ` Jonathan Liu
[not found] ` <F50ED7964AF8784493DDA71A307917F90E435CF2@BEXBE01.christ.local>
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Liu @ 2014-10-13 2:30 UTC (permalink / raw)
To: Peter Fink; +Cc: OpenEmbedded Devel List
Hi Peter,
On 9 October 2014 18:13, Fink, Peter <pfink@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/
Regards,
Jonathan
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-qt5] How to build Qt5 with 'designer' module?
[not found] ` <F50ED7964AF8784493DDA71A307917F90E435CF2@BEXBE01.christ.local>
@ 2014-10-15 12:47 ` Peter
2014-10-16 9:37 ` Jonathan Liu
0 siblings, 1 reply; 6+ messages in thread
From: Peter @ 2014-10-15 12:47 UTC (permalink / raw)
To: Fink, Peter, net147, openembedded-devel
Hi Jonathan,
thanks for the reply.
On 13 Oktober 2014 04:30, Jonathan Liu <net147@gmail.com> wrote:
> Hi Peter,
>
> On 9 October 2014 18:13, Fink, Peter <pfink@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-qt5] How to build Qt5 with 'designer' module?
2014-10-15 12:47 ` Peter
@ 2014-10-16 9:37 ` Jonathan Liu
2014-10-16 11:55 ` Peter
0 siblings, 1 reply; 6+ messages in thread
From: Jonathan Liu @ 2014-10-16 9:37 UTC (permalink / raw)
To: Peter, Fink, Peter, openembedded-devel
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@gmail.com> wrote:
>
>> Hi Peter,
>>
>> On 9 October 2014 18:13, Fink, Peter <pfink@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-qt5] How to build Qt5 with 'designer' module?
2014-10-16 9:37 ` Jonathan Liu
@ 2014-10-16 11:55 ` Peter
2014-10-16 12:05 ` Jonathan Liu
0 siblings, 1 reply; 6+ messages in thread
From: Peter @ 2014-10-16 11:55 UTC (permalink / raw)
To: Jonathan Liu; +Cc: openembedded-devel
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 <net147@gmail.com> wrote:
>>
>>> Hi Peter,
>>>
>>> On 9 October 2014 18:13, Fink, Peter <pfink@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
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [meta-qt5] How to build Qt5 with 'designer' module?
2014-10-16 11:55 ` Peter
@ 2014-10-16 12:05 ` Jonathan Liu
0 siblings, 0 replies; 6+ messages in thread
From: Jonathan Liu @ 2014-10-16 12:05 UTC (permalink / raw)
To: Peter; +Cc: openembedded-devel
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 <net147@gmail.com> wrote:
>>>
>>>> Hi Peter,
>>>>
>>>> On 9 October 2014 18:13, Fink, Peter <pfink@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
>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2014-10-16 12:05 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-09 7:13 [meta-qt5] How to build Qt5 with 'designer' module? Fink, Peter
2014-10-13 2:30 ` Jonathan Liu
[not found] ` <F50ED7964AF8784493DDA71A307917F90E435CF2@BEXBE01.christ.local>
2014-10-15 12:47 ` Peter
2014-10-16 9:37 ` Jonathan Liu
2014-10-16 11:55 ` Peter
2014-10-16 12:05 ` Jonathan Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.