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

    @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
                                  • SPlattenS SPlatten

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

                                    mrjjM Offline
                                    mrjjM Offline
                                    mrjj
                                    Lifetime Qt Champion
                                    wrote on last edited by mrjj
                                    #25

                                    @SPlatten

                                    Hi
                                    I had some issues with creator and newest ubuntu
                                    and had to do
                                    sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev

                                    But the error i got was "Failed to load platform plugin "xcb".

                                    In the Qt install folder in tool/QtCreator there should be a
                                    qtcreator.sh

                                    can you try that one ?

                                    also try the actual binary in that folder and try to run .desktop as not sure it works from shell.

                                    SPlattenS 1 Reply Last reply
                                    0
                                    • mrjjM mrjj

                                      @SPlatten

                                      Hi
                                      I had some issues with creator and newest ubuntu
                                      and had to do
                                      sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev

                                      But the error i got was "Failed to load platform plugin "xcb".

                                      In the Qt install folder in tool/QtCreator there should be a
                                      qtcreator.sh

                                      can you try that one ?

                                      also try the actual binary in that folder and try to run .desktop as not sure it works from shell.

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

                                      @mrjj said in Installation on Ubuntu 20.04:

                                      sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev

                                      Just tried that and reporting exactly the same.

                                      Kind Regards,
                                      Sy

                                      mrjjM 1 Reply Last reply
                                      0
                                      • SPlattenS SPlatten

                                        @mrjj said in Installation on Ubuntu 20.04:

                                        sudo apt-get install libxcb-randr0-dev libxcb-xtest0-dev libxcb-xinerama0-dev libxcb-shape0-dev libxcb-xkb-dev

                                        Just tried that and reporting exactly the same.

                                        mrjjM Offline
                                        mrjjM Offline
                                        mrjj
                                        Lifetime Qt Champion
                                        wrote on last edited by
                                        #27

                                        @SPlatten

                                        ok when running the binary from the folder directly and also the .sh file ?

                                        SPlattenS 1 Reply Last reply
                                        2
                                        • mrjjM mrjj

                                          @SPlatten

                                          ok when running the binary from the folder directly and also the .sh file ?

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

                                          @mrjj , I'm in the folder:
                                          /home/sy/Qt/Tools/QtCreator/bin

                                          Then ran:
                                          ./qtcreator.sh &

                                          And it works, thank you!

                                          Kind Regards,
                                          Sy

                                          1 Reply Last reply
                                          2

                                          • Login

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