Итак, немного подумав, я написал следующее:
# 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 *~
Спрашивайте, что нужно добавить или исправить (особенно для Windows - у меня сейчас нет под рукой. Да и Mac тоже [вообще не работал в нем]).
Я хочу, чтобы мой репозиторий был чистым :-)
UPD: Стоит ли включать в него Makefile
и Makefile.*
? *.pro.user
?