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
Forum Updated to NodeBB v4.3 + New Features

Installation on Ubuntu 20.04

Scheduled Pinned Locked Moved Solved General and Desktop
28 Posts 7 Posters 5.0k Views 4 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.
  • artwawA artwaw

    @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.

    SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on 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

    artwawA 1 Reply Last reply
    2
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on 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:)

      SPlattenS 1 Reply Last reply
      1
      • mrjjM mrjj

        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:)

        SPlattenS Offline
        SPlattenS Offline
        SPlatten
        wrote on last edited by
        #7

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

        Kind Regards,
        Sy

        1 Reply Last reply
        1
        • SGaistS SGaist

          @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.

          artwawA Offline
          artwawA Offline
          artwaw
          wrote on 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

          jsulmJ KroMignonK 2 Replies Last reply
          0
          • artwawA artwaw

            @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.

            jsulmJ Offline
            jsulmJ Offline
            jsulm
            Lifetime Qt Champion
            wrote on 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

            artwawA 1 Reply Last reply
            1
            • jsulmJ jsulm

              @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.

              artwawA Offline
              artwawA Offline
              artwaw
              wrote on 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
              • artwawA artwaw

                @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.

                KroMignonK Offline
                KroMignonK Offline
                KroMignon
                wrote on 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)

                artwawA 1 Reply Last reply
                2
                • SPlattenS Offline
                  SPlattenS Offline
                  SPlatten
                  wrote on 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

                  artwawA jsulmJ 2 Replies Last reply
                  0
                  • KroMignonK KroMignon

                    @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 ;)

                    artwawA Offline
                    artwawA Offline
                    artwaw
                    wrote on 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
                    • SPlattenS SPlatten

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

                      artwawA Offline
                      artwawA Offline
                      artwaw
                      wrote on 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
                      • SPlattenS SPlatten

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

                        jsulmJ Offline
                        jsulmJ Offline
                        jsulm
                        Lifetime Qt Champion
                        wrote on last edited by jsulm
                        #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

                        SPlattenS 1 Reply Last reply
                        0
                        • jsulmJ jsulm

                          @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

                          SPlattenS Offline
                          SPlattenS Offline
                          SPlatten
                          wrote on 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

                          KroMignonK JonBJ 2 Replies Last reply
                          0
                          • SPlattenS SPlatten

                            @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?

                            KroMignonK Offline
                            KroMignonK Offline
                            KroMignon
                            wrote on last edited by KroMignon
                            #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)

                            SPlattenS 1 Reply Last reply
                            1
                            • KroMignonK KroMignon

                              @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?

                              SPlattenS Offline
                              SPlattenS Offline
                              SPlatten
                              wrote on 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

                              KroMignonK 1 Reply Last reply
                              0
                              • SPlattenS SPlatten

                                @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.

                                KroMignonK Offline
                                KroMignonK Offline
                                KroMignon
                                wrote on 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)

                                SPlattenS 1 Reply Last reply
                                0
                                • KroMignonK KroMignon

                                  @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 :(

                                  SPlattenS Offline
                                  SPlattenS Offline
                                  SPlatten
                                  wrote on last edited by
                                  #20

                                  @KroMignon, apart from the GUI, its Linux.

                                  Kind Regards,
                                  Sy

                                  KroMignonK 1 Reply Last reply
                                  0
                                  • SPlattenS SPlatten

                                    @KroMignon, apart from the GUI, its Linux.

                                    KroMignonK Offline
                                    KroMignonK Offline
                                    KroMignon
                                    wrote on 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)

                                    SPlattenS 1 Reply Last reply
                                    0
                                    • KroMignonK KroMignon

                                      @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

                                      SPlattenS Offline
                                      SPlattenS Offline
                                      SPlatten
                                      wrote on last edited by
                                      #22

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

                                      Kind Regards,
                                      Sy

                                      KroMignonK mrjjM 2 Replies Last reply
                                      0
                                      • SPlattenS SPlatten

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

                                        KroMignonK Offline
                                        KroMignonK Offline
                                        KroMignon
                                        wrote on 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
                                        • SPlattenS SPlatten

                                          @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?

                                          JonBJ Online
                                          JonBJ Online
                                          JonB
                                          wrote on last edited by JonB
                                          #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

                                          • Login

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