> On Jan 4, 2020, at 7:31 AM, Robert.Helling <[email protected]> wrote: > > Thiago, > > thanks for helping out. > >> On 4. Jan 2020, at 15:14, Thiago Macieira <[email protected] >> <mailto:[email protected]>> wrote: >> >> This looks like an incomplete deployment: some binary resources inside the >> bundle still point to the original files from the Qt SDK, not the bundled >> copy >> of the Qt frameworks. If you use otool -L on each of the binaries inside, >> can >> you find out which one still points to that "clang_64" build? > > This does not seem to be the case. I put the output of > > find Subsurface-mobile.app/ |grep dylib$|xargs -n1 otool -L > > here: https://neu.atdotde.de/~robert/ot.out > <https://neu.atdotde.de/~robert/ot.out> > > Maybe you can spot something odd. > > I can also report that creating an empty directory, cloning a fresh copy of > Subsurface from GitHub and running subsurface/scripts/build.sh -mobile > produces exactly the same kind of problems (actually just this script > produces a disfucntional binary: > > + '[' '' = 1 ']' > + (( i++ )) > + (( i < 1 )) > > [BTW: What is this?] > > thnbtmpmbp055:clean Helling$ cd subsurface/build-mobile/ > thnbtmpmbp055:build-mobile Helling$ Subsurface-mobile > Subsurface-mobile.app/ Subsurface-mobile_autogen/ > thnbtmpmbp055:build-mobile Helling$ > Subsurface-mobile.app/Contents/MacOS/Subsurface-mobile > can't find Subsurface localization for locale "en-DE" > QML import path > ("/Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Frameworks", > > "/Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/MacOS", > "qrc:/qt-project.org/imports <http://qt-project.org/imports>", > "/Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml") > INFO: QQmlApplicationEngine failed to load component > INFO: qrc:/qml/main.qml:868 Type Export unavailable > qrc:/qml/Export.qml:15 Type FileDialog unavailable > file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:47 > > <file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:47> > module "Qt.labs.folderlistmodel" is not installed > file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:48 > > <file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:48> > module "Qt.labs.settings" is not installed > file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:47 > > <file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:47> > module "Qt.labs.folderlistmodel" is not installed > file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:48 > > <file:///Users/Helling/clean/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml/QtQuick/Dialogs/DefaultFileDialog.qml:48> > module "Qt.labs.settings" is not installed > > INFO: loaded main.qml > can't create window object > > However, running make install in the build directory fixes this (modulo over > one minute of install_name_tool errors being displayed). >
Correct. I had this after a MacOS upgrade as well. Blow away build directory. run build.sh then run make install again after those three steps it reliably works for me /D
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
