Unsolved include vlc in qt application
-
@Tikani I am sorry.I don't know how to create a static link.Can you tell me how to do this? Thanks! and my code is under GPL license
-
@abhay At first you need a static version of Qt environment. To get this one you need to build a Qt from source with
-static
parameter. Start from this link. Perhaps, you will have to get the sources of libvlc and recompile it as a static library, but I do not quite sure. Depends on what you will find in libvlc-dev package if you use sources from official mint repos. But you can download the freshest sources tarball from VLC site. In official repos packages are slightly outdated, usually. -
-
@SGaist only vlc libraries.Qt is fine
-
Did you increase the log level of linuxdeployqt ? That might give you hints of what is happening.
You may have to tweak the tool a bit to make it include the vlc libraries.
-
@SGaist Did you mean --verbose? I set the default value only.
-
Put it at 4
-
@SGaist Same error man :(
-
@abhay and I think range is from 0-3 only I think.Although if you give more than 3 it will take same as 3 I think
-
Setting the verbosity up won't fix the problem, however it should help you get information on what is happening. Maybe tell you why what dependency is ignored.
From a quick look at linuxdeployqt, it might be because vlc is installed in a system folder which will be avoided by the tool.
-
@SGaist can you tell me how to link vlc if I install it in a custom manner?I mean downloading the source code and building it.
-
The same as now except that you'll have to add the path to your custom VLC build in the
LIBS
variable.