Skip to content

Commit cae3702

Browse files
yurivictmrbean-bremen
authored andcommitted
Fix install paths by adding INSTALL_PREFIX
Otherwise install and lib folders are installed into root.
1 parent a2b967d commit cae3702

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

extensions/PythonQt_QtAll/PythonQt_QtAll.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,11 @@ unix {
5656
QMAKE_PKGCONFIG_VERSION = $$VERSION
5757
}
5858

59-
unix: target.path = /lib
59+
unix: target.path = $${INSTALL_PREFIX}/lib
6060
win32: target.path = /
6161

6262
headers.files = $${HEADERS}
63-
headers.path = /include
63+
headers.path = $${INSTALL_PREFIX}/include
6464

6565
INSTALLS += target headers
6666

src/src.pro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ unix {
5757
QMAKE_PKGCONFIG_VERSION = $$VERSION
5858
}
5959

60-
unix: target.path = /lib
60+
unix: target.path = $${INSTALL_PREFIX}/lib
6161
win32: target.path = /
6262

6363
headers.files = $${HEADERS} $$PWD/PythonQtPythonInclude.h
64-
headers.path = /include
64+
headers.path = $${INSTALL_PREFIX}/include
6565

6666
INSTALLS += target headers

0 commit comments

Comments
 (0)