45 lines
1.7 KiB
Text
45 lines
1.7 KiB
Text
Index: mkspecs/features/functions.prf
|
|
--- mkspecs/features/functions.prf.orig
|
|
+++ mkspecs/features/functions.prf
|
|
@@ -44,11 +44,11 @@ defineReplace(which) {
|
|
|
|
# Returns the unquoted path to the python executable.
|
|
defineReplace(pythonPath) {
|
|
- isEmpty(QMAKE_PYTHON2) {
|
|
+ isEmpty(QMAKE_PYTHON) {
|
|
# Fallback for building QtWebEngine with Qt < 5.8
|
|
- QMAKE_PYTHON2 = python
|
|
+ QMAKE_PYTHON = python
|
|
}
|
|
- return($$QMAKE_PYTHON2)
|
|
+ return($$QMAKE_PYTHON)
|
|
}
|
|
|
|
# Returns the python executable for use with shell / make targets.
|
|
@@ -81,6 +81,10 @@ defineReplace(gnWebEngineArgs) {
|
|
include($$QTWEBENGINE_ROOT/src/buildtools/config/linux.pri)
|
|
include($$QTWEBENGINE_ROOT/src/core/config/linux.pri)
|
|
}
|
|
+ openbsd {
|
|
+ include($$QTWEBENGINE_ROOT/src/buildtools/config/openbsd.pri)
|
|
+ include($$QTWEBENGINE_ROOT/src/core/config/openbsd.pri)
|
|
+ }
|
|
macos {
|
|
include($$QTWEBENGINE_ROOT/src/buildtools/config/mac_osx.pri)
|
|
include($$QTWEBENGINE_ROOT/src/core/config/mac_osx.pri)
|
|
@@ -95,6 +99,7 @@ defineReplace(gnWebEngineArgs) {
|
|
|
|
defineReplace(gnPdfArgs) {
|
|
linux: include($$QTWEBENGINE_ROOT/src/buildtools/config/linux.pri)
|
|
+ openbsd: include($$QTWEBENGINE_ROOT/src/buildtools/config/opebsd.pri)
|
|
macos: include($$QTWEBENGINE_ROOT/src/buildtools/config/mac_osx.pri)
|
|
ios: include($$QTWEBENGINE_ROOT/src/pdf/config/ios.pri)
|
|
win32: include($$QTWEBENGINE_ROOT/src/buildtools/config/windows.pri)
|
|
@@ -119,6 +124,7 @@ defineReplace(gnOS) {
|
|
macos: return(mac)
|
|
win32: return(win)
|
|
linux: return(linux)
|
|
+ openbsd: return(openbsd)
|
|
error(Unsupported platform)
|
|
return(unknown)
|
|
}
|