Advertisement
Guest User

Untitled

a guest
Jun 2nd, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.64 KB | None | 0 0
  1. === Languages :
  2. * French
  3. * English
  4.  
  5. ==================
  6. === I Français ===
  7. ==================
  8.  
  9. Instructions d'installation:
  10. ============================
  11.  
  12. 1 - Notes prémiminaires:
  13. Lan Over IP utilise Qt 4 (testé en version 4.2.0, modules core, gui et network), il faut donc installer
  14. les bibliothèques appropriées (pour Windows un package fourni les dll).
  15. Pour compiler il faut également installer les paquets de développement. Sous Windows, la version open source
  16. de Qt 4 utilise Mingw, pour utiliser Visual Studio consultez la section concernant cet environnement.
  17.  
  18. 2 - Configuration de la compilation:
  19. qmake (ou équivalent, ex: qmake-qt4 sous ubuntu)
  20. Unix:
  21. Si vous voulez que l'installation se fasse dans un autre répertoire que /usr/local/ il faut spécifier un PREFIX par qmake "PREFIX=monprefix"
  22.  
  23. 3 - Compilation:
  24. Unix:
  25. make
  26. Windows:
  27. make (p.ex. avec Mingw)
  28. ou nmake (Visual Studio)
  29.  
  30. 4 - Traduction:
  31. lrelease serveur.pro
  32.  
  33. 5 - Préparation de l'installation:
  34. qmake
  35. 'qmake' doit être à nouveau exécuté pour que les fichiers créés par 'make' et 'lrelease' soient installés.
  36. Unix:
  37. Si vous avez utilisé un PREFIX, il faut à nouveau le spécifier.
  38.  
  39. 6 - Installation:
  40. Unix:
  41. su
  42. make install
  43.  
  44. 7 - Utilisation:
  45. Editer le fichier de configuration lanoip.conf
  46. Lancer le serveur lanoipserveur(.exe)
  47.  
  48.  
  49. Compilation avec Microsoft Visual Studio:
  50. =========================================
  51.  
  52. La version open source ne permet pas de générer les projets Visual Studio (.vcproj), avec une version permettant
  53. de les générer il suffit de lancer:
  54. qmake -tp vc -o serveur.vcproj
  55.  
  56. Le projet est alors créé et utilisable.
  57.  
  58. La commande 'qmake' génère un Makefile utilisable par la commande 'nmake' pour compiler en ligne de commande.
  59.  
  60. Si vous ne disposez que de la version open source, il faudra créer à la main le projet et faire tous les liens
  61. vers les différentes bibliothèques et spécifier les options.
  62.  
  63.  
  64.  
  65. ==================
  66. === II English ===
  67. ==================
  68.  
  69. Installation instructions:
  70. ==========================
  71.  
  72. 1 - Preliminary notes:
  73. Lan Over IP uses Qt 4 (tested with version 4.2.0, core, gui and network modules), so it requires the corresponding libraries (for Windows the package gives the needed dll).
  74. To compile, it also needs the devel packages. On Windows, Trolltech provides an open-source version which can be compiled with Mingw, to use Visual Studio read the section about it.
  75.  
  76. 2 - Configuration of the compialation:
  77. qmake (or equivalent, e.g.: qmake-qt4 sous ubuntu)
  78. Unix:
  79. If you want to install the server in another diretory than /usr/local/, you need to set the PREFIX by qmake "PREFIX=myprefix"
  80.  
  81. 3 - Compilation:
  82. Unix:
  83. make
  84. Windows:
  85. make (e.g with Mingw)
  86. or nmake (Visual Studio)
  87.  
  88. 4 - Translation:
  89. lrelease serveur.pro
  90.  
  91. 5 - Preparation of the installation:
  92. qmake
  93. 'qmake' must be executed again so that the files created by 'make' and 'lrelease' are installed.
  94. Unix:
  95. If you have used a PREFIX, you need to set it again.
  96.  
  97. 6 - Installation:
  98. Unix:
  99. su
  100. make install
  101.  
  102. 7 - Usage:
  103. Edit the configuration file: lanoip.conf
  104. Launch the server lanoiserveur(.exe)
  105.  
  106.  
  107. Compilation with Microsoft Visual Studio:
  108. =========================================
  109.  
  110. Qt4 open source version cannot generate Visual Studio project files (.vcproj), with a version of Qt4 which can generate them just type in a command line:
  111. qmake -tp vc -o serveur.vcproj
  112.  
  113. The command 'qmake' (without arguments) generate a Makefile to compile in command line mode with 'nmake'.
  114.  
  115. If you only have Qt4 open source, you will need to create yourself the project and correctly set the options.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement