Deploy Statically on Linux
-
I'm following this Document. Using Qt 5.3
http://qt-project.org/doc/qt-5/linux-deployment.htmlprocess sucessfull till this command
@
qmake -config release
@
(nothing happens)as qmake usage suggest i execute these commands
@
qmake -project <this created a .pro file
qmake -makefile <this created new Makefile
make <nothing happens terminal reply was "make: Nothing to be done for `first'."
@any help?
thanks! -
Check out your .pro file, maybe it is faulty.
-
is the goal to install static Qt libraries for future use with an application, or to deploy an application?
Qmake in project mode is intended to create a project file that in the words of the qmake help "probably will need to be edited". I've never used it. Working from a .pro generated by Qt Creator or copied from another project seems much easier.
-
@qmake -config release @
dont know how, this worked after repeating several times
finally create the excutable filethank lot, sorry for the interruptions...
Found a another Isuue
i can run this on same pc with another instance of ubuntu but cannot
run on "pcduino" (pcduino.com) which installed lubuntuMore information:
@
./filename
bash: ./filename: cannot execute binary filefile filename
filename: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.24, BuildID[sha1]=0x80c3912253978f3a1c6bd582e291a70360365004, not strippedldd filename
not a dynamic executablels -l filename
-rwxrwxr-x 1 ubuntu ubuntu 21136858 Sep 3 06:15 filenameuname -a
Linux ubuntu 3.4.29+ #6 PREEMPT Tue Mar 4 15:56:23 CST 2014 armv7l armv7l armv7l GNU/Linux
@