Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- === Languages :
- * French
- * English
- ==================
- === I Français ===
- ==================
- Instructions d'installation:
- ============================
- 1 - Notes prémiminaires:
- Lan Over IP utilise Qt 4 (testé en version 4.2.0, modules core, gui et network), il faut donc installer
- les bibliothèques appropriées (pour Windows un package fourni les dll).
- Pour compiler il faut également installer les paquets de développement. Sous Windows, la version open source
- de Qt 4 utilise Mingw, pour utiliser Visual Studio consultez la section concernant cet environnement.
- 2 - Configuration de la compilation:
- qmake (ou équivalent, ex: qmake-qt4 sous ubuntu)
- Unix:
- 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"
- 3 - Compilation:
- Unix:
- make
- Windows:
- make (p.ex. avec Mingw)
- ou nmake (Visual Studio)
- 4 - Traduction:
- lrelease serveur.pro
- 5 - Préparation de l'installation:
- qmake
- 'qmake' doit être à nouveau exécuté pour que les fichiers créés par 'make' et 'lrelease' soient installés.
- Unix:
- Si vous avez utilisé un PREFIX, il faut à nouveau le spécifier.
- 6 - Installation:
- Unix:
- su
- make install
- 7 - Utilisation:
- Editer le fichier de configuration lanoip.conf
- Lancer le serveur lanoipserveur(.exe)
- Compilation avec Microsoft Visual Studio:
- =========================================
- La version open source ne permet pas de générer les projets Visual Studio (.vcproj), avec une version permettant
- de les générer il suffit de lancer:
- qmake -tp vc -o serveur.vcproj
- Le projet est alors créé et utilisable.
- La commande 'qmake' génère un Makefile utilisable par la commande 'nmake' pour compiler en ligne de commande.
- Si vous ne disposez que de la version open source, il faudra créer à la main le projet et faire tous les liens
- vers les différentes bibliothèques et spécifier les options.
- ==================
- === II English ===
- ==================
- Installation instructions:
- ==========================
- 1 - Preliminary notes:
- 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).
- 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.
- 2 - Configuration of the compialation:
- qmake (or equivalent, e.g.: qmake-qt4 sous ubuntu)
- Unix:
- If you want to install the server in another diretory than /usr/local/, you need to set the PREFIX by qmake "PREFIX=myprefix"
- 3 - Compilation:
- Unix:
- make
- Windows:
- make (e.g with Mingw)
- or nmake (Visual Studio)
- 4 - Translation:
- lrelease serveur.pro
- 5 - Preparation of the installation:
- qmake
- 'qmake' must be executed again so that the files created by 'make' and 'lrelease' are installed.
- Unix:
- If you have used a PREFIX, you need to set it again.
- 6 - Installation:
- Unix:
- su
- make install
- 7 - Usage:
- Edit the configuration file: lanoip.conf
- Launch the server lanoiserveur(.exe)
- Compilation with Microsoft Visual Studio:
- =========================================
- 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:
- qmake -tp vc -o serveur.vcproj
- The command 'qmake' (without arguments) generate a Makefile to compile in command line mode with 'nmake'.
- 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