Removing menubar and titlebar from qt simulator

From Qt Wiki
Revision as of 17:37, 14 January 2015 by Maintenance script (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

English Български

Remove Menu Bar and Title Bar from Qt Simulator

If you are developing a full-screen application you might want to remove the menu bar at the bottom and the title bar at the top of the Symbian Simulator. Here is how:

  1. Go to “C:\QtSDK\Simulator\Application\models” (or equivalent) and copy the (e.g.) “symbian3” folder to a new folder we’ll call “symbian3fullscreen”.
  2. Inside the “symbian3fullscreen” folder, open “N8_portrait.png” in Gimp, select all (<CTRL-A>) and delete (<DEL>), so that you have a transparent png of 360×640. Save, and do the same for “N8_landscape.png”.
  3. rename symbian3.config to symbian3fullscreen.config and edit it to:

Restart the simulator.
Now, you have an additional device called “Symbian^3 Fullscreen” where your app is shown fullscreen.

On MacOS X you can find the models inside the simulator.app application package. That is you’d like to copy the symbian3fullscreen directory to <QtSDK folder>/Simulator/Application/simulator.app/Contents/MacOS/models
In order to “open” the simulator.app package, you right-click it in the Finder and choose the “Show Package Contents” option. After it, you can work with the package as with any other folder in your file system.

Categories: