Hi, > On 19 Mar 2017, at 01:10, Dirk Hohndel <[email protected]> wrote: > > Any help would be welcome. I'm running out of time today, I'll try to make > new beta apps for Android and iOS so people can test.
I tried again, to get up to speed with the mobile version but this is another
report of failure (or more positive: request for a suggestion what to try next).
My first goal was to build the mobile version (to run on the desktop for
starters). That used to work at some point in the past but then broke with the
new version of Kirigami. But my understanding is that it should work again.
So here is what happens. I am on current master of subsurface and all the
libraries and build using the build script with option mobile. It compiles fine.
The fist time I run it I get tons of errors what kinds of qml stuff is missing.
th-nb-tmpmbp05:build-mobile Helling$
Subsurface-mobile.app/Contents/MacOS/Subsurface-mobile
QML import path
("/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/Frameworks",
"/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/MacOS")
QQmlApplicationEngine failed to load component
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
qrc:///qml/main.qml:7 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:6 module "QtQuick.Layouts" is not installed
qrc:///qml/main.qml:5 module "QtQuick.Dialogs" is not installed
qrc:///qml/main.qml:4 module "QtQuick.Window" is not installed
qrc:///qml/main.qml:3 module "QtQuick.Controls.Styles" is not installed
qrc:///qml/main.qml:2 module "QtQuick.Controls" is not installed
qrc:///qml/main.qml:1 module "QtQuick" is not installed
can't create window object
Then I do ‚make install“ again in the build directory, those go away but I stay
with a complaint in the build process that some cp of a directory fails
WARNING: Plugin "libqsqlodbc.dylib" uses private API and is not Mac App store
compliant.
WARNING: Plugin "libqsqlpsql.dylib" uses private API and is not Mac App store
compliant.
ERROR: no file at "/opt/local/lib/mysql55/mysql/libmysqlclient.18.dylib"
ERROR: no file at "/usr/local/lib/libpq.5.dylib"
cp: cannot overwrite directory
/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/Frameworks/QtXml.framework/Resources
with non-directory /Users/Helling/Qt/5.5/clang_64/lib/QtXml.framework/Resources
cp: cannot overwrite directory
/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/Frameworks/QtXml.framework/Versions/Current
with non-directory
/Users/Helling/Qt/5.5/clang_64/lib/QtXml.framework/Versions/Current
-- two ERRORS here about libmysqlclient and libpq not found are harmless
And then, when I run the binary
th-nb-tmpmbp05:build-mobile Helling$
Subsurface-mobile.app/Contents/MacOS/Subsurface-mobile
QML import path
("/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/Frameworks",
"/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/MacOS",
"/Users/Helling/mobile/subsurface/build-mobile/Subsurface-mobile.app/Contents/Resources/qml")
QQmlApplicationEngine failed to load component
qrc:///qml/main.qml:333 Type DiveList unavailable
qrc:///qml/DiveList.qml:1 module "QtQuick" version 2.6 is not installed
can't create window object
and quits. My understanding is that the actual error is the „failed to load
component“ and the others follow from that. But I have no clue how to debug
this. Any help would be appreciated!
Best
Robert
signature.asc
Description: Message signed with OpenPGP
_______________________________________________ subsurface mailing list [email protected] http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface
