V
V
Vadim kyklaed2018-08-01 11:47:27
linux
Vadim kyklaed, 2018-08-01 11:47:27

How to use linuxdeployqt?

Hi, please tell me, I'm trying to build an application to run on a system without qt
using linuxdeployqt
so I add to the path
export PATH=/home/kyklaed/Qt/5.11.0/gcc_64/bin/:$PATH
if I run
1. sudo ./linuxdeployqt -continuous-x86_64.AppImage /home/kyklaed/C++/QT/build-NoteNoteQ-Desktop_Qt_5_11_0_GCC_64bit-Release/NoteNoteQ
I get the following output: it says that qmake is missing - but I added it to the path and qmake is called normally from the
linuxdeployqt 4 console (commit f166933), build 566 built on 2018-07-19 20:20:18
UTC
appDirPath: "/home/kyklaed/C++/QT/build-NoteNoteQ-Desktop_Qt_5_11_0_GCC_64bit-Release"
relativeBinPath: "NoteNoteQ"
ERROR: qmake not found on the $PATH
output of strace
stat("/tmp/.mount_linuxdoBsUz8/usr/bin/qmake ", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
getcwd("/home/kyklaed/\320\227\320\260\320\263\321\200\321\203\320\267\320\ 272\320\270", 4096) = 31
stat("/tmp/.mount_linuxdoBsUz8/usr/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/home/kyklaed/ .local/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/local/sbin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory )
stat("/usr/local/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/sbin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/sbin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/games/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/local/games/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/snap/bin/qmake-qt5", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
getcwd("/home/kyklaed/\320\227\320\260\320\263\321\200\321\203\320\267\320\272\320\270", 4096) = 31
stat("/ tmp/.mount_linuxdoBsUz8/usr/bin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/home/kyklaed/.local/bin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/local/sbin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/local/bin/qmake", 0x7ffefa857300) = -1 ENOENT ( No such file or directory)
stat("/usr/sbin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/bin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/sbin/qmake",0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/bin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/usr/games/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/ usr/local/games/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
stat("/snap/bin/qmake", 0x7ffefa857300) = -1 ENOENT (No such file or directory)
write(2, "ERROR: qmake not found on the $P"..., 36) = 36
exit_group(1) = ?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question