Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What .gitignore I should use with QT projects? (QT Creator)

So, after little thinking I have wrote the following:

 # In repository we don't need to have: # Compiled object files *.o  # Generated MOC, resource and UI files moc_*.cpp qrc_*.cpp ui_*.h  # Debug and Release directories (created under Windows, not Linux) Debug/ Release/  # .log files (usually created by QtTest - thanks to VestniK) *.log  # Built windows .exe and linux binaries # NOTE: PROJECT is a your project's name, analog of PROJECT.exe in Linux *.exe *.dll PROJECT  # Windows-specific files Thumbs.db desktop.ini # Mac-specific things (thanks to Michael Aaron Safyan) .DS_Store  # Editors temporary files  *~ 

Please ask, what needs to be added or fixed (especially for Windows - I haven't one under hand now. And Mac too [haven't work in it at all]).

I want to keep my repository clear :-)

UPD: Should I include Makefile and Makefile.* in it? *.pro.user?

like image 948
Envek Avatar asked May 12 '10 01:05

Envek


1 Answers

You might be interested in this little project: https://github.com/github/gitignore

There you can find .gitignore files for several programming languages, OSs and even more.

like image 199
iamantony Avatar answered Sep 21 '22 07:09

iamantony