1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
--- configure.cmake.orig 2023-11-20 16:08:07 UTC
+++ configure.cmake
@@ -67,7 +67,7 @@ endif()
endif()
#### Tests
-if(LINUX)
+if(LINUX OR FREEBSD)
check_for_ulimit()
endif()
@@ -439,7 +439,7 @@ qt_feature("webengine-ozone-x11" PRIVATE
qt_feature("webengine-ozone-x11" PRIVATE
LABEL "Support GLX on qpa-xcb"
- CONDITION LINUX
+ CONDITION LINUX OR FREEBSD
AND TARGET Qt::Gui
AND QT_FEATURE_xcb
AND X11_FOUND
@@ -476,12 +476,12 @@ add_check_for_support(
)
add_check_for_support(
MODULES QtWebEngine
- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS
+ CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows or macOS."
)
add_check_for_support(
MODULES QtPdf
- CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR (ANDROID AND NOT CMAKE_HOST_WIN32)
+ CONDITION LINUX OR (WIN32 AND NOT WIN_ARM_64) OR MACOS OR IOS OR (ANDROID AND NOT CMAKE_HOST_WIN32) OR FREEBSD
MESSAGE "Build can be done only on Linux, Windows, macO, iOS and Android(on non-Windows hosts only)."
)
if(LINUX AND CMAKE_CROSSCOMPILING)
@@ -503,13 +503,6 @@ add_check_for_support(
MESSAGE "node.js version 14 or later is required."
)
add_check_for_support(
- MODULES QtWebEngine
- CONDITION NOT (Nodejs_ARCH STREQUAL ia32) AND
- NOT (Nodejs_ARCH STREQUAL x86) AND
- NOT (Nodejs_ARCH STREQUAL arm)
- MESSAGE "32bit version of Nodejs is not supported."
-)
-add_check_for_support(
MODULES QtWebEngine QtPdf
CONDITION Python3_EXECUTABLE
MESSAGE "Python version 3.6 or later is required."
@@ -587,8 +580,8 @@ add_check_for_support(
add_check_for_support(
MODULES QtWebEngine
CONDITION MSVC OR
- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL GNU) OR
- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL GNU) OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) OR
(MACOS AND CMAKE_CXX_COMPILER_ID STREQUAL AppleClang)
MESSAGE
"${CMAKE_CXX_COMPILER_ID} compiler is not supported."
@@ -597,8 +590,8 @@ add_check_for_support(
add_check_for_support(
MODULES QtPdf
CONDITION MSVC OR
- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL GNU) OR
- (LINUX AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL GNU) OR
+ (FREEBSD AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) OR
(APPLE AND CMAKE_CXX_COMPILER_ID STREQUAL AppleClang) OR
(ANDROID AND CMAKE_CXX_COMPILER_ID STREQUAL Clang) OR
(MINGW AND CMAKE_CXX_COMPILER_ID STREQUAL GNU) OR
|