[Interest] Deploying a linux binary?

Vlad Stelmahovsky vladstelmahovsky at gmail.com
Sat Sep 22 08:50:40 CEST 2018


HI

I also tried linuxdeployqt but its tricky, I've adopted QtCreator's 
deploy for my project:

https://github.com/vladest/slaq/blob/master/slaq.pro

check pythons scripts as well

br

On 9/21/18 9:46 PM, Jason H wrote:
> I almost have this running, but the command:
> cp -r ~/Qt/5.9.1/gcc_64/qml/QtQuick/Controls/* qml/QtQuick/Controls/
> in the script doesn't make any sense to me. AFAICT, 
> qml/QtQuick/Controls/ does not exist, so I expect this command to 
> fail, and it does:
> cp: target 'qml/QtQuick/Controls/' is not a directory. (I have updated 
> thr script to use the right Qt version)
> Also it does not actually think correctly, but it has the library?
>
> $ ldd filefixer
> ./filefixer: /home/jhihn/filefixer/lib/libQt5Core.so.5: version 
> `Qt_5.11' not found (required by ./filefixer)
> ./filefixer: /home/jhihn/filefixer/lib/libQt5Core.so.5: version `Qt_5' 
> not found (required by ./filefixer)
>     libQt5Core.so.5 => /home/jhihn/filefixer/lib/libQt5Core.so.5 
> (0x00007f3f6c148000)
> Not sure what's going wrong.
> *Sent:* Friday, September 21, 2018 at 12:34 AM
> *From:* "Anders Hafreager" <andershaf at gmail.com>
> *To:* jhihn at gmx.com
> *Cc:* interest at qt-project.org
> *Subject:* Re: [Interest] Deploying a linux binary?
> Hi,
> I remember I had some problems, but these steps described in this 
> building script works for me at least:
> https://github.com/ovilab/atomify/blob/dev/deploy/deploy_linux.sh
> Anders
> On Thu, Sep 20, 2018 at 7:28 PM Jason H <jhihn at gmx.com 
> <mailto:jhihn at gmx.com>> wrote:
>
>     I'm trying to deploy a simple QtCore only binary.
>     I put the lib in ~/lib ad set LD_LIBRARY_PATH to /home/user/lib
>
>     ran it:
>     $ ./filefixer
>     ./filefixer: /home/user/lib/libQt5Core.so.5: version `Qt_5.11' not
>     found (required by ./filefixer)
>     ./filefixer: /home/user/lib/libQt5Core.so.5: version `Qt_5' not
>     found (required by ./filefixer)
>
>     What do I have to do to get a Qt app to work on another LINUX machine?
>
>     macdeployqt always "just worked" for me,
>     linuxdeployqt I can't seem to figure out. (I think it should work
>     like macdeployqt?)
>
>
>     _______________________________________________
>     Interest mailing list
>     Interest at qt-project.org <mailto:Interest at qt-project.org>
>     http://lists.qt-project.org/mailman/listinfo/interest
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20180922/33dfc164/attachment.html>


More information about the Interest mailing list