PDA

View Full Version : Qt On Linux ( CentOS ) Not Picking Up 5.6.1



brixel
17th June 2016, 12:52
Hello,

I've installed Qt 5.6.1 on a copy of CentOS 7 and that went fine. The issue I'm having is that when I run Qt Creator, it's pointing to a version 4.8.5 ( assuming this was bundled with CentOS maybe ) and isn't seeing the 5.6.1. I validated that 5.6 exists and was installed. It seems there may be some sort of environmental issue here but I'm not skilled in Linux and unclear how to resolve. Any ideas or help would be appreciated. Thanks.

anda_skoa
17th June 2016, 14:18
QtCreator can handle multiple Qts, you only need to configure them.

See http://doc.qt.io/qtcreator/creator-targets.html for example.

Cheers,
_

brixel
17th June 2016, 14:36
Thanks. I know it can handle multiples, and I've been into the kit configuration, but the 5.6.1 isn't showing up. Tried adding a new one manually but not sure in what folder I need to be looking for to link things to.

anda_skoa
18th June 2016, 08:37
When adding a new Qt version you need to select the qmake executable of that Qt version, which is in the "bin" subdirectory of your Qt installation.
QtCreator can then call it and get all necessary information from its output.

Cheers,
_

brixel
20th June 2016, 13:11
That is / was the issue. It wasn't showing up so I reinstalled and this time it showed in the list so something must have got missed in the first pass.