View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#71
Originally Posted by solbrit View Post
Among all the exciting warnings I get when I run an otherwise working pyotherside app:
Code:
[W] DeclarativeCoverWindow::DeclarativeCoverWindow:62 - DeclarativeCoverWindow: You should be calling QQuickWindow::setDefaultAlphaBuffer(true) before creating windows. Failing to do so will result in suboptimal performance.
[W] DeclarativeCoverWindow::DeclarativeCoverWindow:63 - DeclarativeCoverWindow: You also won't have cover transparency.
Now the interesting thing is that, while on the device i don't have cover transparency, in the emulator I do. Why is this and how can I set DefaultAlphaBuffer (or whatever needs to be done) to obtain transparency on device?
I think those warnings go away if you launch the QML using the sailfish-qml launcher, but they can imho be pretty much ignored for development with the much more flexible qmlscene.

As to how sailfish-qml works for Python applications, just install Helsinky Transit Live application from OpenRepos, which is based on PyOtherSide. Then you can inspect its desktop file in:
Code:
/usr/share/applications/harbour-helsinki-transit-live.desktop
You can also check the structure of its application files in:
Code:
/usr/share/harbour-helsinki-transit-live/
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 4 Users Say Thank You to MartinK For This Useful Post: