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. Using Latest Qt SDK on Ubuntu 10.04
QtWS25 Last Chance

Using Latest Qt SDK on Ubuntu 10.04

Scheduled Pinned Locked Moved Installation and Deployment
11 Posts 4 Posters 8.4k 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.
  • U Offline
    U Offline
    ukas
    wrote on last edited by
    #1

    I want to use SDK 1.2 with my Ubuntu 10.04, while it works using the Linux installer. It doesn't install Qt4.8, mobility and other libraries in Ubuntu folders so that I could compile my projects from command line. It would also be reallyn nice if it showed up in the applications menu and dpkg would know about it. Repository seems to posses 1.3.1 version of SDK with Qt 4.6.x version. Is there some external repository with latest build or can I find all of the source code for Qt SDK 1.2 somewhere?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stukdev
      wrote on last edited by
      #2

      Have you check here ? http://qt.nokia.com/downloads

      1 Reply Last reply
      0
      • U Offline
        U Offline
        ukas
        wrote on last edited by
        #3

        Yeah. I've used both online and offline installers for Linux. but it seems to install them in whatever folder you want. All of the files. So I'm just wondering does it actually install latest Qt libraries for Ubuntu as well?

        And there is not source code for SDK there, only for Qt 4.8 and I want the whole package, not everything separately.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stukdev
          wrote on last edited by
          #4

          I don't understand what's is your problem. I download and install the qt sdk 1.2. All works well. After you can select what package you want, qt4.8 mobility source code ecc. The source of qt sdk is here http://qt.gitorious.org/installer-framework

          1 Reply Last reply
          0
          • M Offline
            M Offline
            miroslav
            wrote on last edited by
            #5

            I am not sure I understand correctly, are you trying to use the Creator packages from your Linux distribution? The usual way is to download the SDK installer and run it. It will not install all Qt versions and packages, though. Use the SDK maintenance tool that comes with it to install other Qt versions et cetera.

            Mirko Boehm | mirko@kde.org | KDE e.V.
            FSFE Fellow
            Qt Certified Specialist

            1 Reply Last reply
            0
            • U Offline
              U Offline
              ukas
              wrote on last edited by
              #6

              Using the installer works fine. But does it install them for ubuntu as well so that I can use Qt libraries separately from Qt Creator if need be?

              1 Reply Last reply
              0
              • U Offline
                U Offline
                ukas
                wrote on last edited by
                #7

                It doesn't seem to install any files into Ubuntu, there are no Qt Creator app icons in Ubuntu menu, it's like it is a standalone package. You have to find the binaries in the folder where it install Qt. So the question is, can I build my projects using qmake from command line just the same as from Qt Creator?

                1 Reply Last reply
                0
                • ? This user is from outside of this forum
                  ? This user is from outside of this forum
                  Guest
                  wrote on last edited by
                  #8

                  Don't install Qt from the Ubuntu market or using "sudo apt get", download the offline installer and run it. You might have to right click on the file to actually enable running it from the GUI, otherwise you have to run it from terminal. Instructions on how to do it are on the page that launches the download.

                  The SDK might request you to install a c++ compiler first, easy to do from terminal by typing:

                  @sudo apt-get install g++@

                  What I noticed the SDK does not install shortcuts in the... whatever the start menu equivalent of Ubuntu was called, so you will have to find the binary in the directory where the SDK installed, launch it and simply pin it to the... launch bar or whatever they decided to call it.

                  Naturally you can build from terminal, but Creator's build and run buttons work just fine for me in Ubuntu.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    tobias.hunger
                    wrote on last edited by
                    #9

                    ukas: Of course you can build your application from the command line. You will need to run the correct qmake (the one of the Qt version you want to use, not necessarily the one in the PATH) and might also need to set up the environment of your shell. Check Projects mode in Qt Creator: It lists its environment there.

                    1 Reply Last reply
                    0
                    • U Offline
                      U Offline
                      ukas
                      wrote on last edited by
                      #10

                      Okay, so I need to set up my PATH. Thanks!

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        tobias.hunger
                        wrote on last edited by
                        #11

                        You might need to do more than just setting up PATH properly. But having PATH right should get you mostly there.

                        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