[SOLVED] Code equivalent of -platform linuxfb
Whenever i run my QT application i have to give the platform parameter like this:
@./myApp -platform linuxfb@
Is there any way to set this in the code itself?
So that i don't have to pass the platform flag everytime.
I have got some idea from the qguiapplication.cpp file.
Will try some hit and trials.
Meanwhile if you have any idea please let me know.
The above cannot be achieved via code.
We need to set it via environment variable:
@ export QT_QPA_PLATFORM=linuxfb@
This works fine!!.
Marking the thread as [SOLVED]
Do you know how to pass plugins via variable?
@-plugin evdevkeyboard -plugin evdevmouse -plugin
"Input on linuxfb":http://qt-project.org/doc/qt-5/embedded-linux.html#configuring-for-a-specific-device