Deploy Statically on Linux
I'm following this Document. Using Qt 5.3
process sucessfull till this command
qmake -config release
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'."
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 file
thank 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 lubuntu
bash: ./filename: cannot execute binary file
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 stripped
not a dynamic executable
ls -l filename
-rwxrwxr-x 1 ubuntu ubuntu 21136858 Sep 3 06:15 filename
Linux ubuntu 3.4.29+ #6 PREEMPT Tue Mar 4 15:56:23 CST 2014 armv7l armv7l armv7l GNU/Linux