Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

[Solved] Build Error - Trace/BPT trap: 5



  • Hello,

    I have done some projects using Qt so i am not really a noob but i am really not a expert and i don't understand the issue i have so a little help would be nice.

    My app generates an error when compiling :

    @[ui_mainwindow.h] Trace/BPT trap: 5
    @

    Detailed error is as follow :

    @/Users/Martial/Qt5.4.0/5.4/clang_64/bin/uic ../ledManager/mainwindow.ui -o ui_mainwindow.h
    dyld: Library not loaded: /work/build/PADDING/lib/QtCore.framework/Versions/5/QtCore
    Referenced from: /Users/Martial/Qt5.4.0/5.4/clang_64/bin/uic
    Reason: image not found
    make: *** [ui_mainwindow.h] Trace/BPT trap: 5
    14:03:14: Process "/usr/bin/make" has terminated with code 2.
    Error when building project ledManager (kit : Desktop Qt 5.4.0 clang 64bit)
    When executing step "Make"
    @

    For the record, i wrote this code on Max OSX 10.7.5 using Qt 4.8
    This error appear when trying to build this project on my new Mac under OSX 10.9 and Qt 5.4

    I tried to clean build + launch qmake and build all again but with no luck

    Anything i can do ?
    Is there a compatibility issue between code written un Qt 4.8 and 5.4 ?

    Thank you for your help



  • ok.

    i uninstalled Qt and Xcode then reinstalled both starting with Xcode then Qt.

    Everything works now.


  • Banned

    This post is deleted!

Log in to reply