Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Deploy Statically on Linux
Forum Updated to NodeBB v4.3 + New Features

Deploy Statically on Linux

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 1.6k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kasun.chamara
    wrote on last edited by
    #1

    I'm following this Document. Using Qt 5.3
    http://qt-project.org/doc/qt-5/linux-deployment.html

    process 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!

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Check out your .pro file, maybe it is faulty.

      (Z(:^

      1 Reply Last reply
      0
      • jeremy_kJ Offline
        jeremy_kJ Offline
        jeremy_k
        wrote on last edited by
        #3

        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.

        Asking a question about code? http://eel.is/iso-c++/testcase/

        1 Reply Last reply
        0
        • K Offline
          K Offline
          kasun.chamara
          wrote on last edited by
          #4

          @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

          More information:
          @
          ./filename
          bash: ./filename: cannot execute binary file

          file 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 stripped

          ldd filename
          not a dynamic executable

          ls -l filename
          -rwxrwxr-x 1 ubuntu ubuntu 21136858 Sep 3 06:15 filename

          uname -a
          Linux ubuntu 3.4.29+ #6 PREEMPT Tue Mar 4 15:56:23 CST 2014 armv7l armv7l armv7l GNU/Linux
          @

          1 Reply Last reply
          0

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved