Switching to Linux?
-
@Puckvox
Will the binaries of something under Windows work under Linux?? No.If you downloaded the sources of Qt and compiled it yourself, you may be able to copy those sources files across to Linux and rebuild there to save a download. But would seem you might as well re-fetch the sources under Linux anyway.
-
A lot of Linux distros come with Qt. Especially the ones with KDE because the entire KDE Desktop Environment is made in Qt.
However, it is best you download a separate Qt (source code) into some private subfolder in your home folder and you work on that version until you finish the project without updating the Qt framework. This way when the OS team decide to update their Qt, you are not affected. You can update your private Qt when you're ready.
Plus, the kits that you have in your Qt Creator stay the same because they get messed up when you use the Qt from your OS and it got updated.
-
@Puckvox said in Switching to Linux?:
or do I need to redownload a linux version of QT?
Yes. Use the Qt Online Installer to install Qt versions you need.
You will also need to install some needed packages, see https://doc.qt.io/qt-5/linux.html for details.
I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself. -
@jsulm said in Switching to Linux?:
I don't know why others are writing about building Qt - I doubt you need to build Qt by yourself.
I should have mentioned that the OP might get a pre-built version of Qt with the OS distro.
However, the user talked about a specific version of Qt (6.0.2), and also Mint, which I believe tends not to offer latest version of Qt with its releases.
The user also talked about downloading a version of Qt. I have never used Qt Online Installer, only ever the version of Qt supplied with the Linux OS distro. For my own clarity going forward, could you explain: if one fetches from the Qt Online Installer, doesn't that only come with sources? Or are you saying they include downloadable binaries for (a variety of?) Linux distros??
-
@JonB said in Switching to Linux?:
f one fetches from the Qt Online Installer, doesn't that only come with sources?
You get binaries, just like on Windows/MacOS