fixing qml errors #282

Merged
sarah merged 1 commits from :qmlFix into master 2020-04-28 22:39:16 +00:00
Owner
dan@quartz ~/s/g/s/c/ui (master)> ./deploy/linux/ui -local      2>&1   | grep -v "Detected anchors on an ite" 
2020/04/28 15:19:09 ui/main.go [INFO] Development build: using dev directory for dev profiles
2020/04/28 15:19:09 ui/main.go [INFO] I am the UI (client:false)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
2020/04/28 15:19:09 ui/main.go [INFO] core.QCoreApplication_ApplicationDirPath(): /home/dan/src/go/src/cwtch.im/ui/deploy/linux
2020/04/28 15:19:09 android/CwtchActivity.go [DBUG] CwtchActivity.init()
Both point size and pixel size set. Using pixel size.
Both point size and pixel size set. Using pixel size.
qml: 0 clw 45 0 45
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Portrait.qml:45:13: QML Image: Cannot open: file:///home/dan/src/go/src/cwtch.im/ui/deploy/linux/assets/
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/StackToolbar.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined
...

Fixing some QML errors I saw:

  • Font not being imported but referenced
  • pixel and point size being defined for font. as qml stated it was using pixel size, changed all definitions to pixel size
``` dan@quartz ~/s/g/s/c/ui (master)> ./deploy/linux/ui -local 2>&1 | grep -v "Detected anchors on an ite" 2020/04/28 15:19:09 ui/main.go [INFO] Development build: using dev directory for dev profiles 2020/04/28 15:19:09 ui/main.go [INFO] I am the UI (client:false) Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway. 2020/04/28 15:19:09 ui/main.go [INFO] core.QCoreApplication_ApplicationDirPath(): /home/dan/src/go/src/cwtch.im/ui/deploy/linux 2020/04/28 15:19:09 android/CwtchActivity.go [DBUG] CwtchActivity.init() Both point size and pixel size set. Using pixel size. Both point size and pixel size set. Using pixel size. qml: 0 clw 45 0 45 file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Portrait.qml:45:13: QML Image: Cannot open: file:///home/dan/src/go/src/cwtch.im/ui/deploy/linux/assets/ file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/StackToolbar.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined file:///home/dan/src/go/src/cwtch.im/ui/qml/widgets/Button.qml: ReferenceError: Fonts is not defined ... ``` Fixing some QML errors I saw: - Font not being imported but referenced - pixel and point size being defined for font. as qml stated it was using pixel size, changed all definitions to pixel size
sarah was assigned by dan 2020-04-28 22:26:07 +00:00
Member

Drone Build Status: success

https://build.openprivacy.ca/cwtch.im/ui/548

Drone Build Status: success https://build.openprivacy.ca/cwtch.im/ui/548
sarah closed this pull request 2020-04-28 22:39:15 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.