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)
./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" <anders...@gmail.com>
To: jh...@gmx.com
Cc: interest@qt-project.org
Subject: Re: [Interest] Deploying a linux binary?
From: "Anders Hafreager" <anders...@gmail.com>
To: jh...@gmx.com
Cc: interest@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:
Anders
On Thu, Sep 20, 2018 at 7:28 PM Jason H <jh...@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@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest