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] Errors while building Qt 6 on Windows

2023-02-20 Thread Alexey Edelev
Hi Daljit*,*

Please remove C:/Strawberry from path. before running configure. Or at
least please make sure that it goes after the mingw provided by Qt.

Thanks!
Regards,
Alexey.

пн, 20 февр. 2023 г. в 14:20, Daljit Singh :

> Hi all,
>
> I’m trying to build Qt 6 on Windows 11, but I’m getting some errors when I
> run ./configure that I can’t understand the cause of.
>
> I used the following instructions:
>
>
>
>  git clone git://code.qt.io/qt/qt5.git qt
>
>  git checkout dev
>
>  perl ./init-repository --module-subset=qtbase,qtshadertools,qtdeclarative
>
>
>
> However, when I run ./configure I get these errors:
>
>
>
> CMake Error at qtbase/cmake/QtExecutableHelpers.cmake:466 (message):
>
>   Unable to build syncqt: Change Dir:
>
>   C:/Qt/6.5.0/qt6_source/qt/qtbase/src/tools/syncqt/configure_time_bins
>
>
>
>
>
>
>
>   Run Build Command(s):C:/Qt/Tools/Ninja/ninja.exe && [1/1] Linking CXX
>
>   executable C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe
>
>
>
>   FAILED: C:/Qt/6.5.0/qt6_source/qt/qtbase/bin/syncqt.exe
>
>
>
>   cmd.exe /C "cd .  && C:\Strawberry\c\bin\c++.exe -O2 -g -DNDEBUG
>
>   CMakeFiles/syncqt.dir/main.cpp.obj -o
>
>   C:\Qt\6.5.0\qt6_source\qt\qtbase\bin\syncqt.exe
>
>   -Wl,--out-implib,libsyncqt.dll.a
>
>   -Wl,--major-image-version,0,--minor-image-version,0 -lkernel32 -luser32
>
>   -lgdi32 -lwinspool -lshell32 -lole32 -loleaut32 -luuid -lcomdlg32
>
>   -ladvapi32 && cd ."
>
>
>
>
>
>   
> C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
>
>   CMakeFiles/syncqt.dir/main.cpp.obj: in function
>
>   `std::filesystem::__cxx11::operator==(std::filesystem::__cxx11::path
>
>   const&, std::filesystem::__cxx11::path const&)':
>
>
>
>
>
>   
> C:/Strawberry/c/lib/gcc/x86_64-w64-mingw32/8.3.0/include/c++/bits/fs_path.h:514:
>
>   undefined reference to
>
>   `std::filesystem::__cxx11::path::compare(std::filesystem::__cxx11::path
>
>   const&) const'
>
>
>
> The full log can seen here https://pastebin.com/8jZ4pA3E
>
>
>
> Does anyone have any clue on what might be the problem?
>
>
>
> Best,
> Daljit
> ___
> 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] how to link my own DBus lib build to Qt 6.4?

2022-11-17 Thread Alexey Edelev
Hi,

You may try to override the system library using the LD_PRELOAD environment
variable. So ld will prefer to resolve the missing symbols from your
library but not the system one:
https://man7.org/linux/man-pages/man8/ld.so.8.html

Also IRRC, setting LD_LIBRARY_PATH to the directory containing the custom
library, may force using your library instead of the system one.

Regards,
Alexey.

чт, 17 нояб. 2022 г. в 20:19, Dennis Luehring :

> it works so far with m own Glib build but the dbus lib is always the
> systems one
>
> my steps
>
> build dbus
>
>cd ~/qt6_dev
>git clone https://github.com/freedesktop/dbus.git
>cd dbus
>git checkout dbus-1.14.4
>cd ..
>mkdir dbus-build
>cd dbus-build
>cmake ../dbus -DCMAKE_INSTALL_PREFIX=~/qt6_dev/dbus-install
>cmake --build . --parallel 4
>cmake --install .
>
> creates a dbus-1.pc pkgconfig in ~/qt6_dev/dbus-install/lib/pkgconfig
> and a libdbus-1.so, libdbus-1.so.3 etc in ~/qt6_dev/dbus-install/lib
>
> build qt
>
>cd ~/qt6_dev
>git clone git://code.qt.io/qt/qt5.git qt6
>cd qt6
>git checkout v6.4.0
>perl init-repository
>cd ..
>mkdir qt6-build
>cd qt6-build
>PKG_CONFIG_PATH=~/qt6_dev/dbus-install/lib/pkgconfig
> ../qt6/qtbase/configure -debug -opensource -nomake examples -nomake
> tests -prefix ~/qt6_dev/qt6-install
>cmake --build . --parallel 4
>cmake --install .
>
> but libQt6DBus.so.6 still referes to the systems libdbus-1.so.3
>
> linux@linux-virtual-machine:~/qt6_dev/qt6-build$ ldd
> /home/linux/qt6_dev/qt6-build/lib/libQt6DBus.so.6
>linux-vdso.so.1 (0x7ffc965eb000)
>libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3
> (0x7f43375bf000)
>libQt6Core.so.6 => /home/linux/qt6_dev/qt6-build/lib/libQt6Core.so.6
> (0x7f4336f1b000)
>libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6
> (0x7f4336cf1000)
>libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f4336ac9000)
>...
>
> works out of the box with Glib (only the PKG_CONFIG_PATH is different)
> it seems that my dbus pkgconfig seems to be ignored
>
> and raising the log-level doesn't give more information
> ___
> 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] Qmake to CMake project conversion android build

2022-11-16 Thread Alexey Edelev
Hi,

Do you use Qt Creator to build, deploy and run the application? If yes I
would guess you need to switch the "Run" target on in bottom part of the
left panel.

Regards,
Alexey.

ср, 16 нояб. 2022 г. в 12:10, Michael Heiser | SYSTRONIK Elektronik und
Systemtechnik GmbH :

> Hello experts,
> currently trying to move from qmake to cmake. Starting point in my
> Framework was using qmake2cmake tool. This generated a bunch of heavy cmake
> files, stripped them down and got it working that my integrated internal
> libs are building on windows.
> I have managed to get building and running working under MSVC. Now I stuck
> with Android, my libraries and UI components in applets are building, also
> the final shared lib for EuroSoft_live is building but build process stops
> with following error:
>  Fehler: Cannot find application binary in build dir
> D:/Projects/QtEuroSoftProjectQt6/build/Android_Qt_5_15_10_Clang_Multi_Abi-Debug/android-build//libs/armeabi-v7a/libEuroSoftProject_armeabi-
> v7a.so.
>
> Project structure:
> EuroSoftProject
> CMakeLists.txt
> - applications
> CMakeLists.txt
> - EuroSoft_live
> CMakeLists.txt
> - applets
> - libraries
> ..
>
> Why does the compiler search for libEuroSoftProject... and not for
> libEuroSoft_live...? When i remove the project tag from root CMakeLists.txt
> it searches for libProject... The final libEuroSoft_live is already
> exisiting in build-dir/android-build/libs/armeabi-v7a/...
>
> Do you have any advice for me?
>
> Regards Michael
>
>
> *SYSTRONIK Elektronik u. Systemtechnik GmbH*, Gewerbestr. 57, D-88636
> Illmensee
> Registergericht Ulm - HRB 710423, Sitz der Gesellschaft Illmensee,
> USt-IdNr. DE 811 264 405
> Geschäftsführer: Dipl.-VW Elmar Fritz, Ing. Ramon J. van Tuijl, Dipl.-Ing.
> (FH) Richard Skoberla
> Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
> Informationen. Wenn Sie nicht der richtige Adressat sind oder die E-Mail
> irrtümlich erhalten haben, informieren
> Sie bitte sofort den Absender und löschen Sie die E-Mail. Das unerlaubte
> Kopieren sowie die unbefugte Weitergabe der E-Mail ist nicht gestattet.
>
> This e-mail may contain confidential and / or privileged information. If
> you are not the intended recipient or the e-mail may contain error, inform
> you immediately ask the sender and delete the e-mail. Unauthorized copying,
> unauthorized disclosure of e-mail is strictly forbidden.
> ___
> 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] License for Qt6 QtMultimedia module (LGPL?)

2022-02-15 Thread Alexey Edelev
Shadertools module provides an executable that is used by multimedia at
build time only. So there is no runtime dependencies between qtmultimedia
and shadertools, so that's the key, I guess.

Regards,
Alexey.

On Tue, Feb 15, 2022, 19:00 Adam Light  wrote:

> At https://doc.qt.io/qt-6/qtmultimedia-index.html, the Qt Multimedia
> module is listed as being available under these licenses:
> * commercial
> * LGPL, v3
> * GPL, v2
>
> In a git checkout of the 6.2 branch, .gitmodules contains this:
> [submodule "qtmultimedia"]
> depends = qtbase qtshadertools
> recommends = qtdeclarative
> path = qtmultimedia
> url = ../qtmultimedia.git
> branch = 6.2
> status = addon
>
> According to https://doc.qt.io/qt-6/qtshadertools-index.html, the Qt
> Shader Tools module is available under these licenses:
> * commercial
> * GPL, v3
>
> If qtshadertools is required in order to build qtmultimedia, and
> qtshadertools is not licensed under LGPL, how can qtmultimedia be licensed
> under LGPL?
>
> Is it possible to build qtmultimedia in such a way as to not use/require
> qtshadertools? Our application uses qtmultimedia but I don't think it uses
> anything that involves qtshadertools. Our application currently uses Qt 5
> under the LGPL license and unless I'm misunderstanding it seems that we
> would not be able to use Qt 6 under the LGPL license unless we get rid of
> qtmultimedia.
>
> Thanks for any clarification
>
> Adam
>
> ___
> 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