Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How am I supposed to install QT on ubuntu linux?
Forum Updated to NodeBB v4.3 + New Features

How am I supposed to install QT on ubuntu linux?

Scheduled Pinned Locked Moved General and Desktop
7 Posts 3 Posters 2.1k 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.
  • F Offline
    F Offline
    ffej2ffej
    wrote on 30 Jun 2013, 15:46 last edited by
    #1

    I went to the download page. I downloaded 2 different files that were supposed to be for my platform. One had a .run extension and the other had a .bin extension. Try as I might, linux had no idea what to do with either of these files.
    Are they archives? Are they supposed to be executables? Are they supposed to do something on their own when the download finishes? I'm not kidding; after spending over an hour to download, I spent ANOTHER hour trying to figure out what to do with these files.
    Before you ask, I already downloaded, installed, found I couldn't use QT on Windoze because it will keep telling me there's some problem with the compiler I have and gives no clue what to do about it.

    1 Reply Last reply
    0
    • F Offline
      F Offline
      ffej2ffej
      wrote on 30 Jun 2013, 15:50 last edited by
      #2

      Further update: I've just gone to ubuntu software center (where everything installs by itself) and have begun the download from there. Let's see how it goes....

      1 Reply Last reply
      0
      • C Offline
        C Offline
        cxxqmanic
        wrote on 30 Jun 2013, 16:32 last edited by
        #3

        I've sucessfully built 4.8.4 on Mint Linux. Are you looking to install the SDk or just the library? Either way you can check out the downloads page at http://qt-project.org/downloads. Pretty straight forward.

        1 Reply Last reply
        0
        • F Offline
          F Offline
          ffej2ffej
          wrote on 30 Jun 2013, 17:31 last edited by
          #4

          [quote author="ffej2ffej" date="1372607406"]Further update: I've just gone to ubuntu software center (where everything installs by itself) and have begun the download from there. Let's see how it goes....[/quote]

          Further update: The download from the software center downloaded, installed and worked. I even opened, compiled and ran one of the sample programs. Now to start some awesome programming!

          1 Reply Last reply
          0
          • C Offline
            C Offline
            cxxqmanic
            wrote on 30 Jun 2013, 17:37 last edited by
            #5

            I dowloaded and installed 5.0 fine. Your're problem is that you need to make the file execuable once you download it. so:
            chmod +x name_of_file.run

            then you run it like so:
            ./name_of_file.run

            Linux isn't windows. Although I understand if your are new to Linux from windows. I would suggest getting familiar with the command line before you go any further. GUI are really just convenience's for the user.

            A good place to start is: http://linuxcommand.org/lc3_learning_the_shell.php

            1 Reply Last reply
            0
            • F Offline
              F Offline
              ffej2ffej
              wrote on 2 Jul 2013, 03:59 last edited by
              #6

              [quote author="cxx::qmanic" date="1372613877"]I dowloaded and installed 5.0 fine. Your're problem is that you need to make the file execuable once you download it. so:
              chmod +x name_of_file.run

              then you run it like so:
              ./name_of_file.run

              Thank you for your info, cxx::qmanic. I considered doing that, but I assumed that If that was the proper procedure, someone on the download page would have TOLD me that. There I go assuming people have common sense.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                JKSH
                Moderators
                wrote on 2 Jul 2013, 04:42 last edited by
                #7

                [quote author="ffej2ffej" date="1372737580"]I assumed that If that was the proper procedure, someone on the download page would have TOLD me that. There I go assuming people have common sense. [/quote]That's a "basic security feature":http://ubuntuforums.org/showthread.php?t=1476469&p=9258838#post9258838 in recent versions of Ubuntu -- nothing is allowed to be executable by default (especially not something that came from an unknown source on the Internet!). The rules are different for older versions of Ubuntu (9.10 and earlier), and possibly even for other distros.

                The Software Centre (or any other package manager) and your compiler will automatically set the +x flag for you. If you write your own shell script, you'll need to set the +x flag manually.

                The download page assumes that *nix developers know about file execution permissions (which I think is a fair assumption).

                [quote]I already downloaded, installed, found I couldn’t use QT on Windoze because it will keep telling me there’s some problem with the compiler I have and gives no clue what to do about it.[/quote]What's the exact error message? It may look like gobbledygook but it usually contains useful info. Post it here and we'll help you decipher it.

                Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                1 Reply Last reply
                0

                1/7

                30 Jun 2013, 15:46

                • Login

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