<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Aug 17, 2020, at 5:24 AM, Robert Helling via subsurface <<a href="mailto:subsurface@subsurface-divelog.org" class="">subsurface@subsurface-divelog.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">once more, I need some help in building subsurface. For a few years, I have always used NOPRINTING=ON, since I did not want to deal with complications from features that I never use at all (I print logbook pages using the TeX export). But since I was playing with the icons sizes and those affect the native print support as well, I thought I could once again give it a try.</div><div class=""><br class=""></div><div class="">What I did so far (plus many steps that apparently were dead ends):</div><div class=""><br class=""></div><div class="">Installed QtWebKit from source, built and installed (it ended up in /usr/local/lib).</div></div></div></blockquote><div><br class=""></div><div>That last part makes it in my experience brutally hard to get this right.</div><div>Can you run the install again with an install prefix that installs it into the same location where you have your Qt version?</div><div>I have the various Qt versions in ~/QT_${VERSION}/ and can switch between them if necessary - which has really been useful in the past. If you then use ~/QT_${VERSION}/${VERSION}/clang_64 as prefix, things will likely magically work.</div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Blew away build directory.</div></div></div></blockquote><div><br class=""></div>Just the Subsurface build directory or also the Grantlee and googlemapsplugin build directories? They all three need to be rebuilt with the exact same Qt version or BadThings™ will happen...</div><div><br class=""><blockquote type="cite" class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Ran scripts/build.sh <span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;" class="">-build-with-</span><span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures; color: rgb(255, 255, 255); background-color: rgb(0, 0, 0);" class="">webk</span><span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;" class="">it</span></div><div class=""><span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;" class="">That proceeded without errors but produced a binary that when run complained it couldn’t find the WebKit framework.</span></div><div class=""><span style="font-family: Menlo; font-size: 13px; font-variant-ligatures: no-common-ligatures;" class="">That could be helped by </span><span style="font-family: Menlo; font-size: 11px;" class="">install_name_tool -add_rpath /usr/local/lib Subsurface.app/Contents/MacOS/Subsurface</span><span style="font-family: Menlo; font-size: 11px;" class=""> </span></div><div class=""><font face="Menlo" class=""><span style="font-size: 11px;" class="">That resulted in complaints about not being able to finde MultimediaWidgets, so</span></font></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">install_name_tool -add_rpath /Users/Helling/Qt/5.12.0/clang_64/lib/ Subsurface.app/Contents/MacOS/Subsurface </span></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class="">And indeed, now I have a subsurface binary that has  print option. But the pages it produces are just the forms, there is no data filled in and instead of the profile, there is only the Subsurface logo. In the terminal, it complains</span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">can't find a spot in the dataModel</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">can't find a spot in the dataModel</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">can't find a spot in the dataModel</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Don't know how to handle metatype DiveObjectHelperGrantlee</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Googling the error message, I found that i had a similar problem before (and I don’t remember if it was eventually resolved) but there it was obscured by other errors about threads which I don’t have anymore. </span></div></span></div></div></div></blockquote><br class=""></div><div>This is an indication that you didn't run make install with consistent versions of Grantlee and Subsurface.</div><div><br class=""></div><div>/D</div><br class=""></body></html>