I recently installed Centos 7 onto a machine with the intention of developing using Qt's Quick Controls 2 system, but from what I can tell, the installation gave me Qt 5.6.1, which is before Quick Controls 2 was supported.
Is it possible to update Qt to 5.7? I've been having a play with Yum, but haven't been able to work out if I can upgrade it that way. Is this something I need to update manually?
Upgrading Qt from 5.6.1
Upgrading Qt from 5.6.1
Last edited by abates on 2017/08/23 21:26:19, edited 1 time in total.
Re: Upgrading Qt from 4.6.1
5.6.1 is what we ship and it's not recommended to change that. Anything that uses qt will pull in our packages and if you've manually installed it then those packages may overwrite your locally installed copy. At the very least you should learn how to create packaged versions of your replacements so that yum is aware of them and will give errors if anything tries to pull in the distro packages.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Upgrading Qt from 4.6.1
Update/upgrade is a poor option. Software Collections (SCL) do use a simultaneous install strategy, where the variants are placed elsewhere in order to not mess with the system defaults.
How does one use such variant install then? One starts a command (e.g bash) in modified environment where PATH, etc search paths have the variant before system's version. For example, GCC is 4.8.5. I have installed devtoolset-6 packages from SCL repository. I have to
to get a bash session that sees GCC 6.2.1.
Alas, Qt-5.7 is not in SCL repos as far as I can see. CentOS-7.4 will apparently have "Qt-5.6.2".
You could build Qt-5 as a SCL RPM-package(s), following SCL instructions.
If really desperate, mimic the SCL philosophy with a source install to your homepath (as non-privileged user) and an environment-modules config.
How does one use such variant install then? One starts a command (e.g bash) in modified environment where PATH, etc search paths have the variant before system's version. For example, GCC is 4.8.5. I have installed devtoolset-6 packages from SCL repository. I have to
Code: Select all
scl enable devtoolset-6 bash
Alas, Qt-5.7 is not in SCL repos as far as I can see. CentOS-7.4 will apparently have "Qt-5.6.2".
You could build Qt-5 as a SCL RPM-package(s), following SCL instructions.
If really desperate, mimic the SCL philosophy with a source install to your homepath (as non-privileged user) and an environment-modules config.