Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-10522

qtchooser -l should be used to detect available qt installations

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • Icon: Not Evaluated Not Evaluated
    • None
    • Qt Creator 2.8.1
    • None
    • Debian Sid.

      Since the introduction of qtchooser /usr/bin/qmake is not the correct way to detect the Qt Kit available, because this is actually qtchooser masquerading multiple versions.

      I think th eocrrect approach would be to call qtchooser -l (or --list) and for every version that outputs run qmake.

      For example, if qtchooser -l outputs:

      4
      5
      myown5

      Then three kits are available, and qmake should be called three times like:

      qmake -qt4
      qmake -qt5
      qmake -qtmyown5

      (note that you can also use qmake -qt=myown5)

      Even more, due to the nature of masquerading things of qtchooser, this might be needed to be run every time qt creator starts.

      Note: this bug may seem similar to QTCREATORBUG-9841 or QTCREATORBUG-9068, but I think the root problem is different.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            dt Daniel Teske
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes