From f9977e1c3edd9313587d8f59e3e4e515bedc6382 Mon Sep 17 00:00:00 2001 From: 3dsman <3dsman@free.fr> Date: Sat, 8 Dec 2018 11:10:27 +0100 Subject: [PATCH] add compilation instruction for linux mint and qmake issue when QT5 and QT4 is present --- INSTALL_LINUX.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/INSTALL_LINUX.md b/INSTALL_LINUX.md index 8692186869..914006980a 100644 --- a/INSTALL_LINUX.md +++ b/INSTALL_LINUX.md @@ -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: @@ -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.