[vlc-devel] [PATCH 0/1] Start fixing Qt contribs for linux build

Alexandre Janniaux ajanni at videolabs.io
Sun Jul 28 23:05:12 CEST 2019


Hi Sean,

Thank you for the interest. :)

I can publish the WIP branch as well as the dirty branch so you can have a look
if you want. The dirty branch works but is really ugly (with like 20 lines of
sed in pkgconfig files to make it work). The WIP branch is the dirty branch that
I cleaned up but it doesn't really work because of my changes.

My first use case was for cross compilation, but I had to make it work for the
native case in order to test without the whole recross-compile-install stuff.

Basically, the main difficulties were:
+ this patch, without it a lot of time has been lost trying to change parameters
to sensical values.
+ a patch between 5.12.0 and 5.12.1 which change -l flags in Qt into absolute
path to shared objects, which isn't standard nor supported by autotools. I don't
have enough background to be sure of what should be reported to Qt's team, or to
say it more honestly what their initial problem really was and how it should be
handled. I can share the exact commit when I retrieve it if you want to give it
a try.

Then there are some minor things about how to build and where to find the
different plugins, and supporting native wayland. The changes made by Steve to
handle the plugins and pkg-config made it a lot simpler to understand these.

About the Qt bump, you can still install Qt binaries from their website into a
directory of your choice, and use PKG_CONFIG_PATH to indicate the path to its
pkg-config files. It's still the fastest way to have a working recent Qt
installation, behind using archlinux.

Regards,
--
Alexandre Janniaux

On Sun, Jul 28, 2019 at 02:59:59PM -0400, Sean McGovern wrote:
> Hi Alexandre,
>
> This is very cool!
>
> Truthfully I had stopped looking at VLC ever since the Qt bump as I am running on Ubuntu 18.04 LTS. I had briefly thought about backporting newer .deb package but haven't given it enough attention.
>
> If I can help somehow, please let me know.
>
> -- Sean McGovern
>
>
>
> 	  Original Message  
>
>
>
> From: ajanni at videolabs.io
> Sent: July 28, 2019 8:59 AM
> To: vlc-devel at videolan.org
> Reply-to: vlc-devel at videolan.org
> Subject: [vlc-devel] [PATCH 0/1] Start fixing Qt contribs for linux build
>
>
> Hi,
>
> Currently Qt contrib only works for windows cross compilation. I made a branch
> which makes it work for Linux native builds and cross compilation builds.
>
> The branch is still quite dirty, but I'll start sending the patches that are
> clean and necessary for it to work.
>
> Regards,
>
> --
> Alexandre Janniaux
> VideoLabs
>
> Alexandre Janniaux (1):
>   contribs: qt: prevent Qt from creating libtool files
>
> contrib/src/qt/rules.mak | 2 ++
> 1 file changed, 2 insertions(+)
>
> --
> 2.22.0
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel


More information about the vlc-devel mailing list