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. Installation on Ubuntu 20.04
QtWS25 Last Chance

Installation on Ubuntu 20.04

Scheduled Pinned Locked Moved Solved General and Desktop
28 Posts 7 Posters 4.6k 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.
  • A artwaw
    11 Feb 2021, 13:32

    @SPlatten Not really Qt related. You should ask this on the forum related to the broken Debian you use.

    My guess would be that downloaded file doesn't have exec permission. Righ-click on the file, [Properties], "Allow file execution" or similar.
    Alternatively from the console: "chmod +x qt-unified-linux-x64-4.0.1-1-online.run"

    That should fix your issue but I would also allow for the risk that this system is more broken than usual.

    S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 11 Feb 2021, 13:35 last edited by
    #5

    @artwaw said in Installation on Ubuntu 20.04:

    @SPlatten Not really Qt related. You should ask this on the forum related to the broken Debian you use.

    My guess would be that downloaded file doesn't have exec permission. Righ-click on the file, [Properties], "Allow file execution" or similar.
    Alternatively from the console: "chmod +x qt-unified-linux-x64-4.0.1-1-online.run"

    That should fix your issue but I would also allow for the risk that this system is more broken than usual.

    This is unrelated to the distribution used, the file just has no execution permission which is fine in itself.

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

    A 1 Reply Last reply 11 Feb 2021, 13:44
    2
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 11 Feb 2021, 13:36 last edited by
      #6

      Hi
      Its default on ubuntu.
      https://help.ubuntu.com/community/InstallingRunPackage

      As else it would be very Windows alike to allow to run anything pr default:)

      S 1 Reply Last reply 11 Feb 2021, 13:44
      1
      • M mrjj
        11 Feb 2021, 13:36

        Hi
        Its default on ubuntu.
        https://help.ubuntu.com/community/InstallingRunPackage

        As else it would be very Windows alike to allow to run anything pr default:)

        S Offline
        S Offline
        SPlatten
        wrote on 11 Feb 2021, 13:44 last edited by
        #7

        @artwaw , @SGaist , @KroMignon , @mrjj , thank you all, sorted now...

        Kind Regards,
        Sy

        1 Reply Last reply
        1
        • S SGaist
          11 Feb 2021, 13:35

          @artwaw said in Installation on Ubuntu 20.04:

          @SPlatten Not really Qt related. You should ask this on the forum related to the broken Debian you use.

          My guess would be that downloaded file doesn't have exec permission. Righ-click on the file, [Properties], "Allow file execution" or similar.
          Alternatively from the console: "chmod +x qt-unified-linux-x64-4.0.1-1-online.run"

          That should fix your issue but I would also allow for the risk that this system is more broken than usual.

          This is unrelated to the distribution used, the file just has no execution permission which is fine in itself.

          A Offline
          A Offline
          artwaw
          wrote on 11 Feb 2021, 13:44 last edited by
          #8

          @SGaist In theory, yes. Downloaded files should always have execution bit missing. But this is ubuntu, you never know if it will behave like a proper Linux should.

          For more information please re-read.

          Kind Regards,
          Artur

          J K 2 Replies Last reply 11 Feb 2021, 13:45
          0
          • A artwaw
            11 Feb 2021, 13:44

            @SGaist In theory, yes. Downloaded files should always have execution bit missing. But this is ubuntu, you never know if it will behave like a proper Linux should.

            J Offline
            J Offline
            jsulm
            Lifetime Qt Champion
            wrote on 11 Feb 2021, 13:45 last edited by
            #9

            @artwaw said in Installation on Ubuntu 20.04:

            But this is ubuntu, you never know if it will behave like a proper Linux should.

            Not sure what you mean: it behaves exactly like it should, executable bit is not set for downloaded files.

            https://forum.qt.io/topic/113070/qt-code-of-conduct

            A 1 Reply Last reply 11 Feb 2021, 13:47
            1
            • J jsulm
              11 Feb 2021, 13:45

              @artwaw said in Installation on Ubuntu 20.04:

              But this is ubuntu, you never know if it will behave like a proper Linux should.

              Not sure what you mean: it behaves exactly like it should, executable bit is not set for downloaded files.

              A Offline
              A Offline
              artwaw
              wrote on 11 Feb 2021, 13:47 last edited by
              #10

              @jsulm I am not questioning that. In this particular case.

              For more information please re-read.

              Kind Regards,
              Artur

              1 Reply Last reply
              0
              • A artwaw
                11 Feb 2021, 13:44

                @SGaist In theory, yes. Downloaded files should always have execution bit missing. But this is ubuntu, you never know if it will behave like a proper Linux should.

                K Offline
                K Offline
                KroMignon
                wrote on 11 Feb 2021, 13:50 last edited by
                #11

                @artwaw said in Installation on Ubuntu 20.04:

                But this is ubuntu, you never know if it will behave like a proper Linux should.

                Why do you say this? It sounds like Ubuntu bashing?!?

                I use Ubuntu and/or Debian since many years, it works as it should.
                Most of the time system error occurred when I force something what the system did not allow ;)

                It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                A 1 Reply Last reply 11 Feb 2021, 13:54
                2
                • S Offline
                  S Offline
                  SPlatten
                  wrote on 11 Feb 2021, 13:54 last edited by
                  #12

                  So now having installed Qt from that link, Qt Creator itself will not launch. Any suggestions on how to fault find?

                  Kind Regards,
                  Sy

                  A J 2 Replies Last reply 11 Feb 2021, 13:55
                  0
                  • K KroMignon
                    11 Feb 2021, 13:50

                    @artwaw said in Installation on Ubuntu 20.04:

                    But this is ubuntu, you never know if it will behave like a proper Linux should.

                    Why do you say this? It sounds like Ubuntu bashing?!?

                    I use Ubuntu and/or Debian since many years, it works as it should.
                    Most of the time system error occurred when I force something what the system did not allow ;)

                    A Offline
                    A Offline
                    artwaw
                    wrote on 11 Feb 2021, 13:54 last edited by
                    #13

                    @KroMignon Bashing might be a bit of a strong word but I detest *buntu deeply. Having to work with those over the years I become very cautious as it tends to break in the least suitable moments. Maybe for purely desktop use it is ok, I admit to lack of experience in that regard. In every other aspect it is... Full of surprises, let's say. Of course, still better than most other distros. [/rant ends here]

                    For more information please re-read.

                    Kind Regards,
                    Artur

                    1 Reply Last reply
                    0
                    • S SPlatten
                      11 Feb 2021, 13:54

                      So now having installed Qt from that link, Qt Creator itself will not launch. Any suggestions on how to fault find?

                      A Offline
                      A Offline
                      artwaw
                      wrote on 11 Feb 2021, 13:55 last edited by
                      #14

                      @SPlatten what exactly happens? Have you tried to run it from the icon, menu, console? Any messages?

                      For more information please re-read.

                      Kind Regards,
                      Artur

                      1 Reply Last reply
                      0
                      • S SPlatten
                        11 Feb 2021, 13:54

                        So now having installed Qt from that link, Qt Creator itself will not launch. Any suggestions on how to fault find?

                        J Offline
                        J Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on 11 Feb 2021, 13:57 last edited by jsulm 2 Nov 2021, 13:57
                        #15

                        @SPlatten Try to start it from the terminal and see whether there are any errors.
                        Also try to start it with "-noload all" parameter to see whether it makes a difference.
                        https://doc.qt.io/qtcreator/creator-cli.html

                        https://forum.qt.io/topic/113070/qt-code-of-conduct

                        S 1 Reply Last reply 11 Feb 2021, 14:08
                        0
                        • J jsulm
                          11 Feb 2021, 13:57

                          @SPlatten Try to start it from the terminal and see whether there are any errors.
                          Also try to start it with "-noload all" parameter to see whether it makes a difference.
                          https://doc.qt.io/qtcreator/creator-cli.html

                          S Offline
                          S Offline
                          SPlatten
                          wrote on 11 Feb 2021, 14:08 last edited by
                          #16

                          @artwaw , @jsulm , dam it, Virtualbox isn't new and still seems buggy as hell, Shared Clipboard & Drag'n'Drop both set to Bidirectional, neither work.

                          I've opened a terminal and typed in:

                          sy@sy-VirtualBox:~/.local/share/applications$ ./org.qt-project.qtcreator.desktop: line 1: [Desktop: command not found
                          ./org.qt-project.qtcreator.desktop: line 3: fg: no job control
                          ./org.qt-project.qtcreator.desktop: line 4: Creator: command not found
                          ./org.qt-project.qtcreator.desktop: line 5: IDE: command not found
                          ./org.qt-project.qtcreator.desktop: line 9: IDE: command not found
                          ./org.qt-project.qtcreator.desktop: line 10: text/x-c++hdr: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: text/x-xsrc: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: application/x-designer: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.qmakeprofile: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.xml.resource: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qml: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qml: No such file or directory
                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qbs: No such file or directory
                          

                          Obviously from the list above there are prerequisites required that are not present. Is there a guide on how to get up and running? I was following an online guide by Qt, but I didn't think I had to manually go through the huge list of downloads?

                          Kind Regards,
                          Sy

                          K J 2 Replies Last reply 11 Feb 2021, 14:22
                          0
                          • S SPlatten
                            11 Feb 2021, 14:08

                            @artwaw , @jsulm , dam it, Virtualbox isn't new and still seems buggy as hell, Shared Clipboard & Drag'n'Drop both set to Bidirectional, neither work.

                            I've opened a terminal and typed in:

                            sy@sy-VirtualBox:~/.local/share/applications$ ./org.qt-project.qtcreator.desktop: line 1: [Desktop: command not found
                            ./org.qt-project.qtcreator.desktop: line 3: fg: no job control
                            ./org.qt-project.qtcreator.desktop: line 4: Creator: command not found
                            ./org.qt-project.qtcreator.desktop: line 5: IDE: command not found
                            ./org.qt-project.qtcreator.desktop: line 9: IDE: command not found
                            ./org.qt-project.qtcreator.desktop: line 10: text/x-c++hdr: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: text/x-xsrc: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: application/x-designer: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.qmakeprofile: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.xml.resource: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: text/x-qml: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qml: No such file or directory
                            ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qbs: No such file or directory
                            

                            Obviously from the list above there are prerequisites required that are not present. Is there a guide on how to get up and running? I was following an online guide by Qt, but I didn't think I had to manually go through the huge list of downloads?

                            K Offline
                            K Offline
                            KroMignon
                            wrote on 11 Feb 2021, 14:22 last edited by KroMignon 2 Nov 2021, 14:24
                            #17

                            @SPlatten said in Installation on Ubuntu 20.04:

                            Shared Clipboard & Drag'n'Drop both set to Bidirectional, neither work.

                            Did you install VirtualBox extensions?
                            I use Ubuntu 20.04 in a VirtualBox VM on Windows7 and Windows10 host and copy/past or shared clipboard just work.

                            I hope you did not install Qt as administrator on your Ubuntu VM?

                            It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                            S 1 Reply Last reply 11 Feb 2021, 14:26
                            1
                            • K KroMignon
                              11 Feb 2021, 14:22

                              @SPlatten said in Installation on Ubuntu 20.04:

                              Shared Clipboard & Drag'n'Drop both set to Bidirectional, neither work.

                              Did you install VirtualBox extensions?
                              I use Ubuntu 20.04 in a VirtualBox VM on Windows7 and Windows10 host and copy/past or shared clipboard just work.

                              I hope you did not install Qt as administrator on your Ubuntu VM?

                              S Offline
                              S Offline
                              SPlatten
                              wrote on 11 Feb 2021, 14:26 last edited by
                              #18

                              @KroMignon said in Installation on Ubuntu 20.04:

                              t as administrat

                              It could be the macOS variant of Oracle VirtualBox. The user I'm using on Ubuntu is a standard user not super user.

                              Kind Regards,
                              Sy

                              K 1 Reply Last reply 11 Feb 2021, 14:28
                              0
                              • S SPlatten
                                11 Feb 2021, 14:26

                                @KroMignon said in Installation on Ubuntu 20.04:

                                t as administrat

                                It could be the macOS variant of Oracle VirtualBox. The user I'm using on Ubuntu is a standard user not super user.

                                K Offline
                                K Offline
                                KroMignon
                                wrote on 11 Feb 2021, 14:28 last edited by
                                #19

                                @SPlatten said in Installation on Ubuntu 20.04:

                                It could be the macOS variant of Oracle VirtualBox.

                                Sorry, I never used macOS, can not really help you :(

                                It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                                S 1 Reply Last reply 11 Feb 2021, 14:32
                                0
                                • K KroMignon
                                  11 Feb 2021, 14:28

                                  @SPlatten said in Installation on Ubuntu 20.04:

                                  It could be the macOS variant of Oracle VirtualBox.

                                  Sorry, I never used macOS, can not really help you :(

                                  S Offline
                                  S Offline
                                  SPlatten
                                  wrote on 11 Feb 2021, 14:32 last edited by
                                  #20

                                  @KroMignon, apart from the GUI, its Linux.

                                  Kind Regards,
                                  Sy

                                  K 1 Reply Last reply 11 Feb 2021, 14:42
                                  0
                                  • S SPlatten
                                    11 Feb 2021, 14:32

                                    @KroMignon, apart from the GUI, its Linux.

                                    K Offline
                                    K Offline
                                    KroMignon
                                    wrote on 11 Feb 2021, 14:42 last edited by
                                    #21

                                    @SPlatten said in Installation on Ubuntu 20.04:

                                    apart from the GUI, its Linux.

                                    I have done nothing special:

                                    • download the installer from Qt (was an older one 3.1.1)
                                    • set execution bit: chmod a+x qt-unified-linux-x64-3.1.1-online.run
                                    • launch installer: ./qt-unified-linux-x64-3.1.1-online.run
                                    • install required packages: sudo apt-get install build-essential libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

                                    that's it

                                    It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                                    S 1 Reply Last reply 11 Feb 2021, 14:42
                                    0
                                    • K KroMignon
                                      11 Feb 2021, 14:42

                                      @SPlatten said in Installation on Ubuntu 20.04:

                                      apart from the GUI, its Linux.

                                      I have done nothing special:

                                      • download the installer from Qt (was an older one 3.1.1)
                                      • set execution bit: chmod a+x qt-unified-linux-x64-3.1.1-online.run
                                      • launch installer: ./qt-unified-linux-x64-3.1.1-online.run
                                      • install required packages: sudo apt-get install build-essential libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386

                                      that's it

                                      S Offline
                                      S Offline
                                      SPlatten
                                      wrote on 11 Feb 2021, 14:42 last edited by
                                      #22

                                      @KroMignon , perhaps its an issue with the version of Qt I'm trying to use?

                                      Kind Regards,
                                      Sy

                                      K M 2 Replies Last reply 11 Feb 2021, 14:49
                                      0
                                      • S SPlatten
                                        11 Feb 2021, 14:42

                                        @KroMignon , perhaps its an issue with the version of Qt I'm trying to use?

                                        K Offline
                                        K Offline
                                        KroMignon
                                        wrote on 11 Feb 2021, 14:49 last edited by
                                        #23

                                        @SPlatten said in Installation on Ubuntu 20.04:

                                        perhaps its an issue with the version of Qt I'm trying to use?

                                        Maybe, I don't know, you could try to download an older one here => https://download.qt.io/archive/online_installers/3.2/

                                        It is an old maxim of mine that when you have excluded the impossible, whatever remains, however improbable, must be the truth. (Sherlock Holmes)

                                        1 Reply Last reply
                                        1
                                        • S SPlatten
                                          11 Feb 2021, 14:08

                                          @artwaw , @jsulm , dam it, Virtualbox isn't new and still seems buggy as hell, Shared Clipboard & Drag'n'Drop both set to Bidirectional, neither work.

                                          I've opened a terminal and typed in:

                                          sy@sy-VirtualBox:~/.local/share/applications$ ./org.qt-project.qtcreator.desktop: line 1: [Desktop: command not found
                                          ./org.qt-project.qtcreator.desktop: line 3: fg: no job control
                                          ./org.qt-project.qtcreator.desktop: line 4: Creator: command not found
                                          ./org.qt-project.qtcreator.desktop: line 5: IDE: command not found
                                          ./org.qt-project.qtcreator.desktop: line 9: IDE: command not found
                                          ./org.qt-project.qtcreator.desktop: line 10: text/x-c++hdr: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: text/x-xsrc: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: application/x-designer: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.qmakeprofile: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: application/vnd.qt.xml.resource: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qml: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qml: No such file or directory
                                          ./org.qt-project.qtcreator.desktop: line 10: text/x-qt.qbs: No such file or directory
                                          

                                          Obviously from the list above there are prerequisites required that are not present. Is there a guide on how to get up and running? I was following an online guide by Qt, but I didn't think I had to manually go through the huge list of downloads?

                                          J Offline
                                          J Offline
                                          JonB
                                          wrote on 11 Feb 2021, 15:01 last edited by JonB 2 Nov 2021, 15:02
                                          #24

                                          @SPlatten said in Installation on Ubuntu 20.04:
                                          I haven't done any of this download stuff, just looking at your output.

                                          ./org.qt-project.qtcreator.desktop: line 1: [Desktop: command not found

                                          Obviously from the list above there are prerequisites required that are not present.

                                          I don't know why you think this is to do with missing prerequisites. It looks like that is being executed as a shell script file where something is wrong? Is it really supposed to be executable??

                                          1 Reply Last reply
                                          0

                                          14/28

                                          11 Feb 2021, 13:55

                                          • Login

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