Skip to content

Commit 8e85bd9

Browse files
committed
Adapt to the original PythonQt
1 parent b6130d1 commit 8e85bd9

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

build/common.prf

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@ CONFIG(debug, debug|release) {
1818
}
1919

2020
isEmpty(DESTDIR) {
21-
DESTDIR = $$GLOBAL_DESTDIR
21+
isEmpty(GLOBAL_DESTDIR): DESTDIR = $$PWD/../bin
22+
!isEmpty(GLOBAL_DESTDIR): DESTDIR = $$GLOBAL_DESTDIR
2223
}
2324

25+
2426
# Allow override (e.g., qmake PYTHONQT_GENERATED_PATH=/abs/path)
2527
isEmpty(PYTHONQT_GENERATED_PATH) {
2628
PYTHONQT_GENERATED_PATH = $$PWD/../generated_cpp

0 commit comments

Comments
 (0)