'Qt Console Application' on OS X 10.10 Yosemite "Cannot start the terminal emulator "/usr/x11/bin/xterm" "



  • Since I upgraded my OS to 10.10 I can't run my console application:

    bq. Cannot start the terminal emulator "/usr/x11/bin/xterm", change the setting in the Environment options.

    Here are some additional informations:

    • I think it worked before Yosemite
    • I run Qt v. 5.3.2 with my Qt Creator v. 3.3.2
    • in my enviroment settings under terminal I have "/usr/x11/bin/xterm -e" and "/usr/bin/patch" as patch command
    • I updated XCode to 6.1 and agreed to the licensing
    • my X11 App (from XQuartz I guess) was download some updates when I started it
    • I change my OS version to 10.10 in the device.pri of the mkspecs folder

    Anyone an idea how to solve this issue?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    That's pretty surprising, Qt Creator should rather use the Terminal app for that part.

    Did you change the settings to use xterm ?



  • Yes I believe so but I am not sure why. I think there were some issues before. So I guess I should change it back then? How do I do this? Thank you very much.


  • Lifetime Qt Champion

    IIRC, there's a reset button on the right of the line edit.



  • Fair enough, this was easy! But here comes the next thing, now that the terminal works it says this:

    @ dyld: Library not loaded: /work/build/PADDING/lib/QtCore.framework/Versions/5/QtCore
    Referenced from: /Users/mac/Desktop/build-TestN2-Desktop_Qt_5_3_0_clang_64bit-Debug/TestN2
    Reason: image not found@

    So I already read that this probably happens because of an failed installation or some issues with Xcode.

    • I started Xcode and agreed to the Xcode licens
    • I installed Qt again

    Still the same problem. So additionally I will give you some Qt Versions Details that were requested in this context in another thread. hands them over

    @Name:
    Qt 5.3.0 clang 64bit
    ABI:
    x86-macos-generic-mach_o-64bit
    Source:
    /Users/mac/Qt/5.3/clang_64
    mkspec:
    macx-clang
    qmake:
    /Users/mac/Qt/5.3/clang_64/bin/qmake
    Version:
    5.3.2
    QMAKE_SPEC
    macx-clang
    QMAKE_VERSION
    3.0
    QMAKE_XSPEC
    macx-clang
    QT_HOST_BINS
    /Users/mac/Qt/5.3/clang_64/bin
    QT_HOST_DATA
    /Users/mac/Qt/5.3/clang_64
    QT_HOST_LIBS
    /Users/mac/Qt/5.3/clang_64/lib
    QT_HOST_PREFIX
    /Users/mac/Qt/5.3/clang_64
    QT_INSTALL_ARCHDATA
    /Users/mac/Qt/5.3/clang_64
    QT_INSTALL_BINS
    /Users/mac/Qt/5.3/clang_64/bin
    QT_INSTALL_CONFIGURATION

    QT_INSTALL_DATA
    /Users/mac/Qt/5.3/clang_64
    QT_INSTALL_DEMOS
    /Users/mac/Qt/Examples/Qt-5.3
    QT_INSTALL_DOCS
    /Users/mac/Qt/Docs/Qt-5.3
    QT_INSTALL_EXAMPLES
    /Users/mac/Qt/Examples/Qt-5.3
    QT_INSTALL_HEADERS
    /Users/mac/Qt/5.3/clang_64/include
    QT_INSTALL_IMPORTS
    /Users/mac/Qt/5.3/clang_64/imports
    QT_INSTALL_LIBEXECS
    /Users/mac/Qt/5.3/clang_64/libexec
    QT_INSTALL_LIBS
    /Users/mac/Qt/5.3/clang_64/lib
    QT_INSTALL_PLUGINS
    /Users/mac/Qt/5.3/clang_64/plugins
    QT_INSTALL_PREFIX
    /Users/mac/Qt/5.3/clang_64
    QT_INSTALL_QML
    /Users/mac/Qt/5.3/clang_64/qml
    QT_INSTALL_TESTS
    /Users/mac/Qt/5.3/clang_64/tests
    QT_INSTALL_TRANSLATIONS
    /Users/mac/Qt/5.3/clang_64/translations
    QT_SYSROOT

    QT_VERSION
    5.3.2
    @

    Maybe I should open another topic for this but maybe there is also a easy quick fix?


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.