<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Hi,<br>
<br>
there are some information here
<a class="moz-txt-link-freetext" href="https://cmake.org/Wiki/CMake_RPATH_handling">https://cmake.org/Wiki/CMake_RPATH_handling</a> that could help (last
paragraph to debug and change the value "easily").<br>
<br>
It does not seem to find @rpath/QtGui.framework/Versions/5/QtGui,
so I would guess the @rpath should contain Contents/Frameworks<br>
<br>
Johnny<br>
<br>
On 05/09/17 18:06, B.J. wrote:<br>
</div>
<blockquote type="cite"
cite="mid:D798E940-8CF0-47B3-A43E-F9ECF6911BAF@koupps.net">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!--StartFragment-->
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">maybe
something has the wrong "@rpath" ?
It doesn't look like it's pointing to the frameworks folder in
the app
bundle:</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""><br class="">
</p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">$ export <span style="background-color: rgb(255, 255,
255);" class="">QT_DEBUG_PLUGINS=1</span></p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""><br class="">
</p>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">$ ls
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/Frameworks</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtCore.framework
QtOpenGL.framework QtSvg.framework</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtGui.framework
QtPrintSupport.framework QtWidgets.framework</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtMultimedia.framework
QtQml.framework QtXml.framework</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtMultimediaQuick_p.framework
QtQuick.framework QtXmlPatterns.framework</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtMultimediaWidgets.framework
QtQuickParticles.framework</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QtNetwork.framework
QtSensors.framework</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">$ ls
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">libqcocoa.dylib
libqminimal.dylib libqoffscreen.dylib</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">libqcocoa.dylib.dSYM
libqminimal.dylib.dSYM libqoffscreen.dylib.dSYM</div>
<br>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">$
gcompris-qt.app/Contents/MacOS/gcompris-qt </div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QFactoryLoader::QFactoryLoader()
checking directory path
"/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms"
...</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QFactoryLoader::QFactoryLoader()
looking at
"/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib"</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Found
metadata in lib
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib,
metadata=</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">{</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"IID":
"org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"MetaData": {</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"Keys": [</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"cocoa"</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
]</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
},</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"className": "QCocoaIntegrationPlugin",</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"debug": false,</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
"version": 329728</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">}</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Got keys
from plugin meta data ("cocoa")</div>
<br>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QFactoryLoader::QFactoryLoader()
checking directory path
"/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/MacOS/platforms"
...</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Cannot
load library
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib:
(dlopen(/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib,
133): Library not loaded:
@rpath/QtGui.framework/Versions/5/QtGui</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
Referenced from:
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">
Reason: image not found)</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">QLibraryPrivate::loadPlugin
failed on
"/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib"
: "Cannot load library
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib:(dlopen(/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib,
133): Library not loaded:
@rpath/QtGui.framework/Versions/5/QtGui\n
Referenced from:
/Users/faculty/Desktop/src/build-gc170504-5.8/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/plugins/platforms/libqcocoa.dylib\n
Reason: image not found)"</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">This
application failed to start because it could not find or load
the Qt platform
plugin "cocoa"</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">in
"".</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Available
platform plugins are: cocoa, minimal, offscreen.</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Reinstalling
the application may fix this problem.</div>
<div style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class="">Abort
trap: 6</div>
<p style="margin: 0in; font-family: Calibri; font-size: 11pt;"
class=""> </p>
</blockquote>
<br>
</body>
</html>