title: How to change the default Qt version?
body: <p>I am trying to build a program and need Qt 5.10.</p>
  
  <p>When I run <code>qmake -v</code> I get:</p>
  
  <pre><code>QMake version 3.0
  Using Qt version 5.6.2 in /home/greg/anaconda2/lib
  </code></pre>
  
  <p>When I run <code>qtchooser -list-versions</code> I get:</p>
  
  <pre><code>4
  5
  default
  qt4-x86_64-linux-gnu
  qt4
  qt5-x86_64-linux-gnu
  qt5
  </code></pre>
  
  <p>When I open Qt Creator and go to Tool>Options>Build &amp; Run>Qt Versions, I have the following:</p>
  
  <p><img src="https://i.imgur.com/hKzUaKH.png" alt="screenshot"></p>
  
  <p>I saw the following issue and tried some of the answers but with problems like missing dependencies. When I try to install the dependencies, the dependencies require dependencies that break the install so they cannot be installed.</p>
  
  <p><a href="https://unix.stackexchange.com/questions/116254/how-do-i-change-which-version-of-qt-is-used-for-qmake">https://unix.stackexchange.com/questions/116254/how-do-i-change-which-version-of-qt-is-used-for-qmake</a></p>
  
  <p>When I run <code>qmake -query</code> I get:</p>
  
  <pre><code>QT_SYSROOT:
  QT_INSTALL_PREFIX:/home/greg/anaconda2
  QT_INSTALL_ARCHDATA:/home/greg/anaconda2
  QT_INSTALL_DATA:/home/greg/anaconda2
  QT_INSTALL_DOCS:/home/greg/anaconda2/doc
  QT_INSTALL_HEADERS:/home/greg/anaconda2/include/qt
  QT_INSTALL_LIBS:/home/greg/anaconda2/lib
  QT_INSTALL_LIBEXECS:/home/greg/anaconda2/libexec
  QT_INSTALL_BINS:/home/greg/anaconda2/bin
  QT_INSTALL_TESTS:/home/greg/anaconda2/tests
  QT_INSTALL_PLUGINS:/home/greg/anaconda2/plugins
  QT_INSTALL_IMPORTS:/home/greg/anaconda2/imports
  QT_INSTALL_QML:/home/greg/anaconda2/qml
  QT_INSTALL_TRANSLATIONS:/home/greg/anaconda2/translations
  QT_INSTALL_CONFIGURATION:/home/greg/anaconda2
  QT_INSTALL_EXAMPLES:/home/greg/anaconda2/examples
  QT_INSTALL_DEMOS:/home/greg/anaconda2/examples
  QT_HOST_PREFIX:/home/greg/anaconda2
  QT_HOST_DATA:/home/greg/anaconda2
  QT_HOST_BINS:/home/greg/anaconda2/bin
  QT_HOST_LIBS:/home/greg/anaconda2/lib
  QMAKE_SPEC:linux-g++
  QMAKE_XSPEC:linux-g++
  QMAKE_VERSION:3.0
  QT_VERSION:5.6.2
  </code></pre>
  
  <p>How can I change the paths to <code>/usr/lib/qt5/*</code>?</p>