Hello. I am developing Qt software on Debian Linux and I need to create an executable file on another machine.
-
I am developing software with QtCreator on a Debian 10 machine in c ++ and OpenCV. I need to create an executable file to run on another machine. I have tried to use linuxdeployqt (https://github.com/probonopd/linuxdeployqt) however, since the beginning of the year it is not allowed to be used for GLIBC versions above 2.20, with my machine version being 2.28.
I would like to know the best way to do what you want. -
Hi,
Do you mean the error message relate to the
-unsupported-allow-new-glibc
flag ?Please use meaningful titles. That field is not to start writing your question down.
-
Hi
I tried a chroot and other tricks with glibc but to no avail.
I ended up usingldd file | grep "=> /" | awk '{print $3}' | xargs -I '{}' cp -v '{}' /destination
to copy some of them and then manually copy the rest.
But i can see if you use OpenCV manually copy is tiresome.
ps. WOW something Debian is actually to new/updated for :)
-
@Simao said in Hello. I am developing Qt software on Debian Linux and I need to create an executable file on another machine.:
@SGaist Yes, when trying to use linuxdeployqt I received an error message "The host system is too new.". I don't necessarily need to do it any other way, so I'm willing to listen to suggestions
Did you try the option I suggested ?
-
What version of linuxdeployqt are you using ?
Because the option (
-unsupported-allow-new-glibc
) you gave should pass in the other branch of the if with just a warning. -
Why do you have android stuff showing up ?