Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. qt6 and Mint 18 Linux?

qt6 and Mint 18 Linux?

Scheduled Pinned Locked Moved Solved Qt 6
22 Posts 3 Posters 4.1k 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.
  • S Offline
    S Offline
    SGaist
    Lifetime Qt Champion
    wrote on 22 Feb 2021, 19:26 last edited by
    #6

    Without chmod, no. Without sudo, yes, just select the single user option when you install and you'll have Qt installed in your home folder.

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

    O 1 Reply Last reply 22 Feb 2021, 19:29
    2
    • S SGaist
      22 Feb 2021, 19:26

      Without chmod, no. Without sudo, yes, just select the single user option when you install and you'll have Qt installed in your home folder.

      O Offline
      O Offline
      ofmrew
      wrote on 22 Feb 2021, 19:29 last edited by
      #7

      @SGaist Thank you. My Unix skills have been lost over the years, so thanks for the indulgence. I will try again to see if the mirror problem has been fixed.

      O 1 Reply Last reply 22 Feb 2021, 20:19
      0
      • O ofmrew
        22 Feb 2021, 19:29

        @SGaist Thank you. My Unix skills have been lost over the years, so thanks for the indulgence. I will try again to see if the mirror problem has been fixed.

        O Offline
        O Offline
        ofmrew
        wrote on 22 Feb 2021, 20:19 last edited by
        #8

        @ofmrew Tried it again and same failure trying to download meta. Do you know it this problem is being worked on?

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 22 Feb 2021, 20:46 last edited by
          #9

          AFAIK, it has already been fixed. Did you download the installer recently ? IIRC, there was an update not too long ago.

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

          1 Reply Last reply
          0
          • O Offline
            O Offline
            ofmrew
            wrote on 23 Feb 2021, 14:54 last edited by
            #10

            The installer was downloaded yesterday when I tried. Is there an URL that I should use. I seem to recall one posted but I do not know where.

            O 1 Reply Last reply 23 Feb 2021, 15:02
            0
            • O ofmrew
              23 Feb 2021, 14:54

              The installer was downloaded yesterday when I tried. Is there an URL that I should use. I seem to recall one posted but I do not know where.

              O Offline
              O Offline
              ofmrew
              wrote on 23 Feb 2021, 15:02 last edited by
              #11

              @ofmrew To continue the last post, I tried again but the installer did not have the option to select a mirror site, so I am not sure that I have the correct installer.

              O 1 Reply Last reply 23 Feb 2021, 15:50
              0
              • O ofmrew
                23 Feb 2021, 15:02

                @ofmrew To continue the last post, I tried again but the installer did not have the option to select a mirror site, so I am not sure that I have the correct installer.

                O Offline
                O Offline
                ofmrew
                wrote on 23 Feb 2021, 15:50 last edited by
                #12

                @ofmrew I finally got to the correct installer but it failed with: qt6/6.0.1/gcc_64/bin/qmake -query is not parseable.![alt text](\home\img\Screenshot from 2021-02-23 10-36-08.png)

                O 1 Reply Last reply 23 Feb 2021, 15:52
                0
                • O ofmrew
                  23 Feb 2021, 15:50

                  @ofmrew I finally got to the correct installer but it failed with: qt6/6.0.1/gcc_64/bin/qmake -query is not parseable.![alt text](\home\img\Screenshot from 2021-02-23 10-36-08.png)

                  O Offline
                  O Offline
                  ofmrew
                  wrote on 23 Feb 2021, 15:52 last edited by
                  #13

                  @ofmrew More info
                  [271035] Warning: Cannot get any query output from executable "/home/bobwilliams/Qt6/6.0.1/gcc_64/bin/qmake"
                  [272582] Warning: Cannot get any query output from qmake.
                  [293492] Warning: Cannot get any query output from qmake.
                  [584153] Warning: Cannot get any query output from qmake.
                  qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
                  This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                  Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

                  Any suggestions?

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 23 Feb 2021, 19:23 last edited by
                    #14

                    Run your application with QT_DEBUG_PLUGINS environment variable set to 1 to see what is going on.

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

                    O 1 Reply Last reply 23 Feb 2021, 19:33
                    0
                    • S SGaist
                      23 Feb 2021, 19:23

                      Run your application with QT_DEBUG_PLUGINS environment variable set to 1 to see what is going on.

                      O Offline
                      O Offline
                      ofmrew
                      wrote on 23 Feb 2021, 19:33 last edited by
                      #15

                      @SGaist
                      I cannot run any application.
                      This is getting way beyond my Linux knowledge.

                      The statement: "Reinstalling the application may fix this problem." indicates that reinstalling might work. Should I try QT_DEBUG_PLUGINS=1? But how?

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        SGaist
                        Lifetime Qt Champion
                        wrote on 23 Feb 2021, 20:34 last edited by
                        #16

                        Where are you starting your application from ?

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

                        O 1 Reply Last reply 24 Feb 2021, 15:21
                        0
                        • S SGaist
                          23 Feb 2021, 20:34

                          Where are you starting your application from ?

                          O Offline
                          O Offline
                          ofmrew
                          wrote on 24 Feb 2021, 15:21 last edited by
                          #17

                          @SGaist All of the "applications" you refer to were started from QtCreator. At first, I was learning Qt, then seeing that there was much confusion about 2D graphics, so I started writing a book and the "applications" were examples to be used in the book. When you use the term application I assume that you are referring to a program started from an icon or the command line. I have never created that kind of program in Qt.

                          The installation process was 91% complete when I got the error: qt6/6.0.1/gcc_64/bin/qmake -query is not parseable. Also in the Terminal I got:
                          [271035] Warning: Cannot get any query output from executable "/home/bobwilliams/Qt6/6.0.1/gcc_64/bin/qmake"
                          [272582] Warning: Cannot get any query output from qmake.
                          [293492] Warning: Cannot get any query output from qmake.
                          [584153] Warning: Cannot get any query output from qmake.
                          qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
                          This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                          Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

                          Then I got the option to retry or ignore. I tried retry, but that did not work, so I tried ignore. It finished but QtCreator does not start execution.
                          I selected the option to accept the standard installation, maybe I should have tried the Custom Installation? Can I bypass "xcb" with the custom installation?

                          O 1 Reply Last reply 24 Feb 2021, 16:06
                          0
                          • O ofmrew
                            24 Feb 2021, 15:21

                            @SGaist All of the "applications" you refer to were started from QtCreator. At first, I was learning Qt, then seeing that there was much confusion about 2D graphics, so I started writing a book and the "applications" were examples to be used in the book. When you use the term application I assume that you are referring to a program started from an icon or the command line. I have never created that kind of program in Qt.

                            The installation process was 91% complete when I got the error: qt6/6.0.1/gcc_64/bin/qmake -query is not parseable. Also in the Terminal I got:
                            [271035] Warning: Cannot get any query output from executable "/home/bobwilliams/Qt6/6.0.1/gcc_64/bin/qmake"
                            [272582] Warning: Cannot get any query output from qmake.
                            [293492] Warning: Cannot get any query output from qmake.
                            [584153] Warning: Cannot get any query output from qmake.
                            qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
                            This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

                            Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.

                            Then I got the option to retry or ignore. I tried retry, but that did not work, so I tried ignore. It finished but QtCreator does not start execution.
                            I selected the option to accept the standard installation, maybe I should have tried the Custom Installation? Can I bypass "xcb" with the custom installation?

                            O Offline
                            O Offline
                            ofmrew
                            wrote on 24 Feb 2021, 16:06 last edited by
                            #18

                            @ofmrew I tried a custom installation with only Qt6 and QtCreator and got to 60% before the same error message, but the Terminal showed:
                            bobwilliams@bobwilliamsLinux ~ $ cd /home/bobwilliams/Downloads
                            bobwilliams@bobwilliamsLinux ~/Downloads $ chmod +x qt-unified-linux-x64-4.0.1-1-online.run
                            bobwilliams@bobwilliamsLinux ~/Downloads $ ./qt-unified-linux-x64-4.0.1-1-online.run
                            QApplication: invalid style override passed, ignoring it.
                            Available styles: Windows, Fusion
                            [560115] Warning: Cannot get any query output from executable "/home/bobwilliams/Qt6.0/6.0.1/gcc_64/bin/qmake"
                            [561667] Warning: Cannot get any query output from qmake.

                            The Dialog also showed: Installing component Desktop gcc 64-bit and there is no Ignore option only Cancel.

                            What now?

                            O 1 Reply Last reply 24 Feb 2021, 16:50
                            0
                            • O ofmrew
                              24 Feb 2021, 16:06

                              @ofmrew I tried a custom installation with only Qt6 and QtCreator and got to 60% before the same error message, but the Terminal showed:
                              bobwilliams@bobwilliamsLinux ~ $ cd /home/bobwilliams/Downloads
                              bobwilliams@bobwilliamsLinux ~/Downloads $ chmod +x qt-unified-linux-x64-4.0.1-1-online.run
                              bobwilliams@bobwilliamsLinux ~/Downloads $ ./qt-unified-linux-x64-4.0.1-1-online.run
                              QApplication: invalid style override passed, ignoring it.
                              Available styles: Windows, Fusion
                              [560115] Warning: Cannot get any query output from executable "/home/bobwilliams/Qt6.0/6.0.1/gcc_64/bin/qmake"
                              [561667] Warning: Cannot get any query output from qmake.

                              The Dialog also showed: Installing component Desktop gcc 64-bit and there is no Ignore option only Cancel.

                              What now?

                              O Offline
                              O Offline
                              ofmrew
                              wrote on 24 Feb 2021, 16:50 last edited by
                              #19

                              @ofmrew FYI I tried the Qt6 Maintenance Tool and got the same error. It looks the problem is not just in the Installer.

                              What is my next step? Has anyone using Linux been successful with the installation process?

                              O 1 Reply Last reply 24 Feb 2021, 18:01
                              0
                              • O ofmrew
                                24 Feb 2021, 16:50

                                @ofmrew FYI I tried the Qt6 Maintenance Tool and got the same error. It looks the problem is not just in the Installer.

                                What is my next step? Has anyone using Linux been successful with the installation process?

                                O Offline
                                O Offline
                                ofmrew
                                wrote on 24 Feb 2021, 18:01 last edited by
                                #20

                                @ofmrew More info: It would appear that my glibc is at version 2.23 and at least 2.28 is required. What is the best way to upgrade glibc to the latest version? This is a known problem. Thanks.

                                O 1 Reply Last reply 1 Mar 2021, 18:02
                                0
                                • S Offline
                                  S Offline
                                  SGaist
                                  Lifetime Qt Champion
                                  wrote on 24 Feb 2021, 19:41 last edited by
                                  #21

                                  To have the complete error picture, you should add the QT_DEBUG_PLUGINS environment variable in the Run part of the Project panel.

                                  As for updating glibc, you might want to consider updating your Mint version to an actual release.

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

                                  1 Reply Last reply
                                  0
                                  • O ofmrew
                                    24 Feb 2021, 18:01

                                    @ofmrew More info: It would appear that my glibc is at version 2.23 and at least 2.28 is required. What is the best way to upgrade glibc to the latest version? This is a known problem. Thanks.

                                    O Offline
                                    O Offline
                                    ofmrew
                                    wrote on 1 Mar 2021, 18:02 last edited by
                                    #22

                                    @ofmrew Upgraded to latest version of Mint Linux and I now have Qt6 installed. Now on to getting Qt 3D installed.

                                    1 Reply Last reply
                                    0

                                    15/22

                                    23 Feb 2021, 19:33

                                    • Login

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