| Line | |
|---|
| 1 | QNetIO |
|---|
| 2 | Copyright (C) 2008-2009 Bolloré telecom |
|---|
| 3 | See AUTHORS file for a full list of contributors. |
|---|
| 4 | |
|---|
| 5 | License |
|---|
| 6 | ======= |
|---|
| 7 | |
|---|
| 8 | This program is free software: you can redistribute it and/or modify |
|---|
| 9 | it under the terms of the GNU General Public License as published by |
|---|
| 10 | the Free Software Foundation, either version 3 of the License, or |
|---|
| 11 | (at your option) any later version. |
|---|
| 12 | |
|---|
| 13 | This program is distributed in the hope that it will be useful, |
|---|
| 14 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 16 | GNU General Public License for more details. |
|---|
| 17 | |
|---|
| 18 | You should have received a copy of the GNU General Public License |
|---|
| 19 | along with this program. If not, see <http://www.gnu.org/licenses/>. |
|---|
| 20 | |
|---|
| 21 | Requirements |
|---|
| 22 | ============ |
|---|
| 23 | |
|---|
| 24 | On Debian |
|---|
| 25 | ---------- |
|---|
| 26 | |
|---|
| 27 | $ sudo aptitude install cmake libgnome-keyring-dev libgphoto2-2-dev libqt4-dev |
|---|
| 28 | |
|---|
| 29 | On MacOS/X |
|---|
| 30 | ---------- |
|---|
| 31 | |
|---|
| 32 | $ sudo port install cmake qt4-mac |
|---|
| 33 | |
|---|
| 34 | Building QNetIO |
|---|
| 35 | =============== |
|---|
| 36 | |
|---|
| 37 | $ mkdir build |
|---|
| 38 | $ cd build |
|---|
| 39 | $ cmake .. |
|---|
| 40 | $ make |
|---|
| 41 | |
|---|
| 42 | Note: if you are running MacOS/X and are using Qt from macports, invoke cmake as: |
|---|
| 43 | |
|---|
| 44 | $ cmake .. -DQT_QMAKE_EXECUTABLE=/opt/local/libexec/qt4-mac/bin/qmake |
|---|
| 45 | |
|---|
| 46 | Usage |
|---|
| 47 | ===== |
|---|
| 48 | |
|---|
| 49 | To launch the tests: |
|---|
| 50 | |
|---|
| 51 | $ ./qnetio-test |
|---|