diff options
author | Thomas-Karl Pietrowski <thopiekar@googlemail.com> | 2016-02-03 22:12:50 +0100 |
---|---|---|
committer | Thomas-Karl Pietrowski <thopiekar@googlemail.com> | 2016-02-03 22:12:50 +0100 |
commit | 24dc4ff87241ecb5cf2266d75ea3b89fc4dff47d (patch) | |
tree | 5a72321c3956498c9f0d345123ca0d71826529f6 /README.md | |
parent | d97d12e781dde4101f45c15a3860b01aac2f2aca (diff) |
Adding -qt=X option only if qmake is a link to qtchooser
On Linux (at least on Ubuntu and Debian) qtchooser is used to switch between different installations of Qt.
A user reported that on Windows this method does not (seem) exist.
Don't know whether his/her Qt5 setup was correct or not, but this commit adds a check, which
* Looks whether qmake exists at all
* Checks whether it is a symlink
* Checks whether the symlink is pointing at a existing file
* And check whether this file is qtchooser.
It doesn't matter if the link is called "/usr/bin/qtchooser" or "qtchooser" and we only add "-qt=X" in these cases.
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions