Skip to content

Commit

Permalink
add compilation instruction for linux mint and qmake issue when QT5 a…
Browse files Browse the repository at this point in the history
…nd QT4 is present
  • Loading branch information
3dsman committed Dec 8, 2018
1 parent 0a028b6 commit f9977e1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions INSTALL_LINUX.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ To build, go into the Natron directory and type:
make

If everything has been installed and configured correctly, it should build without errors.
if you have both QT4 and QT5 installed qmake can generate errors, you can try

QT_SELECT=4 qmake -r
make

If you want to build in DEBUG mode change the qmake call to this line:

Expand Down Expand Up @@ -260,6 +264,17 @@ expat: PKGCONFIG -= expat
cairo: PKGCONFIG -= cairo
```

for linux mint you will need to add:

```
pyside {
PYSIDE_PKG_CONFIG_PATH = $$system($$PYTHON_CONFIG --prefix)/lib/pkgconfig:$$(PKG_CONFIG_PATH)
PKGCONFIG += pyside
INCLUDEPATH += $$system(env PKG_CONFIG_PATH=$$PYSIDE_PKG_CONFIG_PATH pkg-config --variable=includedir pyside)/QtCore
INCLUDEPATH += $$system(env PKG_CONFIG_PATH=$$PYSIDE_PKG_CONFIG_PATH pkg-config --variable=includedir pyside)/QtGui
}
```

## CentOS7

Instructions for CentOS and Fedora.
Expand Down

0 comments on commit f9977e1

Please sign in to comment.