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

macOS framework being ignored in restricted program because of @executable_path



  • I am getting this stack trace on a project run on developing a Window App with Qt creator...

    15:55:27: Starting /usr/bin/python /Users/JohnnyBot/Test/main.py...
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtQml.framework/Versions/5/QtQml being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtNetwork.framework/Versions/5/QtNetwork being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtWidgets.framework/Versions/5/QtWidgets being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtGui.framework/Versions/5/QtGui being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/plugins/platforms/libqcocoa.dylib being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/plugins/platforms/../../lib/QtDBus.framework/Versions/5/QtDBus being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/plugins/platforms/../../lib/QtPrintSupport.framework/Versions/5/QtPrintSupport being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/lib/QtCore.framework/Versions/5/QtCore being ignored in restricted program because of @executable_path
    dyld: warning, LC_RPATH @executable_path/Frameworks in /usr/local/lib/python2.7/site-packages/PySide2/Qt/plugins/styles/libqmacstyle.dylib being ignored in restricted program because of @executable_path
    15:55:29: /usr/bin/python exited with code 0

    Could anybody help?


  • Lifetime Qt Champion

    Hi and welcome to devnet,

    I've created a new thread for your question as it was unrelated to the one you posted to.

    As for your question:

    What version of PySide2 are you using ?
    How did you install it ?
    What version of macOS are you running ?


Log in to reply