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. Deployment standalone application on ubuntu
QtWS25 Last Chance

Deployment standalone application on ubuntu

Scheduled Pinned Locked Moved Installation and Deployment
deploymentubuntu 12.04
6 Posts 3 Posters 4.1k Views
  • 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
    Kraken
    wrote on 25 May 2015, 03:33 last edited by
    #1

    Hi, i'm new using qt to create GUI for application write by C++, it has complete, and now i want to create application desktop to run any machine using ubuntu
    I'm use ubuntu 12.04 32bit and Qt creator 3.3ốt.1 base on qt 5.4.1
    I'm vietnamese so my english is not good, can you help me solve problem, I sorry if this problem already exists

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 25 May 2015, 21:02 last edited by
      #2

      Hi and welcome to devnet,

      Have a look at the Linux deployment guide

      Not that if you are only targeting Ubuntu then you should also consider creating a deb package so you could use Ubuntu's package manager to install your application.

      Hope it helps

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      K 1 Reply Last reply 26 May 2015, 16:04
      0
      • S SGaist
        25 May 2015, 21:02

        Hi and welcome to devnet,

        Have a look at the Linux deployment guide

        Not that if you are only targeting Ubuntu then you should also consider creating a deb package so you could use Ubuntu's package manager to install your application.

        Hope it helps

        K Offline
        K Offline
        Kraken
        wrote on 26 May 2015, 16:04 last edited by
        #3

        @SGaist thanks for reply, i've read above link. now, i have installed through qt source or qt installer ?. i have install through qt installer previous so i remove it ?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 26 May 2015, 21:13 last edited by
          #4

          Sorry, I don't understand your last message

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          K 1 Reply Last reply 26 May 2015, 23:33
          0
          • S SGaist
            26 May 2015, 21:13

            Sorry, I don't understand your last message

            K Offline
            K Offline
            Kraken
            wrote on 26 May 2015, 23:33 last edited by
            #5

            @SGaist sorry, So I have to reinstall qt ?, throught qt source ?

            1 Reply Last reply
            0
            • C Offline
              C Offline
              cybercatalyst
              wrote on 27 May 2015, 04:41 last edited by
              #6

              @Kraken

              No. I did it that way:

              1.) Compile against the system's Qt version on the target machine. (ie. install Qt through apt-get system-wide, then use the system Qt to compile).

              2.) You can use debreate to guide you through the whole process of creating a deb package. At some point you will have to enter your apps dependencies. To find out what these are, you can use dpkg. (don't exactly remember the commands, dpkg -S and dpkg -s, you need to do some research here. Those will show you the exact version your binary depends on). When you distribute your app via deb, the correct dependencies will be installed on the target machine then.

              1 Reply Last reply
              0

              2/6

              25 May 2015, 21:02

              topic:navigator.unread, 4
              • Login

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