[SOLVED] QML ScreenSaver element in Qt 5.x?
-
I am trying to search for...it's difficult, many times official documentation is very lacking!
Where does this example work on?
"scrensaver":http://qt-project.org/doc/qt-5/qtmultimedia-video-qmlvideo-qml-qmlvideo-disablescreensaver-qml.htmlI am trying to achieve this on my Qt 5.x project...nothing of those described exist!
-
Hi,
The ScreenSaver type is from the old Qt Mobility collection:
- http://doc-snapshot.qt-project.org/qt-mobility/systeminfo.html
- http://doc-snapshot.qt-project.org/qt-mobility/qml-screensaver.html
The Qt System Info module is not yet polished enough to be released with Qt 5, unfortunately. The developers who are working porting Qt Mobility to Qt 5 seem to be currently focusing on the Qt Location module.
-
Ok, but this example spoke about Qt 5.x and QtQuick2, so Qt is going bad and moreover documentation is wrong bringing us to crazy!
That is not Qt I knew... -
Compass doesn't work, camera display/recording doesn't work, debug doesn't work, touch is not correct in custom object...that's a very shame...My softair app has been stuck since last year due to compass lack and many many other not working things respect to Nokia Qt version!
-
[quote author="AlterX" date="1399547515"]Ok, but this example spoke about Qt 5.x and QtQuick2, so Qt is going bad and moreover documentation is wrong bringing us to crazy!
That is not Qt I knew...[/quote]Yeah, Qt 5.0 went through a huge restructure and had lots of documentation issues. Things improve with every new release though.Thanks for bringing up this issue; I've submitted a patch for it: https://codereview.qt-project.org/#change,84991
If you find any more issues, please report them to https://bugreports.qt-project.org so that they can be fixed.
[quote author="AlterX" date="1399548393"]Compass doesn't work, camera display/recording doesn't work, debug doesn't work, touch is not correct in custom object...that's a very shame...My softair app has been stuck since last year due to compass lack and many many other not working things respect to Nokia Qt version![/quote]If your app worked with an older version of Qt, perhaps it's best if you stayed with the old version for now?
Compass/camera/debug/touch should work though. What platform are you developing for? Have you asked for help with those problems? Have you tried "Qt 5.3":http://blog.qt.digia.com/blog/2014/05/08/qt-5-3-release-candidate-available/?
-
Hi, with old version I was speaking about Qt 4.7 Meego Harmattan...so it is not suitable for android and iOS. Compass is not supported yet and this is a little bit stupid since is a core component on mobile.
-
This user used QMagnetometer (which is supported on Android and iOS) to create a custom compass: http://qt-project.org/forums/viewthread/40353
As for your other issues, I recommend starting new threads to ask for assistance.
-
I have built a native Qt compass with the same interface of QCompass, using QAccelerometer and QMagnetometer...maybe this code could be useful for Qt sensors team.
Then I have extended my main activity to put wakeup of display.Thanks
Gianni -
Fo screensaver I had to go down in java.