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

make: g++-4.2: No such file or directory

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 2.4.0
    • None
    • A fresh install Lion 64bit 10.7.2, Xcode 4.2, Qt SDK 1.1.4 and updated to latest version, Qt Creator 2.4.0 based on Qt 4.7.4.
    • db385af52a536c86ba25ece97b0af1023b43255b

    Description

      When I tried to create a new Qt(or QML) project, and build, I will get this error:
      make: g++-4.2: No such file or directory

      I guess the mkspec was misused or sth related.

      Current solution is make links:
      sudo ln -s /usr/bin/gcc /usr/bin/gcc-4.2
      sudo ln -s /usr/bin/g++ /usr/bin/g++-4.2

      Attachments

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

        Activity

          People

            hunger Tobias Hunger
            liaqi Liang Qi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes