~~NOCACHE~~
====== Qtcreator subversion debian ======
prérequis ssh-askpass ->
[code]apt-get install ssh-askpass[/code]
Nouveau projet de type "import Subversion"
chemin de ssh-askpass ->
[code]whereis ssh-askpass[/code]
{{:doc:qtcreator.png?500|}}
[code]/usr/bin/ssh-askpass[/code]
[code]/usr/bin/patch[/code]
==== identifiant et chemin de svn ====
[code]/usr/bin/svn[/code]
{{:doc:qtcreator1.png?500|}}
==== chemin du depot et emplacement du projet ====
[code]svn://svn.tuxfamily.org/svnroot/qet/qet/trunk[/code]
{{:doc:qtcreator2.png?500|}}
[code]svn://svn.tuxfamily.org/svnroot/qet/qet/branches/dxftoqet2[/code]
[code]svn://svn.tuxfamily.org/svnroot/qet/qet/branches/Qetdxf[/code]
{{:doc:branches.png?500|}}
==== En tant que développeur ====
Nécessaire sous kde pour authentifier ses commits et mémoriser le mot de passe
[code]apt-get install ksshaskpass kwalletcli mksh pinentry-curses pinentry-qt4 gpgv libqtkeychain0 [/code]
Qt Creator 3.1.1 Basé sur Qt 5.3.0 :
libqt5keychain0
Fichier de conf de ~/.subversion
password-stores =
kwallet-wallet =
kwallet-svn-application-name-with-pid = yes
store-passwords = yes
==================================================
A tester sous gnome
[[http://technicalprose.blogspot.fr/2011/06/using-subversion-with-gnome-keyring.html]]
[[http://kenneho.net/2011/01/30/using-svn-client-and-gnome-keyring-in-ssh-sessions/]]
[code]apt-get install sshpass gnome-keyring libgnome-keyring1.0-cil mksh pinentry-gtk2 gpgv [/code]
==== config du projet ====
{{:doc:qtcreator3.png?500|}}
==== on ajoute le style de code Qet ====
''wget http://qelectrotech.org/wiki_new/_media/doc/qtcreator-qet-style.xml''
{{:doc:qtcreator4.png?500|}}
{{:doc:qtcreator6.png?500|}}
''on va booster les cpu ->Specifies the number of jobs (commands) to run simultaneously.
make -j9 dans mon cas
laurent@debian:~$ grep ^processor /proc/cpuinfo | wc -l
8
laurent@debian:~$ nproc
8
laurent@debian:~$ getconf _NPROCESSORS_ONLN
8
valeur +1
8x AMD FX-8350 Eight-Core 2048 KB cache 12flags( sse3 ht nx lm svm ) 12clocked at [ 4000.000 MHz ]
{{:doc:qtcreator3.png?500|}}
==== argument de l’exécutable ====
sur ma machine
[code]--common-elements-dir=/home/laurent/trunk/elements --lang-dir=/home/laurent/trunk/lang --common-tbt-dir=/home/laurent/trunk/titleblocks[/code]
{{:doc:qtcreator5.png?500|}}