Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Restore Qt Creator default layout

Tags:

qt

qt-creator

The window I see looks like this

I am totally new to Qt development. Infact today's my first day! I installed Qt 5.3.1 open source (LGPL license). I was looking around in the Qt Creator and accidentally closed several sub-windows and not able to view the actual code, other list of opened files, etc. But it does load the project and also executes when I click the green 'Run' button. How do I recover the default layout? There is no window layout/View option in the menu. Can't see anything online! Please help...

Window menu

like image 907
learner Avatar asked Jan 30 '26 06:01

learner


2 Answers

Alt+0 will show project tree. Use ctrl+k to open search window.

Regards

like image 167
Michal Lonski Avatar answered Feb 01 '26 00:02

Michal Lonski


Qt Creator creates some files to save the settings. These files are in different location in different operating systems.

On Windows Vista and Windows 7 :

<drive>:\Users\<username>\AppData\Roaming\QtProject and <drive>:\Users\<username>\AppData\Local\QtProject

On Linux :

~/.config/QtProject and ~/.local/share/data/QtProject/qtcreator

Try to delete QtCreator.ini and many settings including the layout are reset to default when you reopen Qt Creator.

like image 40
Nejat Avatar answered Feb 01 '26 01:02

Nejat



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!