forked from vlc-qt/vlc-qt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
58 lines (42 loc) · 1.4 KB
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
VLC-Qt
===================================
VLC-Qt is a free library used to connect Qt and libvlc libraries.
Build dependencies:
===================
The latest version of Qt4, libvlc and CMake is prefered.
- g++ >=4, make (http://gcc.gnu.org, http://www.mingw.org)
- cmake >=2.6 (http://www.cmake.org)
- Qt development package >=4.6 (http://qt.nokia.com)
- libvlc-dev >=1.1 (http://www.videolan.org)
- doxygen (www.doxygen.org, optional for documentation)
Runtime dependencies:
=====================
- Qt library, same version
- libvlc library and plugins, same version
Compilation:
============
1. Go to VLC-Qt root directory and run:
(this will create a build directory and compile VLC-Qt)
$ mkdir build
$ cd build
$ cmake . -DCMAKE_INSTALL_PREFIX=prefix
$ make
2. (Optional) Compile Documentation:
$ cd doc
$ doxygen
Installation
============
$ make install
Windows users
=============
Compilation process should not differ too much.
Installation will copy all necessary files to the set location.
Troubleshooting:
================
If you get the following error (could be only the last line!):
QT_QMAKE_EXECUTABLE set to qmake version: QTVERSION = **Unknown**
QT_QMAKE_EXECUTABLE = /usr/bin/qmake, please set to path to qmake from qt4.
Qt qmake not found!
Then you have to run cmake with the following switch:
$ cmake . -DQT_QMAKE_EXECUTABLE="/usr/lib/qt4/bin/qmake"
(replace the path to fit your needs).