[Interest] Deployment "errors" that aren't?

2024-03-08 Thread David M. Cotter
So I filed this bug, describing deployment “errors” reported in the log that 
are actually only warnings:

https://bugreports.qt.io/browse/QTBUG-93970

I was wondering if this could help 
 if I specified clearly that I 
do not need those libraries? ___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt6 build on Raspi

2024-03-08 Thread Thiago Macieira
On Friday, 8 March 2024 00:20:24 PST Frank Mertens wrote:
> I usually do not build on the Raspberry directly. Modern compilers take ever
> more memory. Another problem might be parallelism of the optimizing link
> stage. Checkout CMAKE_JOB_POOL_LINK and CMAKE_JOB_POOK_COMPILE.
> You probably have to limit both to not run out of memory.

That's just going to fail the build if the compilers can't get enough memory. 
Alexander says he tried to build with -j1 and that still got the system to 
freeze.

Alexander: add more RAM or build on a system with sufficient RAM.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Principal Engineer - Intel DCAI Cloud Engineering


smime.p7s
Description: S/MIME cryptographic signature
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Android: do not deploy FFmpeg media plugin

2024-03-08 Thread Alexey Edelev
Hi,

We introduced more precise plugin deployment mechanism recently, so you can
try adding something like:
qt_import_plugins(
EXCLUDE Qt6::QFFmpegMediaPlugin
)
See https://doc.qt.io/qt-6/qt-import-plugins.html for details.

Regards,
Alexey

пт, 8 мар. 2024 г. в 08:15, Alexander Dyagilev :

> Hello,
>
> I've updated my app from Qt 6.4.3 to 6.6.2 and found that APK size is
> increased on 12% (5MB). The culprit is FFmeg media plugin. It's deployed
> automatically by androiddeployqt utility.
>
> Is there a way to tell it to not deploy this plugin? We do not use it.
> ___
> Interest mailing list
> Interest@qt-project.org
> https://lists.qt-project.org/listinfo/interest
>
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest


Re: [Interest] Qt6 build on Raspi

2024-03-08 Thread Frank Mertens

On 3/8/24 08:21, Alexander Carôt via Interest wrote:

Hi all,

when compiling qt6 from the current git sources on my Raspi via

cmake --build .

it turn out that the machine freezes after having compiled about 500 sources: 
The build is stuck and I cannot ssh to the Raspi from another terminal window 
anymore, however, I can still ping it.

Originally I did a

cmake --build . --parallel 4

and then stepwise decreased the amount of threads to 1, however, it did not 
make any difference.

Can anyone help with how to resolve ? I don't care about the duration unless it 
continues to comopletely freeze.



Hi Alexander,

I usually do not build on the Raspberry directly. Modern compilers take ever 
more memory.
Another problem might be parallelism of the optimizing link stage.
Checkout CMAKE_JOB_POOL_LINK and CMAKE_JOB_POOK_COMPILE.
You probably have to limit both to not run out of memory.

Best regards,
Frank.

PS: Leave me a message if you need pointers for good yocto recipes for Qt6 and 
raspi.
___
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest