qt6 and Mint 18 Linux?
-
Since we don't know what gcc and other deps your distribution provides, we can only point you to https://doc-snapshots.qt.io/qt6-dev/supported-platforms.html which tells you that at least gcc9 is needed.
-
The reason I asked is that the qt6 installation failed. Many have blamed the failure on a bad mirror. I can use C11 for qmake and it is the 64bit version of Mint, so I think it should work if I can get around the mirror problem. I installed qt6 on my Windows 10 computer with no trouble.
-
Hi,
What exact failure do you have ?
-
@SGaist This a is a history I tried a few weeks ago: https://forum.qt.io/post/641169.
Now I just trying to get the download started, but it loads the unified file and stops. Is there a way with Linux to get an install without using chmod and sudo?
-
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.
-
AFAIK, it has already been fixed. Did you download the installer recently ? IIRC, there was an update not too long ago.
-
@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?
-
Run your application with QT_DEBUG_PLUGINS environment variable set to 1 to see what is going on.
-
-
Where are you starting your application from ?
-
@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? -
@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?
-
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.