2 Attachment(s)
How to set my mobile app as full screen
Hi all, I am working on developing a browser for Nokia using Qt. I am using Qt Creator 2.0.1 for development. But after designing i am unable to set my app as full screen. Is any thing needs to be done at the ui file or with the main.cpp file please help me. Thank you.
Re: How to set my mobile app as full screen
Re: How to set my mobile app as full screen
Hi I change main.cpp into
Code:
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
MainWindow w;
#ifdef Q_OS_SYMBIAN
w.showFullscreen();
#else
w.show();
#endif
return a.exec();
}
But it wont work... I think there is something need to be done at the .ui file is it right.
Thankyou
How to set my mobile app as full screen
Hi all, I am using Qt Creator 2.0.1, my app is not run in full screen on the simulator. By the tutorial suggests in http://developer.qt.nokia.com/wiki/H...Symbian_Device, I change my main.cpp file into following but it wont work.
Code:
#include <QtGui/QApplication>
#include "mainwindow.h"
int main(int argc, char *argv[])
{
MainWindow w;
#ifdef Q_OS_SYMBIAN
w.showFullscreen();
#else
w.show();
#endif
return a.exec();
}
Is anyone know the answer please help me.
Re: How to set my mobile app as full screen
What exactly is not working ? The size is too big and get's out of the screan ? if this is the problem, I have the same. The solution is to be creative, redesign the layout's, make smaller dialogs / widgets, with recurse to scrolling, tabs, and so on.
Re: How to set my mobile app as full screen
@john_god showMaximized() doesn't fix your issues?
Back on topic, dineshkumar you can try showMaximized too, and also tell us more about what and how exactly is not working.
Re: How to set my mobile app as full screen
Quote:
@john_god showMaximized() doesn't fix your issues?
Really doesn't fix. I use it in some large dialogs, they where ok in Qt Simulator, but on the phone (Nokia E71) they where bigger than the screan. Don't know if I did something wrong but they where bigger. Any ideas ???? This would really be helpfull, or else I'll have to redesign everything.
Re: How to set my mobile app as full screen
Don't trust too much in the simulator. The best think you can do is to have a device all the time plugged to the computer and all your test there. You could have some problems too but not so often.