<div dir="ltr"><div><div><div>Hi Michel,<br><br></div>Personnaly I'm for the first solution, there is few gitignore about visual studio, adding those for QT Creator doesn'tseems an issue.<br><br></div>Bjoern any sugestion ?<br><br></div>Thanks<br><div class="gmail_extra"><br><div class="gmail_quote">2015-02-17 22:42 GMT+01:00 Michel Renon <span dir="ltr"><<a href="mailto:michel.renon@free.fr" target="_blank">michel.renon@free.fr</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
For my first participation in LibreOffice code, I'm starting to configure my working environment by working on QtCreator integration, based on current script 'gbuild-to-ide'.<br>
<br>
I had already some good results :<br>
- build LO from Qtcreator<br>
- debug LO with QtCreator GUI (and see variables and stackframe)<br>
<br>
But the problem is related to project files.<br>
QtCreator has an interesting feature : it handles 'metaproject' : a project that lists other subprojects in subfolders. It works very well for LO except :<br>
- the project file must have the same name that his directory<br>
(ie : in the 'sw' folder, the project file must be '<a href="http://sw.pro" target="_blank">sw.pro</a>', not '.<a href="http://sw.pro" target="_blank">sw.pro</a>', neither '<a href="http://sw_qt.pro" target="_blank">sw_qt.pro</a>'...)<br>
<br>
- in the metaproject, we just list subfolders, and QtCreator searches for subprojects ; we can't explicitly indicate the subproject file<br>
<br>
and each project/subproject file has a corresponding ".pro.user" file that contains the real build and configuration settings.<br>
<br>
So, in order to not pollute LO code and git repo, how can we organize those project files ?<br>
<br>
I thought about 2 solutions :<br>
- create project files in the real folders (ie '<a href="http://sw.pro" target="_blank">sw.pro</a>' and 'sw.pro.user' in 'sw'), then list all those project files in the '.gitignore'<br>
(are there already some '.pro' files in LO repo ?)<br></blockquote><div> </div><div>Only .pro files I see are inside workdir, not in git repo <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
- create ghost folders with project files :<br>
create '.<a href="http://sw_qtcreator.pro" target="_blank">sw_qtcreator.pro</a>' and '.sw_qtcreator.pro.user' inside '.sw_qtcreator' folder ; then list those ghost folders in '.gitignore'.<br>
<br>
<br>
Do you have another suggestions ?<br>
What should I implement ?<br>
<br>
Cheers,<br>
<br>
Michel<br>
______________________________<u></u>_________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.<u></u>org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/libreoffice</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr">Arnaud Versini</div></div>
</div></div>