Quantcast
Channel: Installation and Deployment
Viewing all articles
Browse latest Browse all 22112

How to keep the backlight on(Android,Qt 5.1 RC1)?

$
0
0
I develop android app with Qt 5.1.0 RC1. I want to keep the backlight on. #include <android/native_activity.h>   ANativeActivity *theActivity; ANativeActivity_setWindowFlags(theActivity,AWINDOW_FLAG_KEEP_SCREEN_ON,0); but compile error: undefined reference to ‘ANativeActivity_setWindowFlags’ Someone can help me? thanks a lot.

Viewing all articles
Browse latest Browse all 22112

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>