[vlc-devel] vlc-qt-check usage in modules/qt/gui/qt.cpp
Alexandre Janniaux
ajanni at videolabs.io
Thu Aug 20 11:56:29 CEST 2020
Hi,
I'm not sure you're supposed to cross-compile and copy the
resulting build on the target without make install-ing it
first, though I'm not an autotool expert.
The script in modules/vlc-qt-script is generated by the
buildsystem (libtool or autofoo) and the real executable
is in modules/.libs/vlc-qt-script. When you make install,
all those generated files will be gone.
You can use --prefix to indicate where the install will
be on the targetted system, and DESTDIR= makefile variable
during make install to indicate where to copy the files
instead of installing into your building system.
Regards,
--
Alexandre Janniaux
Videolabs
On Thu, Aug 20, 2020 at 10:09:34AM +0100, John Cox wrote:
> Hi
>
> I'm confused about the modules/vlc-qt-script. It is built by the build
> process and appears to contain a script designed to be executed as part
> of build (it certainly contains library & exec paths scraped from my
> build paths) but is run from qt.cpp as part of the qt init process
> (qt.cpp:Open:429). The upshot is that if I build natively then stuff
> works as everything is where the script expects to find it, but if I
> X-compile it fails as the paths are different & the executables on them
> are for the wrong processor. My X-compiled VLC works just fine if I
> disable the test in qt.cpp but refuses to use qt if I leave it in. I'd
> produce a patch but I'm not sure what is meant to be happening here and
> i'm prepared to believe that I've got my config wrong.
>
> Many thanks
>
> John Cox
> _______________________________________________
> 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