<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><span style="color: rgb(7, 114, 0); font-family: Calibri; font-size: 15px; font-style: italic;" class="">Thanks for everyone's feedback!</span><div class=""><font color="#077200" face="Calibri" class=""><span style="font-size: 15px;" class=""><i class=""><br class=""></i></span></font><div><blockquote type="cite" class=""><div class="">On May 3, 2017, at 08:15, Timothée Giet <<a href="mailto:animtim@gmail.com" class="">animtim@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
  
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" class="">
  
  <div bgcolor="#FFFFFF" text="#000000" class="">
    <div class="moz-cite-prefix">Hi,<br class="">
      That's weird that it can't read svg. Is it possible that you have
      Qt built without svg support?<br class="">
      Do you have libQt5Svg files ?<br class="">
      <br class=""></div></div></div></blockquote></div>





<!--StartFragment--><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class=""><br class=""></span></div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">Timothee I think those naming conventions may be
specific to iOS and Android but it got me going in the right direction:</span></div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ pwd</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ find .
-name libQt5Svg*</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{lists several libs in 5.6/android_*/lib and
5.6/ios/lib because of naming conventions, but I was able to find them...}</span></div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ ls
/Users/faculty/Qt/5.6/clang_64/plugins/imageformats/l*svg*</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6/clang_64/plugins/imageformats/libqsvg.dylib</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6/clang_64/plugins/imageformats/libqsvg_debug.dylib</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6/clang_64/plugins/imageformats/libqsvg.dylib.dSYM</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6/clang_64/plugins/imageformats/libqsvg_debug.dylib.dSYM</div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""><br class=""></p><blockquote type="cite" class=""><div class="">On May 3, 2017, at 09:02, Utkarsh Tiwari <<a href="mailto:iamutkarshtiwari@gmail.com" class="">iamutkarshtiwari@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi B.J.,<br class=""><br class="">To solve the no images issue, try copying the <b class="">'plugins' folder</b> which is inside your <b class="">'Qt/5.6/clang_64/'</b> directory to <b class="">'bin/gcompris-qt.app/Contents/'. </b><font size="2" class="">And then rebuild and make your gcompris build.</font><br class="">Hope this solves your issue :)<br class=""></div></div></blockquote><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""><br class=""></p><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{so then I just tried copying to the app bundle as
Utkarsh suggested}</span></div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ pwd</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Users/faculty/Qt/5.6/clang_64</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ cp -r
plugins ../../../Desktop/src/build-gc/bin/gcompris-qt.app/Content</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{this fixed the initial issue -- the locally linked app bundle
runs!  thank you Utkarsh; looks like the
problem lies with this directory...now to see if I can fix it with Johnny's
pointers...}</span></div><p style="margin:0in;font-family:Calibri;font-size:11.0pt" class=""><br class=""></p><blockquote type="cite" class=""><div dir="ltr" class=""><div class=""><div class="">For the running, it may not work because the Qt version is not in your path and so it does not find the plugins<span class="gmail-">. I guess you can try to play with the </span><span class="gmail-"><code class="">QT_PLUGIN_PATH</code> environment variable (<a href="http://doc.qt.io/qt-5/deployment-plugins.html" class="">http://doc.qt.io/qt-5/deployment-plugins.html</a>) to be sure it works in local for now.<br class=""></span><br class="">Do you have the svg plugin in /Users/faculty/Qt/5.6/clang_64/plugins/imageformats? (lib*svg*).<br class=""></div><br class=""></div><div class=""><div class=""><div class="gmail_extra"></div>On my side, I think the more important for now is the svg, then the audio and then box2d ;).<br class=""><br class=""></div><div class="">If it's not complicated for now, you can also try to fix the cmake_install.cmake if it's only the "lib" path issues.<br class=""><br class="">To help understand what happens, I guess you can add logs in <a href="https://github.com/gcompris/GCompris-qt/blob/master/src/core/CMakeLists.txt#L113" class="">https://github.com/gcompris/GCompris-qt/blob/master/src/core/CMakeLists.txt#L113</a> and <a href="https://github.com/gcompris/GCompris-qt/blob/master/cmake/qt_helper.cmake#L54" class="">https://github.com/gcompris/GCompris-qt/blob/master/cmake/qt_helper.cmake#L54</a> to see where the extra "lib" is added.</div></div></div></blockquote><p style="margin:0in;font-family:Calibri;font-size:11.0pt" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{first trying to weed out some of the cmake files
that need manual updating}</span></div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ grep
-r clang_64\/lib\/plugin *</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">src/core/cmake_install.BAK: 
file(INSTALL DESTINATION
"${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/plugins/" TYPE
DIRECTORY FILES
"/Users/faculty/Qt/5.6/clang_64/lib/plugins/imageformats")</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{and so on}</span></div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ grep
-r clang_64\/lib\/qml *</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">src/core/cmake_install.BAK: 
file(INSTALL DESTINATION
"${CMAKE_INSTALL_PREFIX}/gcompris-qt.app/Contents/qml/QtQuick" TYPE
DIRECTORY FILES
"/Users/faculty/Qt/5.6/clang_64/lib/qml/QtQuick/Window.2")</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{and so on}</span></div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ vi
src/core/cmake_install.cmake</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">:/clang_64\/lib\/qml/clang_64\/qml</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{...or something; paraphrasing my vi command to
replace the strings; did the same with plugin directory}</span></div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">$ make
package</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">[ 93%]
Generate core RCC</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">[ 93%]
Built target rcc_core</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">[100%]
Built target gcompris-qt</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">Run
CPack packaging tool...</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CPack:
Create package using DragNDrop</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CPack:
Install projects</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CPack: -
Run preinstall target for: gcompris-qt</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CPack: -
Install project: gcompris-qt</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CMake
Error at /Users/faculty/Desktop/src/build-gc/src/core/cmake_install.cmake:169
(file):</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
file INSTALL cannot find
"/Users/faculty/Qt/5.6/clang_64/qml/Box2D.2.0".</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">Call
Stack (most recent call first):</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/src/cmake_install.cmake:33 (include)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/cmake_install.cmake:36 (include)</div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/objdump:
'/Users/faculty/Desktop/src/build-gc/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/qml/Box2D.2.0/libBox2D.dylib':
No such file or directory</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">warning:
target
'/Users/faculty/Desktop/src/build-gc/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/qml/Box2D.2.0/libBox2D.dylib'
does not exist...</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">warning:
target
'/Users/faculty/Desktop/src/build-gc/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/qml/Box2D.2.0/libBox2D.dylib'
does not exist...</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">error:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool:
can't open file:
/Users/faculty/Desktop/src/build-gc/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/qml/Box2D.2.0/libBox2D.dylib
(No such file or directory)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CMake
Error at
/Applications/CMake.app/Contents/share/cmake-3.8/Modules/BundleUtilities.cmake:869
(message):</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
Command failed:</div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">  
'install_name_tool' '-id' '@executable_path/../MacOS/libBox2D.dylib'
'/Users/faculty/Desktop/src/build-gc/_CPack_Packages/Darwin/DragNDrop/gcompris-qt-0.70-Darwin/gcompris-qt.app/Contents/qml/Box2D.2.0/libBox2D.dylib'</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">Call
Stack (most recent call first):</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Applications/CMake.app/Contents/share/cmake-3.8/Modules/BundleUtilities.cmake:943
(fixup_bundle_item)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/src/core/FixBundle.cmake:2 (fixup_bundle)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/src/core/cmake_install.cmake:181 (include)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/src/cmake_install.cmake:33 (include)</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> 
/Users/faculty/Desktop/src/build-gc/cmake_install.cmake:36 (include)</div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">CPack
Error: Error when generating package: gcompris-qt</div><div style="margin: 0in; font-family: Calibri; font-size: 11pt;" class="">make:
*** [package] Error 1</div><p style="margin: 0in; font-family: Calibri; font-size: 11pt;" class=""> </p><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class="">{Looking better!  It's trying to find box2D even though the cmake
command tried to disable it?  But all
those other errors are gone :) and since the locally linked executable runs
WITH images now (audio worked from the git-go) I consider it progress for
sure.  Thanks for everyone's help so
far...I hope we're close!  All feedback,
thus-far and future, is very much appreciated.}</span></div><div style="margin: 0in; font-family: Calibri; font-size: 11pt; color: rgb(7, 114, 0);" class=""><span style="font-style:italic" class=""><br class=""></span></div>

<!--EndFragment--></div></body></html>