Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Deployment standalone application on ubuntu

    Installation and Deployment
    deployment ubuntu 12.04
    3
    6
    3473
    Loading More Posts
    • 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
      Kraken last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • K
          Kraken @SGaist last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • K
              Kraken @SGaist last edited by

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

              1 Reply Last reply Reply Quote 0
              • cybercatalyst
                cybercatalyst last edited by

                @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 Reply Quote 0
                • First post
                  Last post