Spaces:
Sleeping
Sleeping
d847574c8f6c197569b60b2dd809a0604e0bb62e61e37d161542137b0eeb6e6f
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtmultimedia/remove_unistd.patch +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtmultimedia/vcpkg.json +59 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtnetworkauth/portfile.cmake +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtnetworkauth/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtopcua/portfile.cmake +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtopcua/vcpkg.json +68 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtpositioning/portfile.cmake +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtpositioning/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquick3d/portfile.cmake +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquick3d/vcpkg.json +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquickcontrols2/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquickcontrols2/vcpkg.json +9 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquicktimeline/portfile.cmake +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquicktimeline/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtremoteobjects/portfile.cmake +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtremoteobjects/vcpkg.json +43 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtscxml/portfile.cmake +20 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtscxml/vcpkg.json +32 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsensors/portfile.cmake +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsensors/vcpkg.json +31 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialbus/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialbus/vcpkg.json +33 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialport/portfile.cmake +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialport/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtshadertools/portfile.cmake +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtshadertools/vcpkg.json +21 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsvg/portfile.cmake +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsvg/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/fix_static_build.patch +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/no_src_changes.patch +41 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/portfile.cmake +149 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/vcpkg.json +83 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/windeployqt.debug.bat +10 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttranslations/portfile.cmake +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttranslations/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch +26 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/portfile.cmake +29 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/vcpkg.json +48 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwayland/portfile.cmake +25 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwayland/vcpkg.json +28 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebchannel/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebchannel/vcpkg.json +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebengine/portfile.cmake +117 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebengine/vcpkg.json +151 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebsockets/portfile.cmake +18 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebsockets/vcpkg.json +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebview/portfile.cmake +22 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebview/vcpkg.json +37 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/quadtree/portfile.cmake +19 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/quadtree/vcpkg.json +7 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtmultimedia/remove_unistd.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/multimedia/platform/gstreamer/audio/qgstreameraudiosink.cpp b/src/multimedia/platform/gstreamer/audio/qgstreameraudiosink.cpp
|
2 |
+
index d4806b23a..f985a973b 100644
|
3 |
+
--- a/src/multimedia/platform/gstreamer/audio/qgstreameraudiosink.cpp
|
4 |
+
+++ b/src/multimedia/platform/gstreamer/audio/qgstreameraudiosink.cpp
|
5 |
+
@@ -45,7 +45,6 @@
|
6 |
+
#include "qgstreameraudiosink_p.h"
|
7 |
+
#include "qgstreameraudiodevice_p.h"
|
8 |
+
#include <sys/types.h>
|
9 |
+
-#include <unistd.h>
|
10 |
+
|
11 |
+
#include <private/qgstpipeline_p.h>
|
12 |
+
#include <private/qgstappsrc_p.h>
|
13 |
+
diff --git a/src/multimedia/platform/gstreamer/audio/qgstreameraudiosource.cpp b/src/multimedia/platform/gstreamer/audio/qgstreameraudiosource.cpp
|
14 |
+
index 51fc26c42..3b04a77bb 100644
|
15 |
+
--- a/src/multimedia/platform/gstreamer/audio/qgstreameraudiosource.cpp
|
16 |
+
+++ b/src/multimedia/platform/gstreamer/audio/qgstreameraudiosource.cpp
|
17 |
+
@@ -45,7 +45,6 @@
|
18 |
+
#include "qgstreameraudiosource_p.h"
|
19 |
+
#include "qgstreameraudiodevice_p.h"
|
20 |
+
#include <sys/types.h>
|
21 |
+
-#include <unistd.h>
|
22 |
+
|
23 |
+
#include <gst/gst.h>
|
24 |
+
Q_DECLARE_OPAQUE_POINTER(GstSample *);
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtmultimedia/vcpkg.json
ADDED
@@ -0,0 +1,59 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtmultimedia",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Multimedia",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "alsa",
|
10 |
+
"platform": "linux"
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "qtbase",
|
14 |
+
"default-features": false,
|
15 |
+
"features": [
|
16 |
+
"gui",
|
17 |
+
"network"
|
18 |
+
]
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "qtshadertools",
|
22 |
+
"host": true,
|
23 |
+
"default-features": false
|
24 |
+
}
|
25 |
+
],
|
26 |
+
"default-features": [
|
27 |
+
"widgets"
|
28 |
+
],
|
29 |
+
"features": {
|
30 |
+
"gstreamer": {
|
31 |
+
"description": "Build with gstreamer",
|
32 |
+
"dependencies": [
|
33 |
+
"angle",
|
34 |
+
"gstreamer"
|
35 |
+
]
|
36 |
+
},
|
37 |
+
"qml": {
|
38 |
+
"description": "Build QML imports",
|
39 |
+
"dependencies": [
|
40 |
+
{
|
41 |
+
"name": "qtdeclarative",
|
42 |
+
"default-features": false
|
43 |
+
}
|
44 |
+
]
|
45 |
+
},
|
46 |
+
"widgets": {
|
47 |
+
"description": "Build Multimedia Widgets",
|
48 |
+
"dependencies": [
|
49 |
+
{
|
50 |
+
"name": "qtbase",
|
51 |
+
"default-features": false,
|
52 |
+
"features": [
|
53 |
+
"widgets"
|
54 |
+
]
|
55 |
+
}
|
56 |
+
]
|
57 |
+
}
|
58 |
+
}
|
59 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtnetworkauth/portfile.cmake
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
7 |
+
CONFIGURE_OPTIONS
|
8 |
+
CONFIGURE_OPTIONS_RELEASE
|
9 |
+
CONFIGURE_OPTIONS_DEBUG
|
10 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtnetworkauth/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtnetworkauth",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Network Authenticators; QtOAuth in particular",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"network"
|
13 |
+
]
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtopcua/portfile.cmake
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
# General features:
|
5 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
6 |
+
FEATURES
|
7 |
+
"open62541" FEATURE_open62541
|
8 |
+
# "open62541" FEATURE_open62541_security # requires vendored open62541
|
9 |
+
"uacpp" FEATURE_uacpp
|
10 |
+
"ns0idnames" FEATURE_ns0idnames
|
11 |
+
"ns0idgenerator" FEATURE_ns0idgenerator
|
12 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
13 |
+
INVERTED_FEATURES
|
14 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
15 |
+
)
|
16 |
+
if("open62541" IN_LIST FEATURES)
|
17 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=system
|
18 |
+
-DHAVE_open62541=true)
|
19 |
+
else()
|
20 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_open62541=no)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
if(NOT "open62541" IN_LIST FEATURES AND NOT "gds" IN_LIST FEATURES)
|
24 |
+
list(APPEND FEATURE_OPTIONS -DCMAKE_DISABLE_FIND_PACKAGE_WrapOpenSSL=ON)
|
25 |
+
endif()
|
26 |
+
|
27 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
28 |
+
CONFIGURE_OPTIONS
|
29 |
+
${FEATURE_OPTIONS}
|
30 |
+
CONFIGURE_OPTIONS_RELEASE
|
31 |
+
CONFIGURE_OPTIONS_DEBUG
|
32 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtopcua/vcpkg.json
ADDED
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtopcua",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt wrapper for existing OPC UA stacks",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"network"
|
13 |
+
]
|
14 |
+
}
|
15 |
+
],
|
16 |
+
"default-features": [
|
17 |
+
"default-features",
|
18 |
+
"gds",
|
19 |
+
"ns0idnames",
|
20 |
+
"open62541"
|
21 |
+
],
|
22 |
+
"features": {
|
23 |
+
"default-features": {
|
24 |
+
"description": "Platform-dependent default features"
|
25 |
+
},
|
26 |
+
"gds": {
|
27 |
+
"description": "Support for global discovery server"
|
28 |
+
},
|
29 |
+
"ns0idgenerator": {
|
30 |
+
"description": "Namespace 0 NodeIds generator from the NodeIds.csv file."
|
31 |
+
},
|
32 |
+
"ns0idnames": {
|
33 |
+
"description": "Support for namespace 0 NodeId names"
|
34 |
+
},
|
35 |
+
"open62541": {
|
36 |
+
"description": "Open62541 with plugin to connect to servers with signing and encryption",
|
37 |
+
"dependencies": [
|
38 |
+
{
|
39 |
+
"name": "open62541",
|
40 |
+
"default-features": false,
|
41 |
+
"features": [
|
42 |
+
"amalgamation",
|
43 |
+
"openssl"
|
44 |
+
]
|
45 |
+
}
|
46 |
+
]
|
47 |
+
},
|
48 |
+
"qml": {
|
49 |
+
"description": "Build QML imports",
|
50 |
+
"dependencies": [
|
51 |
+
{
|
52 |
+
"name": "qtbase",
|
53 |
+
"default-features": false,
|
54 |
+
"features": [
|
55 |
+
"gui"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"name": "qtdeclarative",
|
60 |
+
"default-features": false
|
61 |
+
}
|
62 |
+
]
|
63 |
+
},
|
64 |
+
"uacpp": {
|
65 |
+
"description": "Unified Automation C++ SDK"
|
66 |
+
}
|
67 |
+
}
|
68 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtpositioning/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
5 |
+
FEATURES
|
6 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
7 |
+
INVERTED_FEATURES
|
8 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
9 |
+
)
|
10 |
+
|
11 |
+
list(APPEND FEATURE_OPTIONS "-DCMAKE_DISABLE_FIND_PACKAGE_Gypsy=ON"
|
12 |
+
"-DCMAKE_DISABLE_FIND_PACKAGE_Gconf=ON"
|
13 |
+
)
|
14 |
+
|
15 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
16 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
17 |
+
CONFIGURE_OPTIONS_RELEASE
|
18 |
+
CONFIGURE_OPTIONS_DEBUG
|
19 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtpositioning/vcpkg.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtpositioning",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Positioning",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "qtserialport",
|
14 |
+
"default-features": false
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"features": {
|
18 |
+
"qml": {
|
19 |
+
"description": "Build QML imports",
|
20 |
+
"dependencies": [
|
21 |
+
{
|
22 |
+
"name": "qtdeclarative",
|
23 |
+
"default-features": false
|
24 |
+
}
|
25 |
+
]
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquick3d/portfile.cmake
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
# General features:
|
5 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
6 |
+
FEATURES
|
7 |
+
"assimp" FEATURE_quick3d_assimp
|
8 |
+
#"assimp" CMAKE_REQUIRE_FIND_PACKAGE_WrapQuick3DAssimp
|
9 |
+
INVERTED_FEATURES
|
10 |
+
"assimp" CMAKE_DISABLE_FIND_PACKAGE_WrapQuick3DAssimp
|
11 |
+
)
|
12 |
+
|
13 |
+
if("assimp" IN_LIST FEATURES)
|
14 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_quick3d_assimp=system -DTEST_quick3d_assimp=ON -DHAVE_Assimp=ON)
|
15 |
+
else()
|
16 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_quick3d_assimp=no)
|
17 |
+
endif()
|
18 |
+
|
19 |
+
set(TOOL_NAMES balsam balsamui meshdebug shadergen instancer)
|
20 |
+
|
21 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
22 |
+
TOOL_NAMES ${TOOL_NAMES}
|
23 |
+
CONFIGURE_OPTIONS
|
24 |
+
${FEATURE_OPTIONS}
|
25 |
+
CONFIGURE_OPTIONS_RELEASE
|
26 |
+
CONFIGURE_OPTIONS_DEBUG
|
27 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquick3d/vcpkg.json
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtquick3d",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "A new module and API for defining 3D content in Qt Quick.",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"qtdeclarative",
|
16 |
+
{
|
17 |
+
"name": "qtquick3d",
|
18 |
+
"host": true,
|
19 |
+
"default-features": false
|
20 |
+
},
|
21 |
+
"qtquicktimeline",
|
22 |
+
"qtshadertools"
|
23 |
+
],
|
24 |
+
"default-features": [
|
25 |
+
"default-features"
|
26 |
+
],
|
27 |
+
"features": {
|
28 |
+
"assimp": {
|
29 |
+
"$comment": "feature assimp requires a newer version of assimp than available within vcpkg. Install assimp with e.g. --head or use an overlay",
|
30 |
+
"description": "assimp",
|
31 |
+
"dependencies": [
|
32 |
+
"assimp"
|
33 |
+
]
|
34 |
+
},
|
35 |
+
"default-features": {
|
36 |
+
"description": "Platform-dependent default features"
|
37 |
+
}
|
38 |
+
}
|
39 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquickcontrols2/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquickcontrols2/vcpkg.json
ADDED
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtquickcontrols2",
|
3 |
+
"version-semver": "6.2.0",
|
4 |
+
"description": "Qt Quick Controls 2 (deprecated). Included in qtdeclarative",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"dependencies": [
|
7 |
+
"qtdeclarative"
|
8 |
+
]
|
9 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquicktimeline/portfile.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
set(TOOL_NAMES)
|
7 |
+
|
8 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
9 |
+
TOOL_NAMES ${TOOL_NAMES}
|
10 |
+
CONFIGURE_OPTIONS
|
11 |
+
CONFIGURE_OPTIONS_RELEASE
|
12 |
+
CONFIGURE_OPTIONS_DEBUG
|
13 |
+
)
|
14 |
+
|
15 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) # QML plugin only
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtquicktimeline/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtquicktimeline",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Module for keyframe-based timeline construction.",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
"qtdeclarative"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtremoteobjects/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
set(TOOL_NAMES repc)
|
6 |
+
|
7 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
8 |
+
FEATURES
|
9 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
10 |
+
INVERTED_FEATURES
|
11 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
12 |
+
)
|
13 |
+
|
14 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
15 |
+
TOOL_NAMES ${TOOL_NAMES}
|
16 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
17 |
+
CONFIGURE_OPTIONS_RELEASE
|
18 |
+
CONFIGURE_OPTIONS_DEBUG
|
19 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtremoteobjects/vcpkg.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtremoteobjects",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt distributed object system",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"network"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtdeclarative",
|
17 |
+
"default-features": false
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"name": "qtremoteobjects",
|
21 |
+
"host": true,
|
22 |
+
"default-features": false
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"features": {
|
26 |
+
"qml": {
|
27 |
+
"description": "Build QML imports",
|
28 |
+
"dependencies": [
|
29 |
+
{
|
30 |
+
"name": "qtbase",
|
31 |
+
"default-features": false,
|
32 |
+
"features": [
|
33 |
+
"gui"
|
34 |
+
]
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"name": "qtdeclarative",
|
38 |
+
"default-features": false
|
39 |
+
}
|
40 |
+
]
|
41 |
+
}
|
42 |
+
}
|
43 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtscxml/portfile.cmake
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
set(TOOL_NAMES qscxmlc)
|
7 |
+
|
8 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
9 |
+
FEATURES
|
10 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Qml
|
11 |
+
INVERTED_FEATURES
|
12 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Qml
|
13 |
+
)
|
14 |
+
|
15 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
16 |
+
TOOL_NAMES ${TOOL_NAMES}
|
17 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
18 |
+
CONFIGURE_OPTIONS_RELEASE
|
19 |
+
CONFIGURE_OPTIONS_DEBUG
|
20 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtscxml/vcpkg.json
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtscxml",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "SCXML (state machine notation) compiler and related tools",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtscxml",
|
17 |
+
"host": true,
|
18 |
+
"default-features": false
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"features": {
|
22 |
+
"qml": {
|
23 |
+
"description": "Build QML imports",
|
24 |
+
"dependencies": [
|
25 |
+
{
|
26 |
+
"name": "qtdeclarative",
|
27 |
+
"default-features": false
|
28 |
+
}
|
29 |
+
]
|
30 |
+
}
|
31 |
+
}
|
32 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsensors/portfile.cmake
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
7 |
+
FEATURES
|
8 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
9 |
+
INVERTED_FEATURES
|
10 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
11 |
+
)
|
12 |
+
|
13 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
14 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
15 |
+
CONFIGURE_OPTIONS_RELEASE
|
16 |
+
CONFIGURE_OPTIONS_DEBUG
|
17 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsensors/vcpkg.json
ADDED
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtsensors",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Sensors",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"dbus"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtconnectivity",
|
17 |
+
"default-features": false
|
18 |
+
}
|
19 |
+
],
|
20 |
+
"features": {
|
21 |
+
"qml": {
|
22 |
+
"description": "Build QML imports",
|
23 |
+
"dependencies": [
|
24 |
+
{
|
25 |
+
"name": "qtdeclarative",
|
26 |
+
"default-features": false
|
27 |
+
}
|
28 |
+
]
|
29 |
+
}
|
30 |
+
}
|
31 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialbus/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(TOOL_NAMES
|
5 |
+
canbusutil
|
6 |
+
)
|
7 |
+
|
8 |
+
# Probably not worth the time to make it features:
|
9 |
+
# qt_configure_add_summary_entry(ARGS "socketcan") # only unix
|
10 |
+
# qt_configure_add_summary_entry(ARGS "socketcan_fd") # only unix
|
11 |
+
# qt_configure_add_summary_entry(ARGS "modbus-serialport")
|
12 |
+
|
13 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
14 |
+
TOOL_NAMES ${TOOL_NAMES}
|
15 |
+
CONFIGURE_OPTIONS
|
16 |
+
CONFIGURE_OPTIONS_RELEASE
|
17 |
+
CONFIGURE_OPTIONS_DEBUG
|
18 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialbus/vcpkg.json
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtserialbus",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Support for CAN and potentially other serial buses.",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"network"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtserialbus",
|
17 |
+
"host": true,
|
18 |
+
"default-features": false
|
19 |
+
},
|
20 |
+
{
|
21 |
+
"name": "qtserialport",
|
22 |
+
"default-features": false
|
23 |
+
}
|
24 |
+
],
|
25 |
+
"default-features": [
|
26 |
+
"default-features"
|
27 |
+
],
|
28 |
+
"features": {
|
29 |
+
"default-features": {
|
30 |
+
"description": "Platform-dependent default features"
|
31 |
+
}
|
32 |
+
}
|
33 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialport/portfile.cmake
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
7 |
+
CONFIGURE_OPTIONS
|
8 |
+
CONFIGURE_OPTIONS_RELEASE
|
9 |
+
CONFIGURE_OPTIONS_DEBUG
|
10 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtserialport/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtserialport",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Serial Port support",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtshadertools/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
set(TOOL_NAMES qsb)
|
7 |
+
|
8 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
9 |
+
TOOL_NAMES ${TOOL_NAMES}
|
10 |
+
CONFIGURE_OPTIONS
|
11 |
+
CONFIGURE_OPTIONS_RELEASE
|
12 |
+
CONFIGURE_OPTIONS_DEBUG
|
13 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtshadertools/vcpkg.json
ADDED
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtshadertools",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "APIs and tools in this module provide the producer functionality for the shader pipeline that allows Qt Quick to operate on Vulkan, Metal, and Direct3D, in addition to OpenGL.",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtshadertools",
|
17 |
+
"host": true,
|
18 |
+
"default-features": false
|
19 |
+
}
|
20 |
+
]
|
21 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsvg/portfile.cmake
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
set(TOOL_NAMES)
|
7 |
+
|
8 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
9 |
+
TOOL_NAMES ${TOOL_NAMES}
|
10 |
+
CONFIGURE_OPTIONS
|
11 |
+
CONFIGURE_OPTIONS_RELEASE
|
12 |
+
CONFIGURE_OPTIONS_DEBUG
|
13 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtsvg/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtsvg",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt SVG",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
}
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/fix_static_build.patch
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/designer/src/components/lib/CMakeLists.txt b/src/designer/src/components/lib/CMakeLists.txt
|
2 |
+
index 53358741f..ce070bd6a 100644
|
3 |
+
--- a/src/designer/src/components/lib/CMakeLists.txt
|
4 |
+
+++ b/src/designer/src/components/lib/CMakeLists.txt
|
5 |
+
@@ -878,7 +878,7 @@ qt_internal_add_resource(DesignerComponents "widgetbox"
|
6 |
+
## Scopes:
|
7 |
+
#####################################################################
|
8 |
+
|
9 |
+
-qt_internal_extend_target(DesignerComponents CONDITION static
|
10 |
+
+qt_internal_extend_target(DesignerComponents CONDITION NOT BUILD_SHARED_LIBS
|
11 |
+
DEFINES
|
12 |
+
QT_DESIGNER_STATIC
|
13 |
+
)
|
14 |
+
diff --git a/src/designer/src/designer/CMakeLists.txt b/src/designer/src/designer/CMakeLists.txt
|
15 |
+
index f786f1dd6..8c635ff14 100644
|
16 |
+
--- a/src/designer/src/designer/CMakeLists.txt
|
17 |
+
+++ b/src/designer/src/designer/CMakeLists.txt
|
18 |
+
@@ -103,8 +103,8 @@ qt_internal_extend_target(designer CONDITION TARGET Qt::PrintSupport
|
19 |
+
PUBLIC_LIBRARIES
|
20 |
+
Qt::PrintSupport
|
21 |
+
)
|
22 |
+
|
23 |
+
-qt_internal_extend_target(designer CONDITION QT_CONFIG___contains___static
|
24 |
+
+qt_internal_extend_target(designer CONDITION NOT BUILD_SHARED_LIBS
|
25 |
+
DEFINES
|
26 |
+
QT_DESIGNER_STATIC
|
27 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/no_src_changes.patch
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
2 |
+
index 20bd474..7b69743 100644
|
3 |
+
--- a/CMakeLists.txt
|
4 |
+
+++ b/CMakeLists.txt
|
5 |
+
@@ -187,13 +187,13 @@ endif()
|
6 |
+
if(WIN32)
|
7 |
+
file(TO_NATIVE_PATH ${XXD_COMMAND} XXD_COMMAND)
|
8 |
+
file(TO_NATIVE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/include/master.css MASTER_FILE)
|
9 |
+
- add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc
|
10 |
+
- COMMAND type ${MASTER_FILE} | "${XXD_COMMAND}" -i > ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc)
|
11 |
+
+ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc
|
12 |
+
+ COMMAND type ${MASTER_FILE} | "${XXD_COMMAND}" -i > ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc)
|
13 |
+
else()
|
14 |
+
- add_custom_command(OUTPUT ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc
|
15 |
+
- COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/include/master.css | xxd -i > ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc)
|
16 |
+
+ add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc
|
17 |
+
+ COMMAND cat ${CMAKE_CURRENT_SOURCE_DIR}/include/master.css | xxd -i > ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc)
|
18 |
+
endif()
|
19 |
+
-set_source_files_properties(${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc PROPERTIES GENERATED TRUE)
|
20 |
+
+set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc PROPERTIES GENERATED TRUE)
|
21 |
+
|
22 |
+
# Tests
|
23 |
+
|
24 |
+
@@ -218,7 +218,7 @@ if (BUILD_TESTING)
|
25 |
+
add_executable(
|
26 |
+
${TEST_NAME}
|
27 |
+
${TEST_LITEHTML}
|
28 |
+
- ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc
|
29 |
+
+ ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc
|
30 |
+
)
|
31 |
+
|
32 |
+
set_target_properties(${TEST_NAME} PROPERTIES
|
33 |
+
@@ -243,7 +243,7 @@ if (BUILD_TESTING)
|
34 |
+
endif()
|
35 |
+
|
36 |
+
# set(TEST_NAME ${PROJECT_NAME}_tests)
|
37 |
+
-# add_executable(${TEST_NAME} ${TEST_LITEHTML} ${CMAKE_CURRENT_SOURCE_DIR}/src/master.css.inc)
|
38 |
+
+# add_executable(${TEST_NAME} ${TEST_LITEHTML} ${CMAKE_CURRENT_BINARY_DIR}/src/master.css.inc)
|
39 |
+
# set_target_properties(${TEST_NAME} PROPERTIES
|
40 |
+
# CXX_STANDARD 11
|
41 |
+
# C_STANDARD 99
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/portfile.cmake
ADDED
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES )#fix_static_build.patch)
|
5 |
+
|
6 |
+
#TODO check features and setup: (means force features!)
|
7 |
+
|
8 |
+
# -- The following OPTIONAL packages have not been found:
|
9 |
+
|
10 |
+
# * Qt6AxContainer
|
11 |
+
# * Clang
|
12 |
+
# * WrapLibClang (required version >= 8)
|
13 |
+
|
14 |
+
# Configure summary:
|
15 |
+
|
16 |
+
# Qt Tools:
|
17 |
+
# Qt Assistant ........................... yes
|
18 |
+
# QDoc ................................... no
|
19 |
+
# Clang-based lupdate parser ............. no
|
20 |
+
# Qt Designer ............................ yes
|
21 |
+
# Qt Distance Field Generator ............ yes
|
22 |
+
# kmap2qmap .............................. yes
|
23 |
+
# Qt Linguist ............................ yes
|
24 |
+
# Mac Deployment Tool .................... no
|
25 |
+
# pixeltool .............................. yes
|
26 |
+
# qdbus .................................. yes
|
27 |
+
# qev .................................... yes
|
28 |
+
# Qt Attributions Scanner ................ yes
|
29 |
+
# qtdiag ................................. yes
|
30 |
+
# qtpaths ................................ yes
|
31 |
+
# qtplugininfo ........................... yes
|
32 |
+
# Windows deployment tool ................ yes
|
33 |
+
|
34 |
+
# General features:
|
35 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
36 |
+
FEATURES
|
37 |
+
"assistant" FEATURE_assistant
|
38 |
+
"designer" FEATURE_designer
|
39 |
+
"linguist" FEATURE_linguist
|
40 |
+
"qdoc" CMAKE_REQUIRE_FIND_PACKAGE_Clang
|
41 |
+
#"qdoc" CMAKE_REQUIRE_FIND_PACKAGE_WrapLibClang
|
42 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
43 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6QuickWidgets
|
44 |
+
INVERTED_FEATURES
|
45 |
+
"qdoc" CMAKE_DISABLE_FIND_PACKAGE_Clang
|
46 |
+
"qdoc" CMAKE_DISABLE_FIND_PACKAGE_WrapLibClang
|
47 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
48 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6QuickWidgets
|
49 |
+
)
|
50 |
+
|
51 |
+
set(TOOL_NAMES
|
52 |
+
assistant
|
53 |
+
designer
|
54 |
+
lconvert
|
55 |
+
linguist
|
56 |
+
lprodump
|
57 |
+
lrelease-pro
|
58 |
+
lrelease
|
59 |
+
lupdate-pro
|
60 |
+
lupdate
|
61 |
+
pixeltool
|
62 |
+
qcollectiongenerator
|
63 |
+
qdistancefieldgenerator
|
64 |
+
qhelpgenerator
|
65 |
+
qtattributionsscanner
|
66 |
+
qtdiag
|
67 |
+
qtdiag6
|
68 |
+
qtpaths
|
69 |
+
qtplugininfo
|
70 |
+
qdbus
|
71 |
+
qdbusviewer
|
72 |
+
qdoc
|
73 |
+
)
|
74 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
75 |
+
list(APPEND TOOL_NAMES windeployqt)
|
76 |
+
elseif(VCPKG_TARGET_IS_OSX)
|
77 |
+
list(APPEND TOOL_NAMES macdeployqt)
|
78 |
+
endif()
|
79 |
+
|
80 |
+
### Download third_party modules
|
81 |
+
vcpkg_from_git(
|
82 |
+
OUT_SOURCE_PATH SOURCE_PATH_QLITEHTML
|
83 |
+
URL git://code.qt.io/playground/qlitehtml.git # git://code.qt.io/playground/qlitehtml.git
|
84 |
+
REF "${${PORT}_qlitehtml_REF}"
|
85 |
+
FETCH_REF master
|
86 |
+
HEAD_REF master
|
87 |
+
)
|
88 |
+
# port 'litehtml' is not in vcpkg!
|
89 |
+
vcpkg_from_github(
|
90 |
+
OUT_SOURCE_PATH SOURCE_PATH_LITEHTML
|
91 |
+
REPO litehtml/litehtml
|
92 |
+
REF "${${PORT}_litehtml_REF}"
|
93 |
+
SHA512 "${${PORT}_litehtml_HASH}"
|
94 |
+
HEAD_REF master
|
95 |
+
PATCHES no_src_changes.patch
|
96 |
+
)
|
97 |
+
|
98 |
+
##### qt_install_submodule
|
99 |
+
set(qt_plugindir ${QT6_DIRECTORY_PREFIX}plugins)
|
100 |
+
set(qt_qmldir ${QT6_DIRECTORY_PREFIX}qml)
|
101 |
+
|
102 |
+
qt_download_submodule(PATCHES ${${PORT}_PATCHES})
|
103 |
+
if(QT_UPDATE_VERSION)
|
104 |
+
return()
|
105 |
+
endif()
|
106 |
+
file(COPY "${SOURCE_PATH_QLITEHTML}/" DESTINATION "${SOURCE_PATH}/src/assistant/qlitehtml")
|
107 |
+
file(COPY "${SOURCE_PATH_LITEHTML}/" DESTINATION "${SOURCE_PATH}/src/assistant/qlitehtml/src/3rdparty/litehtml")
|
108 |
+
|
109 |
+
|
110 |
+
if(_qis_DISABLE_NINJA)
|
111 |
+
set(_opt DISABLE_NINJA)
|
112 |
+
endif()
|
113 |
+
qt_cmake_configure(${_opt}
|
114 |
+
OPTIONS ${FEATURE_OPTIONS}
|
115 |
+
-DCMAKE_DISABLE_FIND_PACKAGE_Qt6AxContainer=ON
|
116 |
+
OPTIONS_DEBUG ${_qis_CONFIGURE_OPTIONS_DEBUG}
|
117 |
+
OPTIONS_RELEASE ${_qis_CONFIGURE_OPTIONS_RELEASE})
|
118 |
+
|
119 |
+
vcpkg_cmake_install(ADD_BIN_TO_PATH)
|
120 |
+
|
121 |
+
qt_fixup_and_cleanup(TOOL_NAMES ${TOOL_NAMES})
|
122 |
+
|
123 |
+
qt_install_copyright("${SOURCE_PATH}")
|
124 |
+
|
125 |
+
##### qt_install_submodule
|
126 |
+
|
127 |
+
if(VCPKG_TARGET_IS_OSX)
|
128 |
+
set(OSX_APP_FOLDERS Designer.app Linguist.app pixeltool.app qdbusviewer.app)
|
129 |
+
foreach(_appfolder IN LISTS OSX_APP_FOLDERS)
|
130 |
+
message(STATUS "Moving: ${_appfolder}")
|
131 |
+
file(MAKE_DIRECTORY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}")
|
132 |
+
file(RENAME "${CURRENT_PACKAGES_DIR}/bin/${_appfolder}/" "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${_appfolder}/")
|
133 |
+
endforeach()
|
134 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
|
135 |
+
endif()
|
136 |
+
|
137 |
+
set(configfile "${CURRENT_PACKAGES_DIR}/share/Qt6ToolsTools/Qt6ToolsToolsTargets-debug.cmake")
|
138 |
+
if(EXISTS "${configfile}" AND EXISTS "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin/windeployqt.exe")
|
139 |
+
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/windeployqt.debug.bat" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/Qt6/bin")
|
140 |
+
file(READ "${configfile}" _contents)
|
141 |
+
string(REPLACE [[${_IMPORT_PREFIX}/tools/Qt6/bin/windeployqt.exe]] [[${_IMPORT_PREFIX}/tools/Qt6/bin/windeployqt.debug.bat]] _contents "${_contents}")
|
142 |
+
file(WRITE "${configfile}" "${_contents}")
|
143 |
+
endif()
|
144 |
+
|
145 |
+
file(GLOB_RECURSE debug_dir "${CURRENT_PACKAGES_DIR}/debug/*")
|
146 |
+
list(LENGTH debug_dir debug_dir_elements)
|
147 |
+
if(debug_dir_elements EQUAL 0)
|
148 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
149 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/vcpkg.json
ADDED
@@ -0,0 +1,83 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qttools",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Tools",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "qttools",
|
14 |
+
"host": true,
|
15 |
+
"default-features": false,
|
16 |
+
"features": [
|
17 |
+
"assistant",
|
18 |
+
"linguist"
|
19 |
+
]
|
20 |
+
}
|
21 |
+
],
|
22 |
+
"features": {
|
23 |
+
"assistant": {
|
24 |
+
"description": "Build Qt Assistant",
|
25 |
+
"dependencies": [
|
26 |
+
{
|
27 |
+
"name": "qtbase",
|
28 |
+
"default-features": false,
|
29 |
+
"features": [
|
30 |
+
"network",
|
31 |
+
"sql-sqlite"
|
32 |
+
]
|
33 |
+
}
|
34 |
+
]
|
35 |
+
},
|
36 |
+
"designer": {
|
37 |
+
"description": "Build Qt Designer",
|
38 |
+
"dependencies": [
|
39 |
+
{
|
40 |
+
"name": "qtbase",
|
41 |
+
"default-features": false,
|
42 |
+
"features": [
|
43 |
+
"network"
|
44 |
+
]
|
45 |
+
}
|
46 |
+
]
|
47 |
+
},
|
48 |
+
"linguist": {
|
49 |
+
"description": "Build Qt Linguist components",
|
50 |
+
"dependencies": [
|
51 |
+
{
|
52 |
+
"name": "qttools",
|
53 |
+
"default-features": false,
|
54 |
+
"features": [
|
55 |
+
"designer"
|
56 |
+
]
|
57 |
+
}
|
58 |
+
]
|
59 |
+
},
|
60 |
+
"qdoc": {
|
61 |
+
"description": "Build QDoc.",
|
62 |
+
"dependencies": [
|
63 |
+
"llvm"
|
64 |
+
]
|
65 |
+
},
|
66 |
+
"qml": {
|
67 |
+
"description": "Build QML imports",
|
68 |
+
"dependencies": [
|
69 |
+
{
|
70 |
+
"name": "qtbase",
|
71 |
+
"default-features": false,
|
72 |
+
"features": [
|
73 |
+
"gui"
|
74 |
+
]
|
75 |
+
},
|
76 |
+
{
|
77 |
+
"name": "qtdeclarative",
|
78 |
+
"default-features": false
|
79 |
+
}
|
80 |
+
]
|
81 |
+
}
|
82 |
+
}
|
83 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttools/windeployqt.debug.bat
ADDED
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@echo off
|
2 |
+
setlocal
|
3 |
+
set mypath=%~dp0
|
4 |
+
set mypath=%mypath:~0,-1%
|
5 |
+
cd %mypath%\..\..\..\debug\bin
|
6 |
+
set BAKCD=%CD%
|
7 |
+
set PATH=%CD%;%PATH%
|
8 |
+
"%mypath%\windeployqt.exe" --qmake "%mypath%\qmake.debug.bat" %*
|
9 |
+
cd %BAKCD%
|
10 |
+
endlocal
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttranslations/portfile.cmake
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
set(TOOL_NAMES)
|
6 |
+
|
7 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
8 |
+
TOOL_NAMES ${TOOL_NAMES}
|
9 |
+
CONFIGURE_OPTIONS_MAYBE_UNUSED
|
10 |
+
QT_BUILD_EXAMPLES
|
11 |
+
QT_USE_DEFAULT_CMAKE_OPTIMIZATION_FLAGS
|
12 |
+
)
|
13 |
+
|
14 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled) # only translation files.
|
15 |
+
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qttranslations/vcpkg.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qttranslations",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Translations",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
{
|
13 |
+
"name": "qttools",
|
14 |
+
"default-features": false,
|
15 |
+
"features": [
|
16 |
+
"linguist"
|
17 |
+
]
|
18 |
+
}
|
19 |
+
],
|
20 |
+
"default-features": [
|
21 |
+
"default-features"
|
22 |
+
],
|
23 |
+
"features": {
|
24 |
+
"default-features": {
|
25 |
+
"description": "Platform-dependent default features"
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/hunspell_include_path_fix.patch
ADDED
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
2 |
+
index 8ee4d7503..0fb4461d2 100644
|
3 |
+
--- a/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
4 |
+
+++ b/src/plugins/hunspell/hunspellinputmethod/hunspellinputmethod_p.cpp
|
5 |
+
@@ -29,7 +29,7 @@
|
6 |
+
|
7 |
+
#include <QtHunspellInputMethod/private/hunspellinputmethod_p_p.h>
|
8 |
+
#include <QtVirtualKeyboard/qvirtualkeyboardinputcontext.h>
|
9 |
+
-#include <hunspell/hunspell.h>
|
10 |
+
+#include <hunspell.h>
|
11 |
+
#include <QStringList>
|
12 |
+
#include <QDir>
|
13 |
+
#include <QtCore/QLibraryInfo>
|
14 |
+
diff --git a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
15 |
+
index b79354429..a843bdfa6 100644
|
16 |
+
--- a/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
17 |
+
+++ b/src/plugins/hunspell/hunspellinputmethod/hunspellworker_p.h
|
18 |
+
@@ -50,7 +50,7 @@
|
19 |
+
#include <QLoggingCategory>
|
20 |
+
#include <QStringDecoder>
|
21 |
+
#include <QStringEncoder>
|
22 |
+
-#include <hunspell/hunspell.h>
|
23 |
+
+#include <hunspell.h>
|
24 |
+
#include <QtHunspellInputMethod/qhunspellinputmethod_global.h>
|
25 |
+
|
26 |
+
QT_BEGIN_NAMESPACE
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/portfile.cmake
ADDED
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES hunspell_include_path_fix.patch)
|
5 |
+
|
6 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
7 |
+
INVERTED_FEATURES
|
8 |
+
"xcb" CMAKE_DISABLE_FIND_PACKAGE_XCB
|
9 |
+
)
|
10 |
+
|
11 |
+
|
12 |
+
if("hunspell" IN_LIST FEATURES)
|
13 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell:STRING=system)
|
14 |
+
else()
|
15 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_hunspell=no)
|
16 |
+
endif()
|
17 |
+
if("t9write" IN_LIST FEATURES)
|
18 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=t9write)
|
19 |
+
else()
|
20 |
+
list(APPEND FEATURE_OPTIONS -DINPUT_vkb_handwriting=no)
|
21 |
+
endif()
|
22 |
+
|
23 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
24 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
25 |
+
-DINPUT_vkb_style:STRING=default
|
26 |
+
CONFIGURE_OPTIONS_RELEASE
|
27 |
+
CONFIGURE_OPTIONS_DEBUG -DFEATURE_vkb_record_trace_input=ON
|
28 |
+
-DFEATURE_vkb_sensitive_debug=ON
|
29 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtvirtualkeyboard/vcpkg.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtvirtualkeyboard",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "SCXML (state machine notation) compiler and related tools",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
},
|
15 |
+
{
|
16 |
+
"name": "qtdeclarative",
|
17 |
+
"default-features": false
|
18 |
+
},
|
19 |
+
{
|
20 |
+
"name": "qtsvg",
|
21 |
+
"default-features": false
|
22 |
+
}
|
23 |
+
],
|
24 |
+
"default-features": [
|
25 |
+
"default-features",
|
26 |
+
"hunspell"
|
27 |
+
],
|
28 |
+
"features": {
|
29 |
+
"default-features": {
|
30 |
+
"description": "Platform-dependent default features"
|
31 |
+
},
|
32 |
+
"hunspell": {
|
33 |
+
"description": "Use hunspell",
|
34 |
+
"dependencies": [
|
35 |
+
"hunspell"
|
36 |
+
]
|
37 |
+
},
|
38 |
+
"t9write": {
|
39 |
+
"description": "T9Write handwriting (commercial SDK requires port overlay)",
|
40 |
+
"dependencies": [
|
41 |
+
"t9write"
|
42 |
+
]
|
43 |
+
},
|
44 |
+
"xcb": {
|
45 |
+
"description": "XCB integration"
|
46 |
+
}
|
47 |
+
}
|
48 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwayland/portfile.cmake
ADDED
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
message(WARNING "qtwayland requires libwayland-dev from your system package manager. You can install it with
|
5 |
+
sudo apt install libwayland-dev
|
6 |
+
on Ubuntu systems.")
|
7 |
+
|
8 |
+
set(${PORT}_PATCHES)
|
9 |
+
|
10 |
+
set(TOOL_NAMES qtwaylandscanner)
|
11 |
+
|
12 |
+
|
13 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
14 |
+
FEATURES
|
15 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
16 |
+
INVERTED_FEATURES
|
17 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
18 |
+
)
|
19 |
+
|
20 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
21 |
+
TOOL_NAMES ${TOOL_NAMES}
|
22 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
23 |
+
CONFIGURE_OPTIONS_RELEASE
|
24 |
+
CONFIGURE_OPTIONS_DEBUG
|
25 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwayland/vcpkg.json
ADDED
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtwayland",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "A toolbox for making Qt based Wayland compositors",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"supports": "!windows",
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "qtbase",
|
11 |
+
"default-features": false,
|
12 |
+
"features": [
|
13 |
+
"gui"
|
14 |
+
]
|
15 |
+
}
|
16 |
+
],
|
17 |
+
"features": {
|
18 |
+
"qml": {
|
19 |
+
"description": "Build QML imports",
|
20 |
+
"dependencies": [
|
21 |
+
{
|
22 |
+
"name": "qtdeclarative",
|
23 |
+
"default-features": false
|
24 |
+
}
|
25 |
+
]
|
26 |
+
}
|
27 |
+
}
|
28 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebchannel/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
|
7 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
8 |
+
FEATURES
|
9 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
10 |
+
INVERTED_FEATURES
|
11 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
12 |
+
)
|
13 |
+
|
14 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
15 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
16 |
+
CONFIGURE_OPTIONS_RELEASE
|
17 |
+
CONFIGURE_OPTIONS_DEBUG
|
18 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebchannel/vcpkg.json
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtwebchannel",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt WebChannel",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false
|
11 |
+
}
|
12 |
+
],
|
13 |
+
"features": {
|
14 |
+
"qml": {
|
15 |
+
"description": "Build QML imports",
|
16 |
+
"dependencies": [
|
17 |
+
{
|
18 |
+
"name": "qtdeclarative",
|
19 |
+
"default-features": false
|
20 |
+
}
|
21 |
+
]
|
22 |
+
}
|
23 |
+
}
|
24 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebengine/portfile.cmake
ADDED
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(TOOL_NAMES gn QtWebEngineProcess qwebengine_convert_dict)
|
5 |
+
|
6 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
7 |
+
FEATURES
|
8 |
+
"proprietary-codecs" FEATURE_webengine_proprietary_codecs
|
9 |
+
"spellchecker" FEATURE_webengine_spellchecker
|
10 |
+
"geolocation" FEATURE_webengine_geolocation
|
11 |
+
"webchannel" FEATURE_webengine_webchannel
|
12 |
+
"geolocation" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Positioning
|
13 |
+
"webchannel" CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebChannel
|
14 |
+
INVERTED_FEATURES
|
15 |
+
"geolocation" CMAKE_DISABLE_FIND_PACKAGE_Qt6Positioning
|
16 |
+
"webchannel" CMAKE_DISABLE_FIND_PACKAGE_Qt6WebChannel
|
17 |
+
)
|
18 |
+
|
19 |
+
if(VCPKG_TARGET_IS_OSX AND "spellchecker" IN_LIST FEATRUES)
|
20 |
+
list(APPEND FEATURE_OPTIONS "-DFEATURE_webengine_native_spellchecker=ON")
|
21 |
+
endif()
|
22 |
+
|
23 |
+
# webengine-extensions
|
24 |
+
# webengine-printing-and-pdf
|
25 |
+
# webengine-pepper-plugins
|
26 |
+
set(deactivated_features webengine_webrtc_pipewire)
|
27 |
+
foreach(_feat IN LISTS deactivated_features)
|
28 |
+
list(APPEND FEATURE_OPTIONS "-DFEATURE_${_feat}=OFF")
|
29 |
+
endforeach()
|
30 |
+
set(enabled_features webengine_webrtc webengine_v8_snapshot_support)
|
31 |
+
foreach(_feat IN LISTS enabled_features)
|
32 |
+
list(APPEND FEATURE_OPTIONS "-DFEATURE_${_feat}=ON")
|
33 |
+
endforeach()
|
34 |
+
|
35 |
+
if(VCPKG_TARGET_IS_LINUX)
|
36 |
+
# qt_configure_add_summary_entry(ARGS "webengine-system-lcms2")
|
37 |
+
# qt_configure_add_summary_entry(ARGS "webengine-system-libpci")
|
38 |
+
# + ALSA and PULSEAUDIO
|
39 |
+
set(system_libs re2 icu libwebp opus ffmpeg libvpx snappy glib zlib minizip libevent protobuf libxml libpng libjpeg harfbuzz freetype)
|
40 |
+
foreach(_sys_lib IN LISTS system_libs)
|
41 |
+
list(APPEND FEATURE_OPTIONS "-DFEATURE_webengine_system_${_sys_lib}=ON")
|
42 |
+
endforeach()
|
43 |
+
endif()
|
44 |
+
|
45 |
+
vcpkg_find_acquire_program(FLEX)
|
46 |
+
vcpkg_find_acquire_program(BISON)
|
47 |
+
vcpkg_find_acquire_program(GPERF)
|
48 |
+
vcpkg_find_acquire_program(PYTHON2)
|
49 |
+
|
50 |
+
#vcpkg_find_acquire_program(GN) # Qt builds its own internal version
|
51 |
+
|
52 |
+
find_program(NODEJS NAMES node PATHS "${CURRENT_HOST_INSTALLED_DIR}/tools/node" "bin" NO_DEFAULT_PATHS)
|
53 |
+
find_program(NODEJS NAMES node)
|
54 |
+
if(NOT NODEJS)
|
55 |
+
message(FATAL_ERROR "node not found! Please install it via your system package manager!")
|
56 |
+
endif()
|
57 |
+
|
58 |
+
get_filename_component(GPERF_DIR "${GPERF}" DIRECTORY )
|
59 |
+
vcpkg_add_to_path(PREPEND "${GPERF_DIR}")
|
60 |
+
get_filename_component(NODEJS_DIR "${NODEJS}" DIRECTORY )
|
61 |
+
vcpkg_add_to_path(PREPEND "${NODEJS_DIR}")
|
62 |
+
get_filename_component(FLEX_DIR "${FLEX}" DIRECTORY )
|
63 |
+
vcpkg_add_to_path(PREPEND "${FLEX_DIR}")
|
64 |
+
get_filename_component(BISON_DIR "${BISON}" DIRECTORY )
|
65 |
+
vcpkg_add_to_path(PREPEND "${BISON_DIR}")
|
66 |
+
get_filename_component(PYTHON2_DIR "${PYTHON2}" DIRECTORY )
|
67 |
+
vcpkg_add_to_path(PREPEND "${PYTHON2_DIR}")
|
68 |
+
|
69 |
+
if(WIN32) # WIN32 HOST probably has win_flex and win_bison!
|
70 |
+
if(NOT EXISTS "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
71 |
+
file(CREATE_LINK "${FLEX}" "${FLEX_DIR}/flex${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
72 |
+
endif()
|
73 |
+
if(NOT EXISTS "${BISON_DIR}/BISON${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
74 |
+
file(CREATE_LINK "${BISON}" "${BISON_DIR}/bison${VCPKG_HOST_EXECUTABLE_SUFFIX}")
|
75 |
+
endif()
|
76 |
+
endif()
|
77 |
+
|
78 |
+
### Download third_party modules
|
79 |
+
vcpkg_from_git(
|
80 |
+
OUT_SOURCE_PATH SOURCE_PATH_WEBENGINE
|
81 |
+
URL git://code.qt.io/qt/qtwebengine-chromium.git
|
82 |
+
REF "${${PORT}_chromium_REF}"
|
83 |
+
)
|
84 |
+
|
85 |
+
##### qt_install_submodule
|
86 |
+
set(qt_plugindir ${QT6_DIRECTORY_PREFIX}plugins)
|
87 |
+
set(qt_qmldir ${QT6_DIRECTORY_PREFIX}qml)
|
88 |
+
|
89 |
+
qt_download_submodule(PATCHES ${${PORT}_PATCHES})
|
90 |
+
if(QT_UPDATE_VERSION)
|
91 |
+
return()
|
92 |
+
endif()
|
93 |
+
if(NOT EXISTS "${SOURCE_PATH}/src/3rdparty/chromium")
|
94 |
+
file(RENAME "${SOURCE_PATH_WEBENGINE}/chromium" "${SOURCE_PATH}/src/3rdparty/chromium")
|
95 |
+
endif()
|
96 |
+
if(NOT EXISTS "${SOURCE_PATH}/src/3rdparty/gn")
|
97 |
+
file(RENAME "${SOURCE_PATH_WEBENGINE}/gn" "${SOURCE_PATH}/src/3rdparty/gn")
|
98 |
+
endif()
|
99 |
+
|
100 |
+
qt_cmake_configure( DISABLE_PARALLEL_CONFIGURE # due to in source changes.
|
101 |
+
OPTIONS ${FEATURE_OPTIONS}
|
102 |
+
-DGPerf_EXECUTABLE=${GPERF}
|
103 |
+
-DBISON_EXECUTABLE=${BISON}
|
104 |
+
-DFLEX_EXECUTABLE=${FLEX}
|
105 |
+
#-DGn_EXECUTABLE=${GN}
|
106 |
+
-DPython2_EXECUTABLE=${PYTHON2}
|
107 |
+
-DNodejs_EXECUTABLE=${NODEJS}
|
108 |
+
OPTIONS_DEBUG ${_qis_CONFIGURE_OPTIONS_DEBUG}
|
109 |
+
OPTIONS_RELEASE ${_qis_CONFIGURE_OPTIONS_RELEASE})
|
110 |
+
|
111 |
+
vcpkg_cmake_install(ADD_BIN_TO_PATH)
|
112 |
+
|
113 |
+
qt_fixup_and_cleanup(TOOL_NAMES ${TOOL_NAMES})
|
114 |
+
|
115 |
+
qt_install_copyright("${SOURCE_PATH}")
|
116 |
+
|
117 |
+
##### qt_install_submodule
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebengine/vcpkg.json
ADDED
@@ -0,0 +1,151 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"$comment": "x86-windows is not within the upstream support matrix of Qt6",
|
3 |
+
"name": "qtwebengine",
|
4 |
+
"version": "6.2.4",
|
5 |
+
"description": "Qt WebEngine",
|
6 |
+
"homepage": "https://www.qt.io/",
|
7 |
+
"license": null,
|
8 |
+
"supports": "!static & !((arm | x86) & windows)",
|
9 |
+
"dependencies": [
|
10 |
+
{
|
11 |
+
"name": "ffmpeg",
|
12 |
+
"platform": "!windows"
|
13 |
+
},
|
14 |
+
{
|
15 |
+
"name": "fontconfig",
|
16 |
+
"platform": "!windows"
|
17 |
+
},
|
18 |
+
{
|
19 |
+
"name": "freetype",
|
20 |
+
"platform": "!windows"
|
21 |
+
},
|
22 |
+
{
|
23 |
+
"name": "glib",
|
24 |
+
"platform": "!windows"
|
25 |
+
},
|
26 |
+
{
|
27 |
+
"name": "harfbuzz",
|
28 |
+
"platform": "!windows"
|
29 |
+
},
|
30 |
+
{
|
31 |
+
"name": "icu",
|
32 |
+
"platform": "!windows"
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"name": "libevent",
|
36 |
+
"platform": "!windows"
|
37 |
+
},
|
38 |
+
{
|
39 |
+
"name": "libjpeg-turbo",
|
40 |
+
"platform": "!windows"
|
41 |
+
},
|
42 |
+
{
|
43 |
+
"name": "libpng",
|
44 |
+
"platform": "!windows"
|
45 |
+
},
|
46 |
+
{
|
47 |
+
"name": "libvpx",
|
48 |
+
"platform": "!windows"
|
49 |
+
},
|
50 |
+
{
|
51 |
+
"name": "libwebp",
|
52 |
+
"platform": "!windows"
|
53 |
+
},
|
54 |
+
{
|
55 |
+
"name": "libxml2",
|
56 |
+
"platform": "!windows"
|
57 |
+
},
|
58 |
+
{
|
59 |
+
"name": "minizip",
|
60 |
+
"platform": "!windows"
|
61 |
+
},
|
62 |
+
"opengl-registry",
|
63 |
+
{
|
64 |
+
"name": "opus",
|
65 |
+
"platform": "!windows"
|
66 |
+
},
|
67 |
+
{
|
68 |
+
"name": "protobuf",
|
69 |
+
"platform": "!windows"
|
70 |
+
},
|
71 |
+
{
|
72 |
+
"name": "qtbase",
|
73 |
+
"default-features": false,
|
74 |
+
"features": [
|
75 |
+
"gui",
|
76 |
+
"network",
|
77 |
+
"widgets"
|
78 |
+
]
|
79 |
+
},
|
80 |
+
{
|
81 |
+
"name": "qtdeclarative",
|
82 |
+
"default-features": false
|
83 |
+
},
|
84 |
+
{
|
85 |
+
"name": "qtdeclarative",
|
86 |
+
"default-features": false
|
87 |
+
},
|
88 |
+
{
|
89 |
+
"name": "qttools",
|
90 |
+
"default-features": false
|
91 |
+
},
|
92 |
+
{
|
93 |
+
"$comment": "Requires GN host tool build by the port itself! (special version check)",
|
94 |
+
"name": "qtwebengine",
|
95 |
+
"host": true,
|
96 |
+
"default-features": false
|
97 |
+
},
|
98 |
+
{
|
99 |
+
"name": "re2",
|
100 |
+
"platform": "!windows"
|
101 |
+
},
|
102 |
+
{
|
103 |
+
"name": "snappy",
|
104 |
+
"platform": "!windows"
|
105 |
+
},
|
106 |
+
{
|
107 |
+
"name": "vcpkg-tool-nodejs",
|
108 |
+
"host": true
|
109 |
+
},
|
110 |
+
{
|
111 |
+
"name": "vcpkg-tool-python2",
|
112 |
+
"host": true
|
113 |
+
},
|
114 |
+
{
|
115 |
+
"name": "zlib",
|
116 |
+
"platform": "!windows"
|
117 |
+
}
|
118 |
+
],
|
119 |
+
"default-features": [
|
120 |
+
"default-features"
|
121 |
+
],
|
122 |
+
"features": {
|
123 |
+
"default-features": {
|
124 |
+
"description": "Platform-dependent default features"
|
125 |
+
},
|
126 |
+
"geolocation": {
|
127 |
+
"description": "Build with Geolocation",
|
128 |
+
"dependencies": [
|
129 |
+
{
|
130 |
+
"name": "qtlocation",
|
131 |
+
"default-features": false
|
132 |
+
}
|
133 |
+
]
|
134 |
+
},
|
135 |
+
"proprietary-codecs": {
|
136 |
+
"description": "Enables the use of proprietary codecs such as h.264/h.265 and MP3."
|
137 |
+
},
|
138 |
+
"spellchecker": {
|
139 |
+
"description": "Provides a spellchecker"
|
140 |
+
},
|
141 |
+
"webchannel": {
|
142 |
+
"description": "Provides QtWebChannel integration",
|
143 |
+
"dependencies": [
|
144 |
+
{
|
145 |
+
"name": "qtwebchannel",
|
146 |
+
"default-features": false
|
147 |
+
}
|
148 |
+
]
|
149 |
+
}
|
150 |
+
}
|
151 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebsockets/portfile.cmake
ADDED
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
|
7 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
8 |
+
FEATURES
|
9 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
10 |
+
INVERTED_FEATURES
|
11 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
12 |
+
)
|
13 |
+
|
14 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
15 |
+
CONFIGURE_OPTIONS ${FEATURE_OPTIONS}
|
16 |
+
CONFIGURE_OPTIONS_RELEASE
|
17 |
+
CONFIGURE_OPTIONS_DEBUG
|
18 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebsockets/vcpkg.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtwebsockets",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt WebSockets",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"network"
|
13 |
+
]
|
14 |
+
}
|
15 |
+
],
|
16 |
+
"features": {
|
17 |
+
"qml": {
|
18 |
+
"description": "Build QML imports",
|
19 |
+
"dependencies": [
|
20 |
+
{
|
21 |
+
"name": "qtdeclarative",
|
22 |
+
"default-features": false
|
23 |
+
}
|
24 |
+
]
|
25 |
+
}
|
26 |
+
}
|
27 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebview/portfile.cmake
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(SCRIPT_PATH "${CURRENT_INSTALLED_DIR}/share/qtbase")
|
2 |
+
include("${SCRIPT_PATH}/qt_install_submodule.cmake")
|
3 |
+
|
4 |
+
set(${PORT}_PATCHES)
|
5 |
+
|
6 |
+
|
7 |
+
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
|
8 |
+
FEATURES
|
9 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6Quick
|
10 |
+
"qml" CMAKE_REQUIRE_FIND_PACKAGE_Qt6WebEngineQuick
|
11 |
+
"webengine" CMAKE_REQUIRE_FIND_PACKAGE_WebEngineCore
|
12 |
+
INVERTED_FEATURES
|
13 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6Quick
|
14 |
+
"qml" CMAKE_DISABLE_FIND_PACKAGE_Qt6WebEngineQuick
|
15 |
+
"webengine" CMAKE_DISABLE_FIND_PACKAGE_WebEngineCore
|
16 |
+
)
|
17 |
+
|
18 |
+
qt_install_submodule(PATCHES ${${PORT}_PATCHES}
|
19 |
+
CONFIGURE_OPTIONS
|
20 |
+
CONFIGURE_OPTIONS_RELEASE
|
21 |
+
CONFIGURE_OPTIONS_DEBUG
|
22 |
+
)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qtwebview/vcpkg.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qtwebview",
|
3 |
+
"version": "6.2.4",
|
4 |
+
"description": "Qt Web View",
|
5 |
+
"homepage": "https://www.qt.io/",
|
6 |
+
"license": null,
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qtbase",
|
10 |
+
"default-features": false,
|
11 |
+
"features": [
|
12 |
+
"gui"
|
13 |
+
]
|
14 |
+
}
|
15 |
+
],
|
16 |
+
"features": {
|
17 |
+
"qml": {
|
18 |
+
"description": "Build QML imports",
|
19 |
+
"dependencies": [
|
20 |
+
{
|
21 |
+
"name": "qtdeclarative",
|
22 |
+
"default-features": false
|
23 |
+
}
|
24 |
+
]
|
25 |
+
},
|
26 |
+
"webengine": {
|
27 |
+
"description": "Build with Webengine",
|
28 |
+
"supports": "!static",
|
29 |
+
"dependencies": [
|
30 |
+
{
|
31 |
+
"name": "qtwebengine",
|
32 |
+
"default-features": false
|
33 |
+
}
|
34 |
+
]
|
35 |
+
}
|
36 |
+
}
|
37 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quadtree/portfile.cmake
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_from_github(
|
2 |
+
OUT_SOURCE_PATH SOURCE_PATH
|
3 |
+
REPO pvigier/Quadtree
|
4 |
+
REF fec2e1a011f656353ba12c58cefe33482e1a27b5
|
5 |
+
SHA512 8291afb29b9ff5714125e411122f6f10e1c2e4c2109384e25afa834548dc1f63c90b2d09c7cfed213ad69a8c54cf32fc598783b3ff0882bc86562594895d5c35
|
6 |
+
HEAD_REF master
|
7 |
+
)
|
8 |
+
|
9 |
+
vcpkg_configure_cmake(
|
10 |
+
SOURCE_PATH ${SOURCE_PATH}
|
11 |
+
OPTIONS
|
12 |
+
-DCODE_COVERAGE=OFF
|
13 |
+
-DBUILD_BENCHMARKS=OFF
|
14 |
+
-DBUILD_TESTING=OFF
|
15 |
+
-DBUILD_EXAMPLES=OFF
|
16 |
+
)
|
17 |
+
|
18 |
+
file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include/${PORT})
|
19 |
+
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quadtree/vcpkg.json
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "quadtree",
|
3 |
+
"version-string": "2020-04-13",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "A simple and modern C++ quadtree implementation",
|
6 |
+
"homepage": "https://github.com/pvigier/Quadtree"
|
7 |
+
}
|