Always ensure that the hardcoded paths are found
authorSune Vuorela <sune@vuorela.dk>
Sat, 7 Dec 2013 20:19:50 +0000 (21:19 +0100)
committerThiago Macieira <thiago.macieira@intel.com>
Mon, 9 Dec 2013 21:18:03 +0000 (22:18 +0100)
commitd21210934f1a150c38a1d12ae13ec177550735da
tree78cf91428ade97d20046b8f141fb4b40fb3f7e3c
parentfd97e70698295d5b226ddb0cfc2cac589b404e5f
Always ensure that the hardcoded paths are found

Practice has shown that quite many sets XDG dirs for various purposes
and that spoils qtchooser finding the distro provided Qt without adding
like /usr to the XDG dirs variable which kind of kills performance.

Provide a dedicated variable to disable a global installation.

Change-Id: I58953e3b2b3cf43cb67d4c367312e83cfa9ad2b3
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <perezmeyer@gmail.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/qtchooser/main.cpp