Spaces:
Sleeping
Sleeping
5545b7a16eb792c4055799a0e16d8cd8a74e973556fed65d31a0807e65164760
Browse files- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5PluginTarget.patch +74 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/qt_app.patch +17 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/static_opengl.patch +62 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/windows_prf.patch +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/winmain_pro.patch +27 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/xlib.patch +39 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/portfile.cmake +532 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/qtdeploy.ps1 +104 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/vcpkg.json +65 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-canvas3d/portfile.cmake +4 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-canvas3d/vcpkg.json +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-charts/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-charts/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-connectivity/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-connectivity/vcpkg.json +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-datavis3d/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-datavis3d/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/limits_include.patch +24 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/portfile.cmake +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-doc/portfile.cmake +7 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-doc/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-gamepad/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-gamepad/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-graphicaleffects/portfile.cmake +3 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-graphicaleffects/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-imageformats/portfile.cmake +54 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-imageformats/vcpkg.json +15 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-location/portfile.cmake +3 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-location/vcpkg.json +16 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-macextras/portfile.cmake +5 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-macextras/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-modularscripts/portfile.cmake +1 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-modularscripts/vcpkg.json +6 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-mqtt/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-mqtt/vcpkg.json +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-multimedia/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-multimedia/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-networkauth/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-networkauth/vcpkg.json +12 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-purchasing/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-purchasing/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols/portfile.cmake +3 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols2/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols2/vcpkg.json +14 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-remoteobjects/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-remoteobjects/vcpkg.json +13 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-script/portfile.cmake +2 -0
- third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-script/vcpkg.json +13 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/Qt5PluginTarget.patch
ADDED
@@ -0,0 +1,74 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
2 |
+
index 5baf0fdb1..185abfffd 100644
|
3 |
+
--- a/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
4 |
+
+++ b/mkspecs/features/data/cmake/Qt5PluginTarget.cmake.in
|
5 |
+
@@ -15,13 +15,14 @@ foreach(_module_dep ${_Qt5$${CMAKE_PLUGIN_NAME}_MODULE_DEPENDENCIES})
|
6 |
+
endif()
|
7 |
+
endforeach()
|
8 |
+
|
9 |
+
-!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
10 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
11 |
+
-_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
12 |
+
- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\" RELEASE
|
13 |
+
- _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_RELEASE_LIB_DEPENDENCIES
|
14 |
+
- _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_RELEASE_LINK_FLAGS
|
15 |
+
-)
|
16 |
+
+if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\")
|
17 |
+
+ _qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
18 |
+
+ \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\" RELEASE
|
19 |
+
+ _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_RELEASE_LIB_DEPENDENCIES
|
20 |
+
+ _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_RELEASE_LINK_FLAGS
|
21 |
+
+ )
|
22 |
+
+endif()
|
23 |
+
!!ELSE
|
24 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
25 |
+
\"$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_RELEASE}\" RELEASE
|
26 |
+
@@ -29,15 +30,15 @@ _qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
27 |
+
_Qt5$${CMAKE_PLUGIN_NAME}_STATIC_RELEASE_LINK_FLAGS
|
28 |
+
)
|
29 |
+
!!ENDIF
|
30 |
+
-!!ENDIF
|
31 |
+
|
32 |
+
-!!IF !isEmpty(CMAKE_DEBUG_TYPE)
|
33 |
+
!!IF isEmpty(CMAKE_LIB_DIR_IS_ABSOLUTE)
|
34 |
+
-_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
35 |
+
- \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
36 |
+
- _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_DEBUG_LIB_DEPENDENCIES
|
37 |
+
- _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_DEBUG_LINK_FLAGS
|
38 |
+
-)
|
39 |
+
+if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\")
|
40 |
+
+ _qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
41 |
+
+ \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
42 |
+
+ _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_DEBUG_LIB_DEPENDENCIES
|
43 |
+
+ _Qt5$${CMAKE_PLUGIN_NAME}_STATIC_DEBUG_LINK_FLAGS
|
44 |
+
+ )
|
45 |
+
+endif()
|
46 |
+
!!ELSE
|
47 |
+
_qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
48 |
+
\"$${CMAKE_PLUGIN_DIR}$${CMAKE_PRL_FILE_LOCATION_DEBUG}\" DEBUG
|
49 |
+
@@ -45,19 +46,18 @@ _qt5_$${CMAKE_MODULE_NAME}_process_prl_file(
|
50 |
+
_Qt5$${CMAKE_PLUGIN_NAME}_STATIC_DEBUG_LINK_FLAGS
|
51 |
+
)
|
52 |
+
!!ENDIF
|
53 |
+
-!!ENDIF
|
54 |
+
|
55 |
+
set_property(TARGET Qt5::$$CMAKE_PLUGIN_NAME PROPERTY INTERFACE_SOURCES
|
56 |
+
\"${CMAKE_CURRENT_LIST_DIR}/Qt5$${CMAKE_MODULE_NAME}_$${CMAKE_PLUGIN_NAME}_Import.cpp\"
|
57 |
+
)
|
58 |
+
!!ENDIF
|
59 |
+
|
60 |
+
-!!IF !isEmpty(CMAKE_RELEASE_TYPE)
|
61 |
+
-_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_LOCATION_RELEASE}\" $${CMAKE_DEBUG_AND_RELEASE})
|
62 |
+
-!!ENDIF
|
63 |
+
-!!IF !isEmpty(CMAKE_DEBUG_TYPE)
|
64 |
+
-_populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_LOCATION_DEBUG}\" $${CMAKE_DEBUG_AND_RELEASE})
|
65 |
+
-!!ENDIF
|
66 |
+
+if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_RELEASE}\")
|
67 |
+
+ _populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME RELEASE \"$${CMAKE_PLUGIN_LOCATION_RELEASE}\" $${CMAKE_DEBUG_AND_RELEASE})
|
68 |
+
+endif()
|
69 |
+
+if(EXISTS \"${_qt5$${CMAKE_MODULE_NAME}_install_prefix}/debug/$${CMAKE_PLUGIN_DIR}$${CMAKE_PLUGIN_LOCATION_DEBUG}\")
|
70 |
+
+ _populate_$${CMAKE_MODULE_NAME}_plugin_properties($$CMAKE_PLUGIN_NAME DEBUG \"$${CMAKE_PLUGIN_LOCATION_DEBUG}\" $${CMAKE_DEBUG_AND_RELEASE})
|
71 |
+
+endif()
|
72 |
+
|
73 |
+
list(APPEND Qt5$${CMAKE_MODULE_NAME}_PLUGINS Qt5::$$CMAKE_PLUGIN_NAME)
|
74 |
+
set_property(TARGET Qt5::$${CMAKE_MODULE_NAME} APPEND PROPERTY QT_ALL_PLUGINS_$${CMAKE_PLUGIN_TYPE_ESCAPED} Qt5::$${CMAKE_PLUGIN_NAME})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/qt_app.patch
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/qt_app.prf b/mkspecs/features/qt_app.prf
|
2 |
+
index 8354f30e..8f24b72e 100644
|
3 |
+
--- a/mkspecs/features/qt_app.prf
|
4 |
+
+++ b/mkspecs/features/qt_app.prf
|
5 |
+
@@ -27,10 +27,11 @@ host_build:force_bootstrap {
|
6 |
+
QT -= core core-private xml
|
7 |
+
QT += bootstrap-private
|
8 |
+
}
|
9 |
+
target.path = $$[QT_HOST_BINS]
|
10 |
+
+ CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
|
11 |
+
} else {
|
12 |
+
!build_pass:qtConfig(debug_and_release): CONFIG += release
|
13 |
+
- target.path = $$[QT_INSTALL_BINS]
|
14 |
+
+ target.path = $$[QT_HOST_BINS]
|
15 |
+
CONFIG += relative_qt_rpath # Qt's tools and apps should be relocatable
|
16 |
+
}
|
17 |
+
INSTALLS += target
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/static_opengl.patch
ADDED
@@ -0,0 +1,62 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/win32/opengl.prf b/mkspecs/features/win32/opengl.prf
|
2 |
+
index f21848f94..202c49688 100644
|
3 |
+
--- a/mkspecs/features/win32/opengl.prf
|
4 |
+
+++ b/mkspecs/features/win32/opengl.prf
|
5 |
+
@@ -30,7 +30,7 @@ qtConfig(opengles2) {
|
6 |
+
LIBS += $$QMAKE_LIBS_OPENGL_ES2
|
7 |
+
QMAKE_LIBDIR += $$QMAKE_LIBDIR_OPENGL_ES2_RELEASE
|
8 |
+
}
|
9 |
+
- qtConfig(static): DEFINES += GL_APICALL= EGLAPI=
|
10 |
+
+ qtConfig(static): DEFINES += _GDI32_ GL_APICALL= EGLAPI= ANGLE_EXPORT= ANGLE_PLATFORM_EXPORT=
|
11 |
+
} else {
|
12 |
+
!qtConfig(dynamicgl) {
|
13 |
+
QMAKE_LIBS += $$QMAKE_LIBS_OPENGL
|
14 |
+
diff --git a/src/angle/src/common/gles_common.pri b/src/angle/src/common/gles_common.pri
|
15 |
+
index 70b65dd4c..1dcc96af5 100644
|
16 |
+
--- a/src/angle/src/common/gles_common.pri
|
17 |
+
+++ b/src/angle/src/common/gles_common.pri
|
18 |
+
@@ -23,7 +23,8 @@ for(libname, STATICLIBS) {
|
19 |
+
PRE_TARGETDEPS += $$staticlib
|
20 |
+
}
|
21 |
+
|
22 |
+
-DEFINES += LIBANGLE_IMPLEMENTATION LIBGLESV2_IMPLEMENTATION GL_APICALL= GL_GLEXT_PROTOTYPES= EGLAPI=
|
23 |
+
+!qtConfig(static): DEFINES += LIBANGLE_IMPLEMENTATION LIBGLESV2_IMPLEMENTATION
|
24 |
+
+qtConfig(static): DEFINES += GL_APICALL= EGLAPI= ANGLE_EXPORT= ANGLE_PLATFORM_EXPORT=
|
25 |
+
!winrt: DEFINES += ANGLE_ENABLE_D3D9 ANGLE_SKIP_DXGI_1_2_CHECK
|
26 |
+
|
27 |
+
QT_FOR_CONFIG += gui-private
|
28 |
+
diff --git a/src/3rdparty/angle/include/platform/Platform.h b/src/3rdparty/angle/include/platform/Platform.h
|
29 |
+
index aa1221a86..a49ee4f6d 100644
|
30 |
+
--- a/src/3rdparty/angle/include/platform/Platform.h
|
31 |
+
+++ b/src/3rdparty/angle/include/platform/Platform.h
|
32 |
+
@@ -12,7 +12,7 @@
|
33 |
+
#include <stdint.h>
|
34 |
+
#include <array>
|
35 |
+
|
36 |
+
-#if defined(_WIN32)
|
37 |
+
+#if defined(_WIN32) && !defined(ANGLE_PLATFORM_EXPORT)
|
38 |
+
# if !defined(LIBANGLE_IMPLEMENTATION)
|
39 |
+
# define ANGLE_PLATFORM_EXPORT __declspec(dllimport)
|
40 |
+
# else
|
41 |
+
diff --git a/src/3rdparty/angle/src/libGLESv2/entry_points_gles_2_0_ext.cpp b/src/3rdparty/angle/src/libGLESv2/entry_points_gles_2_0_ext.cpp
|
42 |
+
index d4459ec28..d1416041e 100644
|
43 |
+
--- a/src/3rdparty/angle/src/libGLESv2/entry_points_gles_2_0_ext.cpp
|
44 |
+
+++ b/src/3rdparty/angle/src/libGLESv2/entry_points_gles_2_0_ext.cpp
|
45 |
+
@@ -3505,7 +3505,7 @@ ANGLE_EXPORT void GL_APIENTRY GetQueryObjectui64vRobustANGLE(GLuint id,
|
46 |
+
}
|
47 |
+
}
|
48 |
+
|
49 |
+
-GL_APICALL void GL_APIENTRY FramebufferTextureMultiviewLayeredANGLE(GLenum target,
|
50 |
+
+ANGLE_EXPORT void GL_APIENTRY FramebufferTextureMultiviewLayeredANGLE(GLenum target,
|
51 |
+
GLenum attachment,
|
52 |
+
GLuint texture,
|
53 |
+
GLint level,
|
54 |
+
@@ -3530,7 +3530,7 @@ GL_APICALL void GL_APIENTRY FramebufferTextureMultiviewLayeredANGLE(GLenum targe
|
55 |
+
}
|
56 |
+
}
|
57 |
+
|
58 |
+
-GL_APICALL void GL_APIENTRY FramebufferTextureMultiviewSideBySideANGLE(GLenum target,
|
59 |
+
+ANGLE_EXPORT void GL_APIENTRY FramebufferTextureMultiviewSideBySideANGLE(GLenum target,
|
60 |
+
GLenum attachment,
|
61 |
+
GLuint texture,
|
62 |
+
GLint level,
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/windows_prf.patch
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/mkspecs/features/win32/windows.prf b/mkspecs/features/win32/windows.prf
|
2 |
+
index 272170d4..70b8ea2e 100644
|
3 |
+
--- a/mkspecs/features/win32/windows.prf
|
4 |
+
+++ b/mkspecs/features/win32/windows.prf
|
5 |
+
@@ -6,7 +6,7 @@ contains(TEMPLATE, ".*app") {
|
6 |
+
|
7 |
+
qt:for(entryLib, $$list($$unique(QMAKE_LIBS_QT_ENTRY))) {
|
8 |
+
isEqual(entryLib, -lqtmain) {
|
9 |
+
- lib = $$QT.core.libs/$${QMAKE_PREFIX_STATICLIB}qtmain$$QT_LIBINFIX$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB
|
10 |
+
+ lib = $$QT.core.libs/manual-link/$${QMAKE_PREFIX_STATICLIB}qtmain$$QT_LIBINFIX$$qtPlatformTargetSuffix().$$QMAKE_EXTENSION_STATICLIB
|
11 |
+
PRE_TARGETDEPS += $$lib
|
12 |
+
QMAKE_LIBS += $$lib
|
13 |
+
} else {
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/winmain_pro.patch
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/winmain/winmain.pro b/src/winmain/winmain.pro
|
2 |
+
index 9cb6ab0c..52c7876e 100644
|
3 |
+
--- a/src/winmain/winmain.pro
|
4 |
+
+++ b/src/winmain/winmain.pro
|
5 |
+
@@ -3,7 +3,7 @@
|
6 |
+
|
7 |
+
TEMPLATE = lib
|
8 |
+
TARGET = qtmain
|
9 |
+
-DESTDIR = $$QT.core.libs
|
10 |
+
+DESTDIR = $$QT.core.libs/manual-link
|
11 |
+
|
12 |
+
CONFIG += static
|
13 |
+
QT = core
|
14 |
+
@@ -27,7 +27,12 @@ winrt {
|
15 |
+
}
|
16 |
+
|
17 |
+
load(qt_installs)
|
18 |
+
-
|
19 |
+
+!qt_no_install_library {
|
20 |
+
+ host_build: \
|
21 |
+
+ target.path = $$[QT_HOST_LIBS]/manual-link
|
22 |
+
+ else: \
|
23 |
+
+ target.path = $$[QT_INSTALL_LIBS]/manual-link
|
24 |
+
+}
|
25 |
+
TARGET = $$qtLibraryTarget($$TARGET$$QT_LIBINFIX) #do this towards the end
|
26 |
+
|
27 |
+
load(qt_targets)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/patches/xlib.patch
ADDED
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
diff --git a/src/gui/configure.json b/src/gui/configure.json
|
2 |
+
index 9a749516b..242f47504 100644
|
3 |
+
--- a/src/gui/configure.json
|
4 |
+
+++ b/src/gui/configure.json
|
5 |
+
@@ -568,7 +568,9 @@
|
6 |
+
},
|
7 |
+
"headers": "X11/Xlib.h",
|
8 |
+
"sources": [
|
9 |
+
- { "type": "makeSpec", "spec": "X11" }
|
10 |
+
+ { "type": "makeSpec", "spec": "X11" },
|
11 |
+
+ { "type": "pkgConfig", "args": "x11" },
|
12 |
+
+ { "type": "pkgConfig", "args": "x11 --static" }
|
13 |
+
]
|
14 |
+
},
|
15 |
+
"x11sm": {
|
16 |
+
@@ -590,6 +592,7 @@
|
17 |
+
"headers": "xcb/xcb.h",
|
18 |
+
"sources": [
|
19 |
+
{ "type": "pkgConfig", "args": "xcb >= 1.11" },
|
20 |
+
+ { "type": "pkgConfig", "args": "xcb >= 1.11 --static" },
|
21 |
+
"-lxcb"
|
22 |
+
]
|
23 |
+
},
|
24 |
+
@@ -691,6 +694,7 @@
|
25 |
+
"headers": "X11/Xlib-xcb.h",
|
26 |
+
"sources": [
|
27 |
+
{ "type": "pkgConfig", "args": "x11-xcb" },
|
28 |
+
+ { "type": "pkgConfig", "args": "x11-xcb --static" },
|
29 |
+
"-lX11-xcb"
|
30 |
+
],
|
31 |
+
"use": "xcb xlib"
|
32 |
+
@@ -711,6 +715,7 @@
|
33 |
+
"headers": "xcb/xkb.h",
|
34 |
+
"sources": [
|
35 |
+
{ "type": "pkgConfig", "args": "xcb-xkb" },
|
36 |
+
+ { "type": "pkgConfig", "args": "xcb-xkb --static" },
|
37 |
+
"-lxcb-xkb"
|
38 |
+
],
|
39 |
+
"use": "xcb"
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/portfile.cmake
ADDED
@@ -0,0 +1,532 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
vcpkg_buildpath_length_warning(37)
|
2 |
+
|
3 |
+
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
|
4 |
+
set(QT_OPENSSL_LINK_DEFAULT ON)
|
5 |
+
else()
|
6 |
+
set(QT_OPENSSL_LINK_DEFAULT OFF)
|
7 |
+
endif()
|
8 |
+
option(QT_OPENSSL_LINK "Link against OpenSSL at compile-time." ${QT_OPENSSL_LINK_DEFAULT})
|
9 |
+
|
10 |
+
if (VCPKG_TARGET_IS_LINUX)
|
11 |
+
message(WARNING "qt5-base currently requires some packages from the system package manager, see https://doc.qt.io/qt-5/linux-requirements.html")
|
12 |
+
message(WARNING
|
13 |
+
[[
|
14 |
+
qt5-base for qt5-x11extras requires several libraries from the system package manager. Please refer to
|
15 |
+
https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh
|
16 |
+
for a complete list of them.
|
17 |
+
]]
|
18 |
+
)
|
19 |
+
endif()
|
20 |
+
|
21 |
+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
|
22 |
+
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake)
|
23 |
+
|
24 |
+
if("latest" IN_LIST FEATURES) # latest = core currently
|
25 |
+
set(QT_BUILD_LATEST ON)
|
26 |
+
set(PATCHES
|
27 |
+
patches/Qt5BasicConfig.patch
|
28 |
+
patches/Qt5PluginTarget.patch
|
29 |
+
patches/create_cmake.patch
|
30 |
+
)
|
31 |
+
else()
|
32 |
+
set(PATCHES
|
33 |
+
patches/Qt5BasicConfig.patch
|
34 |
+
patches/Qt5PluginTarget.patch
|
35 |
+
patches/create_cmake.patch
|
36 |
+
)
|
37 |
+
endif()
|
38 |
+
|
39 |
+
set(WITH_PGSQL_PLUGIN OFF)
|
40 |
+
if("postgresqlplugin" IN_LIST FEATURES)
|
41 |
+
set(WITH_PGSQL_PLUGIN ON)
|
42 |
+
endif()
|
43 |
+
|
44 |
+
set(WITH_MYSQL_PLUGIN OFF)
|
45 |
+
if ("mysqlplugin" IN_LIST FEATURES)
|
46 |
+
set(WITH_MYSQL_PLUGIN ON)
|
47 |
+
endif()
|
48 |
+
if(WITH_MYSQL_PLUGIN AND NOT VCPKG_TARGET_IS_WINDOWS)
|
49 |
+
message(WARNING "${PORT} is currently not setup to support feature 'mysqlplugin' on platforms other than windows. Feel free to open up a PR to fix it!")
|
50 |
+
endif()
|
51 |
+
|
52 |
+
include(qt_port_functions)
|
53 |
+
include(configure_qt)
|
54 |
+
include(install_qt)
|
55 |
+
|
56 |
+
|
57 |
+
#########################
|
58 |
+
## Find Host and Target mkspec name for configure
|
59 |
+
include(find_qt_mkspec)
|
60 |
+
find_qt_mkspec(TARGET_MKSPEC HOST_MKSPEC HOST_TOOLS)
|
61 |
+
set(QT_PLATFORM_CONFIGURE_OPTIONS TARGET_PLATFORM ${TARGET_MKSPEC})
|
62 |
+
if(DEFINED HOST_MKSPEC)
|
63 |
+
list(APPEND QT_PLATFORM_CONFIGURE_OPTIONS HOST_PLATFORM ${HOST_MKSPEC})
|
64 |
+
endif()
|
65 |
+
if(DEFINED HOST_TOOLS)
|
66 |
+
list(APPEND QT_PLATFORM_CONFIGURE_OPTIONS HOST_TOOLS_ROOT ${HOST_TOOLS})
|
67 |
+
endif()
|
68 |
+
|
69 |
+
#########################
|
70 |
+
## Downloading Qt5-Base
|
71 |
+
|
72 |
+
qt_download_submodule( OUT_SOURCE_PATH SOURCE_PATH
|
73 |
+
PATCHES
|
74 |
+
patches/winmain_pro.patch #Moves qtmain to manual-link
|
75 |
+
patches/windows_prf.patch #fixes the qtmain dependency due to the above move
|
76 |
+
patches/qt_app.patch #Moves the target location of qt5 host apps to always install into the host dir.
|
77 |
+
patches/gui_configure.patch #Patches the gui configure.json to break freetype/fontconfig autodetection because it does not include its dependencies.
|
78 |
+
patches/icu.patch #Help configure find static icu builds in vcpkg on windows
|
79 |
+
patches/xlib.patch #Patches Xlib check to actually use Pkgconfig instead of makeSpec only
|
80 |
+
patches/egl.patch #Fix egl detection logic.
|
81 |
+
patches/mysql_plugin_include.patch #Fix include path of mysql plugin
|
82 |
+
patches/mysql-configure.patch #Fix mysql project
|
83 |
+
patches/cocoa.patch #Fix missing include on macOS Monterrey, https://code.qt.io/cgit/qt/qtbase.git/commit/src/plugins/platforms/cocoa?id=dece6f5840463ae2ddf927d65eb1b3680e34a547
|
84 |
+
#patches/static_opengl.patch #Use this patch if you really want to statically link angle on windows (e.g. using -opengl es2 and -static).
|
85 |
+
#Be carefull since it requires definining _GDI32_ for all dependent projects due to redefinition errors in the
|
86 |
+
#the windows supplied gl.h header and the angle gl.h otherwise.
|
87 |
+
#CMake fixes
|
88 |
+
${PATCHES}
|
89 |
+
patches/Qt5GuiConfigExtras.patch # Patches the library search behavior for EGL since angle is not build with Qt
|
90 |
+
patches/limits_include.patch # Add missing includes to build with gcc 11
|
91 |
+
)
|
92 |
+
|
93 |
+
# Remove vendored dependencies to ensure they are not picked up by the build
|
94 |
+
foreach(DEPENDENCY zlib freetype harfbuzz-ng libjpeg libpng double-conversion sqlite pcre2)
|
95 |
+
if(EXISTS ${SOURCE_PATH}/src/3rdparty/${DEPENDENCY})
|
96 |
+
file(REMOVE_RECURSE ${SOURCE_PATH}/src/3rdparty/${DEPENDENCY})
|
97 |
+
endif()
|
98 |
+
endforeach()
|
99 |
+
#file(REMOVE_RECURSE ${SOURCE_PATH}/include/QtZlib)
|
100 |
+
|
101 |
+
#########################
|
102 |
+
## Setup Configure options
|
103 |
+
|
104 |
+
# This fixes issues on machines with default codepages that are not ASCII compatible, such as some CJK encodings
|
105 |
+
set(ENV{_CL_} "/utf-8")
|
106 |
+
|
107 |
+
set(CORE_OPTIONS
|
108 |
+
-confirm-license
|
109 |
+
-opensource
|
110 |
+
#-simulator_and_device
|
111 |
+
#-ltcg
|
112 |
+
#-combined-angle-lib
|
113 |
+
# ENV ANGLE_DIR to external angle source dir. (Will always be compiled with Qt)
|
114 |
+
#-optimized-tools
|
115 |
+
#-force-debug-info
|
116 |
+
-verbose
|
117 |
+
)
|
118 |
+
|
119 |
+
## 3rd Party Libs
|
120 |
+
list(APPEND CORE_OPTIONS
|
121 |
+
-system-zlib
|
122 |
+
-system-libjpeg
|
123 |
+
-system-libpng
|
124 |
+
-system-freetype
|
125 |
+
-system-pcre
|
126 |
+
-system-doubleconversion
|
127 |
+
-system-sqlite
|
128 |
+
-system-harfbuzz
|
129 |
+
-icu
|
130 |
+
-no-angle # Qt does not need to build angle. VCPKG will build angle!
|
131 |
+
-no-glib
|
132 |
+
)
|
133 |
+
|
134 |
+
if(QT_OPENSSL_LINK)
|
135 |
+
list(APPEND CORE_OPTIONS -openssl-linked)
|
136 |
+
endif()
|
137 |
+
|
138 |
+
if(WITH_PGSQL_PLUGIN)
|
139 |
+
list(APPEND CORE_OPTIONS -sql-psql)
|
140 |
+
else()
|
141 |
+
list(APPEND CORE_OPTIONS -no-sql-psql)
|
142 |
+
endif()
|
143 |
+
if(WITH_MYSQL_PLUGIN)
|
144 |
+
list(APPEND CORE_OPTIONS -sql-mysql)
|
145 |
+
else()
|
146 |
+
list(APPEND CORE_OPTIONS -no-sql-mysql)
|
147 |
+
endif()
|
148 |
+
|
149 |
+
if ("vulkan" IN_LIST FEATURES)
|
150 |
+
list(APPEND CORE_OPTIONS --vulkan=yes)
|
151 |
+
else()
|
152 |
+
list(APPEND CORE_OPTIONS --vulkan=no)
|
153 |
+
endif()
|
154 |
+
|
155 |
+
find_library(ZLIB_RELEASE NAMES z zlib PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
156 |
+
find_library(ZLIB_DEBUG NAMES z zlib zd zlibd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
157 |
+
find_library(JPEG_RELEASE NAMES jpeg jpeg-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
158 |
+
find_library(JPEG_DEBUG NAMES jpeg jpeg-static jpegd jpeg-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
159 |
+
find_library(LIBPNG_RELEASE NAMES png16 libpng16 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) #Depends on zlib
|
160 |
+
find_library(LIBPNG_DEBUG NAMES png16 png16d libpng16 libpng16d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
161 |
+
find_library(PSQL_RELEASE NAMES pq libpq PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on openssl and zlib(linux)
|
162 |
+
find_library(PSQL_DEBUG NAMES pq libpq pqd libpqd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
163 |
+
|
164 |
+
if(NOT (PSQL_RELEASE MATCHES ".*\.so") AND NOT (PSQL_DEBUG MATCHES ".*\.so"))
|
165 |
+
find_library(PSQL_COMMON_RELEASE NAMES pgcommon libpgcommon PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on openssl and zlib(linux)
|
166 |
+
find_library(PSQL_COMMON_DEBUG NAMES pgcommon libpgcommon pgcommond libpgcommond PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
167 |
+
find_library(PSQL_PORT_RELEASE NAMES pgport libpgport PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on openssl and zlib(linux)
|
168 |
+
find_library(PSQL_PORT_DEBUG NAMES pgport libpgport pgportd libpgportd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
169 |
+
endif()
|
170 |
+
find_library(MYSQL_RELEASE NAMES libmysql mysqlclient PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on openssl and zlib(linux)
|
171 |
+
find_library(MYSQL_DEBUG NAMES libmysql libmysqld mysqlclient mysqlclientd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
172 |
+
|
173 |
+
find_library(PCRE2_RELEASE NAMES pcre2-16 pcre2-16-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
174 |
+
find_library(PCRE2_DEBUG NAMES pcre2-16 pcre2-16-static pcre2-16d pcre2-16-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
175 |
+
find_library(FREETYPE_RELEASE NAMES freetype PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) #zlib, bzip2, libpng
|
176 |
+
find_library(FREETYPE_DEBUG NAMES freetype freetyped PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
177 |
+
find_library(DOUBLECONVERSION_RELEASE NAMES double-conversion PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
178 |
+
find_library(DOUBLECONVERSION_DEBUG NAMES double-conversion PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
179 |
+
find_library(HARFBUZZ_RELEASE NAMES harfbuzz PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
180 |
+
find_library(HARFBUZZ_DEBUG NAMES harfbuzz PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
181 |
+
find_library(SQLITE_RELEASE NAMES sqlite3 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on openssl and zlib(linux)
|
182 |
+
find_library(SQLITE_DEBUG NAMES sqlite3 sqlite3d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
183 |
+
|
184 |
+
find_library(BROTLI_COMMON_RELEASE NAMES brotlicommon brotlicommon-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
185 |
+
find_library(BROTLI_COMMON_DEBUG NAMES brotlicommon brotlicommon-static brotlicommond brotlicommon-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
186 |
+
find_library(BROTLI_DEC_RELEASE NAMES brotlidec brotlidec-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
187 |
+
find_library(BROTLI_DEC_DEBUG NAMES brotlidec brotlidec-static brotlidecd brotlidec-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
188 |
+
|
189 |
+
find_library(ICUUC_RELEASE NAMES icuuc libicuuc PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
190 |
+
find_library(ICUUC_DEBUG NAMES icuucd libicuucd icuuc libicuuc PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
191 |
+
find_library(ICUTU_RELEASE NAMES icutu libicutu PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
192 |
+
find_library(ICUTU_DEBUG NAMES icutud libicutud icutu libicutu PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
193 |
+
|
194 |
+
# Was installed in WSL but not on CI machine
|
195 |
+
# find_library(ICULX_RELEASE NAMES iculx libiculx PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
196 |
+
# find_library(ICULX_DEBUG NAMES iculxd libiculxd iculx libiculx PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
197 |
+
|
198 |
+
find_library(ICUIO_RELEASE NAMES icuio libicuio PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
199 |
+
find_library(ICUIO_DEBUG NAMES icuiod libicuiod icuio libicuio PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
200 |
+
find_library(ICUIN_RELEASE NAMES icui18n libicui18n icuin PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
201 |
+
find_library(ICUIN_DEBUG NAMES icui18nd libicui18nd icui18n libicui18n icuin icuind PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
202 |
+
find_library(ICUDATA_RELEASE NAMES icudata libicudata icudt PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
203 |
+
find_library(ICUDATA_DEBUG NAMES icudatad libicudatad icudata libicudata icudtd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
204 |
+
set(ICU_RELEASE "${ICUIN_RELEASE} ${ICUTU_RELEASE} ${ICULX_RELEASE} ${ICUUC_RELEASE} ${ICUIO_RELEASE} ${ICUDATA_RELEASE}")
|
205 |
+
set(ICU_DEBUG "${ICUIN_DEBUG} ${ICUTU_DEBUG} ${ICULX_DEBUG} ${ICUUC_DEBUG} ${ICUIO_DEBUG} ${ICUDATA_DEBUG}")
|
206 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
207 |
+
set(ICU_RELEASE "${ICU_RELEASE} Advapi32.lib")
|
208 |
+
set(ICU_DEBUG "${ICU_DEBUG} Advapi32.lib" )
|
209 |
+
endif()
|
210 |
+
|
211 |
+
find_library(FONTCONFIG_RELEASE NAMES fontconfig PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
212 |
+
find_library(FONTCONFIG_DEBUG NAMES fontconfig PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
213 |
+
find_library(EXPAT_RELEASE NAMES expat PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
214 |
+
find_library(EXPAT_DEBUG NAMES expat PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
215 |
+
|
216 |
+
#Dependent libraries
|
217 |
+
find_library(ZSTD_RELEASE NAMES zstd PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
218 |
+
find_library(ZSTD_DEBUG NAMES zstd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
219 |
+
find_library(BZ2_RELEASE bz2 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
220 |
+
find_library(BZ2_DEBUG bz2 bz2d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
221 |
+
find_library(SSL_RELEASE ssl ssleay32 PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
222 |
+
find_library(SSL_DEBUG ssl ssleay32 ssld ssleay32d PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
223 |
+
find_library(EAY_RELEASE libeay32 crypto libcrypto PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
224 |
+
find_library(EAY_DEBUG libeay32 crypto libcrypto libeay32d cryptod libcryptod PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
225 |
+
|
226 |
+
set(FREETYPE_RELEASE_ALL "${FREETYPE_RELEASE} ${BZ2_RELEASE} ${LIBPNG_RELEASE} ${ZLIB_RELEASE} ${BROTLI_DEC_RELEASE} ${BROTLI_COMMON_RELEASE}")
|
227 |
+
set(FREETYPE_DEBUG_ALL "${FREETYPE_DEBUG} ${BZ2_DEBUG} ${LIBPNG_DEBUG} ${ZLIB_DEBUG} ${BROTLI_DEC_DEBUG} ${BROTLI_COMMON_DEBUG}")
|
228 |
+
|
229 |
+
# If HarfBuzz is built with GLib enabled, it must be statically link
|
230 |
+
x_vcpkg_pkgconfig_get_modules(PREFIX harfbuzz MODULES harfbuzz LIBRARIES)
|
231 |
+
|
232 |
+
set(RELEASE_OPTIONS
|
233 |
+
"LIBJPEG_LIBS=${JPEG_RELEASE}"
|
234 |
+
"ZLIB_LIBS=${ZLIB_RELEASE}"
|
235 |
+
"LIBPNG_LIBS=${LIBPNG_RELEASE} ${ZLIB_RELEASE}"
|
236 |
+
"PCRE2_LIBS=${PCRE2_RELEASE}"
|
237 |
+
"FREETYPE_LIBS=${FREETYPE_RELEASE_ALL}"
|
238 |
+
"ICU_LIBS=${ICU_RELEASE}"
|
239 |
+
"QMAKE_LIBS_PRIVATE+=${BZ2_RELEASE}"
|
240 |
+
"QMAKE_LIBS_PRIVATE+=${LIBPNG_RELEASE}"
|
241 |
+
"QMAKE_LIBS_PRIVATE+=${ICU_RELEASE}"
|
242 |
+
"QMAKE_LIBS_PRIVATE+=${ZSTD_RELEASE}"
|
243 |
+
)
|
244 |
+
set(DEBUG_OPTIONS
|
245 |
+
"LIBJPEG_LIBS=${JPEG_DEBUG}"
|
246 |
+
"ZLIB_LIBS=${ZLIB_DEBUG}"
|
247 |
+
"LIBPNG_LIBS=${LIBPNG_DEBUG} ${ZLIB_DEBUG}"
|
248 |
+
"PCRE2_LIBS=${PCRE2_DEBUG}"
|
249 |
+
"FREETYPE_LIBS=${FREETYPE_DEBUG_ALL}"
|
250 |
+
"ICU_LIBS=${ICU_DEBUG}"
|
251 |
+
"QMAKE_LIBS_PRIVATE+=${BZ2_DEBUG}"
|
252 |
+
"QMAKE_LIBS_PRIVATE+=${LIBPNG_DEBUG}"
|
253 |
+
"QMAKE_LIBS_PRIVATE+=${ICU_DEBUG}"
|
254 |
+
"QMAKE_LIBS_PRIVATE+=${ZSTD_DEBUG}"
|
255 |
+
)
|
256 |
+
|
257 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
258 |
+
if(VCPKG_TARGET_IS_UWP)
|
259 |
+
list(APPEND CORE_OPTIONS -appstore-compliant)
|
260 |
+
endif()
|
261 |
+
if(NOT ${VCPKG_LIBRARY_LINKAGE} STREQUAL "static")
|
262 |
+
list(APPEND CORE_OPTIONS -opengl dynamic) # other options are "-no-opengl", "-opengl angle", and "-opengl desktop" and "-opengel es2"
|
263 |
+
else()
|
264 |
+
list(APPEND CORE_OPTIONS -opengl dynamic) # other possible option without moving angle dlls: "-opengl desktop". "-opengel es2" only works with commented patch
|
265 |
+
endif()
|
266 |
+
list(APPEND RELEASE_OPTIONS
|
267 |
+
"SQLITE_LIBS=${SQLITE_RELEASE}"
|
268 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_RELEASE}"
|
269 |
+
"OPENSSL_LIBS=${SSL_RELEASE} ${EAY_RELEASE} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib"
|
270 |
+
)
|
271 |
+
|
272 |
+
list(APPEND DEBUG_OPTIONS
|
273 |
+
"SQLITE_LIBS=${SQLITE_DEBUG}"
|
274 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_DEBUG}"
|
275 |
+
"OPENSSL_LIBS=${SSL_DEBUG} ${EAY_DEBUG} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib"
|
276 |
+
)
|
277 |
+
if(WITH_PGSQL_PLUGIN)
|
278 |
+
list(APPEND RELEASE_OPTIONS "PSQL_LIBS=${PSQL_RELEASE} ${PSQL_PORT_RELEASE} ${PSQL_COMMON_RELEASE} ${SSL_RELEASE} ${EAY_RELEASE} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib")
|
279 |
+
list(APPEND DEBUG_OPTIONS "PSQL_LIBS=${PSQL_DEBUG} ${PSQL_PORT_DEBUG} ${PSQL_COMMON_DEBUG} ${SSL_DEBUG} ${EAY_DEBUG} ws2_32.lib secur32.lib advapi32.lib shell32.lib crypt32.lib user32.lib gdi32.lib")
|
280 |
+
endif()
|
281 |
+
if (WITH_MYSQL_PLUGIN)
|
282 |
+
list(APPEND RELEASE_OPTIONS "MYSQL_LIBS=${MYSQL_RELEASE}")
|
283 |
+
list(APPEND DEBUG_OPTIONS "MYSQL_LIBS=${MYSQL_DEBUG}")
|
284 |
+
endif(WITH_MYSQL_PLUGIN)
|
285 |
+
|
286 |
+
elseif(VCPKG_TARGET_IS_LINUX)
|
287 |
+
list(APPEND CORE_OPTIONS -fontconfig -xcb-xlib -xcb -linuxfb)
|
288 |
+
if (NOT EXISTS "/usr/include/GL/glu.h")
|
289 |
+
message(FATAL_ERROR "qt5 requires libgl1-mesa-dev and libglu1-mesa-dev, please use your distribution's package manager to install them.\nExample: \"apt-get install libgl1-mesa-dev libglu1-mesa-dev\"")
|
290 |
+
endif()
|
291 |
+
list(APPEND RELEASE_OPTIONS
|
292 |
+
"SQLITE_LIBS=${SQLITE_RELEASE} -ldl -lpthread"
|
293 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_RELEASE}"
|
294 |
+
"OPENSSL_LIBS=${SSL_RELEASE} ${EAY_RELEASE} -ldl -lpthread"
|
295 |
+
"FONTCONFIG_LIBS=${FONTCONFIG_RELEASE} ${FREETYPE_RELEASE} ${EXPAT_RELEASE} -luuid"
|
296 |
+
)
|
297 |
+
list(APPEND DEBUG_OPTIONS
|
298 |
+
"SQLITE_LIBS=${SQLITE_DEBUG} -ldl -lpthread"
|
299 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_DEBUG}"
|
300 |
+
"OPENSSL_LIBS=${SSL_DEBUG} ${EAY_DEBUG} -ldl -lpthread"
|
301 |
+
"FONTCONFIG_LIBS=${FONTCONFIG_DEBUG} ${FREETYPE_DEBUG} ${EXPAT_DEBUG} -luuid"
|
302 |
+
)
|
303 |
+
if(WITH_PGSQL_PLUGIN)
|
304 |
+
list(APPEND RELEASE_OPTIONS "PSQL_LIBS=${PSQL_RELEASE} ${PSQL_PORT_RELEASE} ${PSQL_TYPES_RELEASE} ${PSQL_COMMON_RELEASE} ${SSL_RELEASE} ${EAY_RELEASE} -ldl -lpthread")
|
305 |
+
list(APPEND DEBUG_OPTIONS "PSQL_LIBS=${PSQL_DEBUG} ${PSQL_PORT_DEBUG} ${PSQL_TYPES_DEBUG} ${PSQL_COMMON_DEBUG} ${SSL_DEBUG} ${EAY_DEBUG} -ldl -lpthread")
|
306 |
+
endif()
|
307 |
+
elseif(VCPKG_TARGET_IS_OSX)
|
308 |
+
list(APPEND CORE_OPTIONS -fontconfig)
|
309 |
+
if("${VCPKG_TARGET_ARCHITECTURE}" MATCHES "arm64")
|
310 |
+
FILE(READ "${SOURCE_PATH}/mkspecs/common/macx.conf" _tmp_contents)
|
311 |
+
string(REPLACE "QMAKE_APPLE_DEVICE_ARCHS = x86_64" "QMAKE_APPLE_DEVICE_ARCHS = arm64" _tmp_contents ${_tmp_contents})
|
312 |
+
FILE(WRITE "${SOURCE_PATH}/mkspecs/common/macx.conf" ${_tmp_contents})
|
313 |
+
endif()
|
314 |
+
if(DEFINED VCPKG_OSX_DEPLOYMENT_TARGET)
|
315 |
+
set(ENV{QMAKE_MACOSX_DEPLOYMENT_TARGET} ${VCPKG_OSX_DEPLOYMENT_TARGET})
|
316 |
+
else()
|
317 |
+
execute_process(COMMAND xcrun --show-sdk-version
|
318 |
+
OUTPUT_FILE OSX_SDK_VER.txt
|
319 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR})
|
320 |
+
FILE(STRINGS "${CURRENT_BUILDTREES_DIR}/OSX_SDK_VER.txt" OSX_SDK_VERSION REGEX "^[0-9][0-9]\.[0-9][0-9]*")
|
321 |
+
message(STATUS "Detected OSX SDK Version: ${OSX_SDK_VERSION}")
|
322 |
+
string(REGEX MATCH "^[0-9][0-9]\.[0-9][0-9]*" OSX_SDK_VERSION ${OSX_SDK_VERSION})
|
323 |
+
message(STATUS "Major.Minor OSX SDK Version: ${OSX_SDK_VERSION}")
|
324 |
+
|
325 |
+
execute_process(COMMAND sw_vers -productVersion
|
326 |
+
OUTPUT_FILE OSX_SYS_VER.txt
|
327 |
+
WORKING_DIRECTORY ${CURRENT_BUILDTREES_DIR})
|
328 |
+
FILE(STRINGS "${CURRENT_BUILDTREES_DIR}/OSX_SYS_VER.txt" VCPKG_OSX_DEPLOYMENT_TARGET REGEX "^[0-9][0-9]\.[0-9][0-9]*")
|
329 |
+
message(STATUS "Detected OSX system Version: ${VCPKG_OSX_DEPLOYMENT_TARGET}")
|
330 |
+
string(REGEX MATCH "^[0-9][0-9]\.[0-9][0-9]*" VCPKG_OSX_DEPLOYMENT_TARGET ${VCPKG_OSX_DEPLOYMENT_TARGET})
|
331 |
+
message(STATUS "Major.Minor OSX system Version: ${VCPKG_OSX_DEPLOYMENT_TARGET}")
|
332 |
+
|
333 |
+
set(ENV{QMAKE_MACOSX_DEPLOYMENT_TARGET} ${VCPKG_OSX_DEPLOYMENT_TARGET})
|
334 |
+
if(${VCPKG_OSX_DEPLOYMENT_TARGET} GREATER "10.15") # Max Version supported by QT. This version is defined in mkspecs/common/macx.conf as QT_MAC_SDK_VERSION_MAX
|
335 |
+
message(STATUS "Qt ${QT_MAJOR_MINOR_VER}.${QT_PATCH_VER} only support OSX_DEPLOYMENT_TARGET up to 10.15")
|
336 |
+
set(VCPKG_OSX_DEPLOYMENT_TARGET "10.15")
|
337 |
+
endif()
|
338 |
+
set(ENV{QMAKE_MACOSX_DEPLOYMENT_TARGET} ${VCPKG_OSX_DEPLOYMENT_TARGET})
|
339 |
+
message(STATUS "Enviromnent OSX SDK Version: $ENV{QMAKE_MACOSX_DEPLOYMENT_TARGET}")
|
340 |
+
FILE(READ "${SOURCE_PATH}/mkspecs/common/macx.conf" _tmp_contents)
|
341 |
+
string(REPLACE "QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.13" "QMAKE_MACOSX_DEPLOYMENT_TARGET = ${VCPKG_OSX_DEPLOYMENT_TARGET}" _tmp_contents ${_tmp_contents})
|
342 |
+
FILE(WRITE "${SOURCE_PATH}/mkspecs/common/macx.conf" ${_tmp_contents})
|
343 |
+
endif()
|
344 |
+
#list(APPEND QT_PLATFORM_CONFIGURE_OPTIONS HOST_PLATFORM ${TARGET_MKSPEC})
|
345 |
+
list(APPEND RELEASE_OPTIONS
|
346 |
+
"SQLITE_LIBS=${SQLITE_RELEASE} -ldl -lpthread"
|
347 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_RELEASE} -framework ApplicationServices"
|
348 |
+
"OPENSSL_LIBS=${SSL_RELEASE} ${EAY_RELEASE} -ldl -lpthread"
|
349 |
+
"FONTCONFIG_LIBS=${FONTCONFIG_RELEASE} ${FREETYPE_RELEASE} ${EXPAT_RELEASE} -liconv"
|
350 |
+
)
|
351 |
+
list(APPEND DEBUG_OPTIONS
|
352 |
+
"SQLITE_LIBS=${SQLITE_DEBUG} -ldl -lpthread"
|
353 |
+
"HARFBUZZ_LIBS=${harfbuzz_LIBRARIES_DEBUG} -framework ApplicationServices"
|
354 |
+
"OPENSSL_LIBS=${SSL_DEBUG} ${EAY_DEBUG} -ldl -lpthread"
|
355 |
+
"FONTCONFIG_LIBS=${FONTCONFIG_DEBUG} ${FREETYPE_DEBUG} ${EXPAT_DEBUG} -liconv"
|
356 |
+
)
|
357 |
+
|
358 |
+
if(WITH_PGSQL_PLUGIN)
|
359 |
+
list(APPEND RELEASE_OPTIONS "PSQL_LIBS=${PSQL_RELEASE} ${PSQL_PORT_RELEASE} ${PSQL_TYPES_RELEASE} ${PSQL_COMMON_RELEASE} ${SSL_RELEASE} ${EAY_RELEASE} -ldl -lpthread")
|
360 |
+
list(APPEND DEBUG_OPTIONS "PSQL_LIBS=${PSQL_DEBUG} ${PSQL_PORT_DEBUG} ${PSQL_TYPES_DEBUG} ${PSQL_COMMON_DEBUG} ${SSL_DEBUG} ${EAY_DEBUG} -ldl -lpthread")
|
361 |
+
endif()
|
362 |
+
endif()
|
363 |
+
|
364 |
+
## Do not build tests or examples
|
365 |
+
list(APPEND CORE_OPTIONS
|
366 |
+
-nomake examples
|
367 |
+
-nomake tests)
|
368 |
+
|
369 |
+
if(QT_UPDATE_VERSION)
|
370 |
+
SET(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
371 |
+
else()
|
372 |
+
configure_qt(
|
373 |
+
SOURCE_PATH ${SOURCE_PATH}
|
374 |
+
${QT_PLATFORM_CONFIGURE_OPTIONS}
|
375 |
+
OPTIONS ${CORE_OPTIONS}
|
376 |
+
OPTIONS_RELEASE ${RELEASE_OPTIONS}
|
377 |
+
OPTIONS_DEBUG ${DEBUG_OPTIONS}
|
378 |
+
)
|
379 |
+
install_qt()
|
380 |
+
|
381 |
+
#########################
|
382 |
+
#TODO: Make this a function since it is also done by modular scripts!
|
383 |
+
# e.g. by patching mkspecs/features/qt_tools.prf somehow
|
384 |
+
file(GLOB_RECURSE PRL_FILES "${CURRENT_PACKAGES_DIR}/lib/*.prl" "${CURRENT_PACKAGES_DIR}/tools/qt5/lib/*.prl" "${CURRENT_PACKAGES_DIR}/tools/qt5/mkspecs/*.pri"
|
385 |
+
"${CURRENT_PACKAGES_DIR}/debug/lib/*.prl" "${CURRENT_PACKAGES_DIR}/tools/qt5/debug/lib/*.prl" "${CURRENT_PACKAGES_DIR}/tools/qt5/debug/mkspecs/*.pri")
|
386 |
+
|
387 |
+
file(TO_CMAKE_PATH "${CURRENT_INSTALLED_DIR}/include" CMAKE_INCLUDE_PATH)
|
388 |
+
|
389 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
|
390 |
+
qt_fix_prl("${CURRENT_INSTALLED_DIR}" "${PRL_FILES}")
|
391 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/qtdeploy.ps1 DESTINATION ${CURRENT_PACKAGES_DIR}/plugins)
|
392 |
+
endif()
|
393 |
+
|
394 |
+
if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
|
395 |
+
qt_fix_prl("${CURRENT_INSTALLED_DIR}/debug" "${PRL_FILES}")
|
396 |
+
file(COPY ${CMAKE_CURRENT_LIST_DIR}/qtdeploy.ps1 DESTINATION ${CURRENT_PACKAGES_DIR}/debug/plugins)
|
397 |
+
endif()
|
398 |
+
|
399 |
+
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/share)
|
400 |
+
file(RENAME ${CURRENT_PACKAGES_DIR}/lib/cmake ${CURRENT_PACKAGES_DIR}/share/cmake)
|
401 |
+
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/lib/cmake) # TODO: check if important debug information for cmake is lost
|
402 |
+
|
403 |
+
#This needs a new VCPKG policy or a static angle build (ANGLE needs to be fixed in VCPKG!)
|
404 |
+
if(VCPKG_TARGET_IS_WINDOWS AND ${VCPKG_LIBRARY_LINKAGE} MATCHES "static") # Move angle dll libraries
|
405 |
+
if(EXISTS "${CURRENT_PACKAGES_DIR}/bin")
|
406 |
+
message(STATUS "Moving ANGLE dlls from /bin to /tools/qt5-angle/bin. In static builds dlls are not allowed in /bin")
|
407 |
+
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/qt5-angle)
|
408 |
+
file(RENAME ${CURRENT_PACKAGES_DIR}/bin ${CURRENT_PACKAGES_DIR}/tools/qt5-angle/bin)
|
409 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/bin)
|
410 |
+
file(MAKE_DIRECTORY ${CURRENT_PACKAGES_DIR}/tools/qt5-angle/debug)
|
411 |
+
file(RENAME ${CURRENT_PACKAGES_DIR}/debug/bin ${CURRENT_PACKAGES_DIR}/tools/qt5-angle/debug/bin)
|
412 |
+
endif()
|
413 |
+
endif()
|
414 |
+
endif()
|
415 |
+
|
416 |
+
## Fix location of qtmain(d).lib. Has been moved into manual-link. Add debug version
|
417 |
+
set(cmakefile "${CURRENT_PACKAGES_DIR}/share/cmake/Qt5Core/Qt5CoreConfigExtras.cmake")
|
418 |
+
file(READ "${cmakefile}" _contents)
|
419 |
+
if(VCPKG_TARGET_IS_WINDOWS AND NOT VCPKG_BUILD_TYPE)
|
420 |
+
string(REPLACE "set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)" "set_property(TARGET Qt5::WinMain APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE DEBUG)" _contents "${_contents}")
|
421 |
+
string(REPLACE
|
422 |
+
[[set(imported_location "${_qt5Core_install_prefix}/lib/qtmain.lib")]]
|
423 |
+
[[set(imported_location_release "${_qt5Core_install_prefix}/lib/manual-link/qtmain.lib")
|
424 |
+
set(imported_location_debug "${_qt5Core_install_prefix}/debug/lib/manual-link/qtmaind.lib")]]
|
425 |
+
_contents "${_contents}")
|
426 |
+
string(REPLACE
|
427 |
+
[[ set_target_properties(Qt5::WinMain PROPERTIES
|
428 |
+
IMPORTED_LOCATION_RELEASE ${imported_location}
|
429 |
+
)]]
|
430 |
+
[[ set_target_properties(Qt5::WinMain PROPERTIES
|
431 |
+
IMPORTED_LOCATION_RELEASE ${imported_location_release}
|
432 |
+
IMPORTED_LOCATION_DEBUG ${imported_location_debug}
|
433 |
+
)]]
|
434 |
+
_contents "${_contents}")
|
435 |
+
else() # Single configuration build (either debug or release)
|
436 |
+
# Release case
|
437 |
+
string(REPLACE
|
438 |
+
[[set(imported_location "${_qt5Core_install_prefix}/lib/qtmain.lib")]]
|
439 |
+
[[set(imported_location "${_qt5Core_install_prefix}/lib/manual-link/qtmain.lib")]]
|
440 |
+
_contents "${_contents}")
|
441 |
+
# Debug case (whichever will match)
|
442 |
+
string(REPLACE
|
443 |
+
[[set(imported_location "${_qt5Core_install_prefix}/lib/qtmaind.lib")]]
|
444 |
+
[[set(imported_location "${_qt5Core_install_prefix}/debug/lib/manual-link/qtmaind.lib")]]
|
445 |
+
_contents "${_contents}")
|
446 |
+
string(REPLACE
|
447 |
+
[[set(imported_location "${_qt5Core_install_prefix}/debug/lib/qtmaind.lib")]]
|
448 |
+
[[set(imported_location "${_qt5Core_install_prefix}/debug/lib/manual-link/qtmaind.lib")]]
|
449 |
+
_contents "${_contents}")
|
450 |
+
endif()
|
451 |
+
file(WRITE "${cmakefile}" "${_contents}")
|
452 |
+
|
453 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/tools/qt5/bin)
|
454 |
+
file(COPY ${CURRENT_PACKAGES_DIR}/tools/qt5/bin DESTINATION ${CURRENT_PACKAGES_DIR}/tools/${PORT})
|
455 |
+
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin)
|
456 |
+
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/qt5/bin)
|
457 |
+
endif()
|
458 |
+
# This should be removed if possible! (Currently debug build of qt5-translations requires it.)
|
459 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/debug/tools/qt5/bin)
|
460 |
+
file(COPY ${CURRENT_PACKAGES_DIR}/tools/qt5/bin DESTINATION ${CURRENT_PACKAGES_DIR}/tools/qt5/debug)
|
461 |
+
vcpkg_copy_tool_dependencies(${CURRENT_PACKAGES_DIR}/tools/qt5/debug/bin)
|
462 |
+
endif()
|
463 |
+
|
464 |
+
if(EXISTS ${CURRENT_PACKAGES_DIR}/tools/qt5/bin/qt.conf)
|
465 |
+
file(REMOVE "${CURRENT_PACKAGES_DIR}/tools/qt5/bin/qt.conf")
|
466 |
+
endif()
|
467 |
+
set(CURRENT_INSTALLED_DIR_BACKUP "${CURRENT_INSTALLED_DIR}")
|
468 |
+
set(CURRENT_INSTALLED_DIR "./../../.." ) # Making the qt.conf relative and not absolute
|
469 |
+
configure_file(${CURRENT_PACKAGES_DIR}/tools/qt5/qt_release.conf ${CURRENT_PACKAGES_DIR}/tools/qt5/bin/qt.conf) # This makes the tools at least useable for release
|
470 |
+
set(CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR_BACKUP}")
|
471 |
+
|
472 |
+
qt_install_copyright(${SOURCE_PATH})
|
473 |
+
endif()
|
474 |
+
#install scripts for other qt ports
|
475 |
+
file(COPY
|
476 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_port_hashes.cmake
|
477 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_port_functions.cmake
|
478 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_fix_makefile_install.cmake
|
479 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_fix_cmake.cmake
|
480 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_fix_prl.cmake
|
481 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_download_submodule.cmake
|
482 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_build_submodule.cmake
|
483 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_install_copyright.cmake
|
484 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_submodule_installation.cmake
|
485 |
+
DESTINATION
|
486 |
+
${CURRENT_PACKAGES_DIR}/share/qt5
|
487 |
+
)
|
488 |
+
|
489 |
+
# Fix Qt5GuiConfigExtras EGL path
|
490 |
+
if(VCPKG_TARGET_IS_LINUX)
|
491 |
+
set(_file "${CURRENT_PACKAGES_DIR}/share/cmake/Qt5Gui/Qt5GuiConfigExtras.cmake")
|
492 |
+
file(READ "${_file}" _contents)
|
493 |
+
string(REGEX REPLACE "_qt5gui_find_extra_libs\\\(EGL[^\\\n]+" "_qt5gui_find_extra_libs(EGL \"EGL\" \"\" \"\${_qt5Gui_install_prefix}/include\")\n" _contents "${_contents}")
|
494 |
+
file(WRITE "${_file}" "${_contents}")
|
495 |
+
endif()
|
496 |
+
|
497 |
+
if(QT_BUILD_LATEST)
|
498 |
+
file(COPY
|
499 |
+
${CMAKE_CURRENT_LIST_DIR}/cmake/qt_port_hashes_latest.cmake
|
500 |
+
DESTINATION
|
501 |
+
${CURRENT_PACKAGES_DIR}/share/qt5
|
502 |
+
)
|
503 |
+
endif()
|
504 |
+
|
505 |
+
vcpkg_fixup_pkgconfig()
|
506 |
+
|
507 |
+
if(VCPKG_TARGET_IS_OSX)
|
508 |
+
file(GLOB _debug_files "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig/*_debug.pc")
|
509 |
+
foreach(_file ${_debug_files})
|
510 |
+
string(REGEX REPLACE "_debug\\.pc$" ".pc" _new_filename "${_file}")
|
511 |
+
string(REGEX MATCH "(Qt5[a-zA-Z]+)_debug\\.pc$" _not_used "${_file}")
|
512 |
+
set(_name ${CMAKE_MATCH_1})
|
513 |
+
file(STRINGS "${_file}" _version REGEX "^(Version):.+$")
|
514 |
+
file(WRITE "${_new_filename}" "Name: ${_name}\nDescription: Forwarding to the _debug version by vcpkg\n${_version}\nRequires: ${_name}_debug\n")
|
515 |
+
endforeach()
|
516 |
+
endif()
|
517 |
+
# #Code to get generated CMake files from CI
|
518 |
+
# file(RENAME "${CURRENT_PACKAGES_DIR}/share/cmake/Qt5Core/Qt5CoreConfig.cmake" "${CURRENT_BUILDTREES_DIR}/Qt5CoreConfig.cmake.log")
|
519 |
+
# file(GLOB_RECURSE CMAKE_GUI_FILES "${CURRENT_PACKAGES_DIR}/share/cmake/Qt5Gui/*.cmake" )
|
520 |
+
# foreach(cmake_file ${CMAKE_GUI_FILES})
|
521 |
+
# get_filename_component(cmake_filename "${cmake_file}" NAME)
|
522 |
+
# file(COPY "${cmake_file}" DESTINATION "${CURRENT_BUILDTREES_DIR}")
|
523 |
+
# file(RENAME "${CURRENT_BUILDTREES_DIR}/${cmake_filename}" "${CURRENT_BUILDTREES_DIR}/${cmake_filename}.log")
|
524 |
+
# endforeach()
|
525 |
+
# #Copy config.log from buildtree/triplet to buildtree to get the log in CI in case of failure
|
526 |
+
# if(EXISTS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log")
|
527 |
+
# file(RENAME "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel/config.log" "${CURRENT_BUILDTREES_DIR}/config-rel.log")
|
528 |
+
# endif()
|
529 |
+
# if(EXISTS "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/config.log")
|
530 |
+
# file(RENAME "${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-dbg/config.log" "${CURRENT_BUILDTREES_DIR}/config-dbg.log")
|
531 |
+
# endif()
|
532 |
+
# message(FATAL_ERROR "Need Info from CI!")
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/qtdeploy.ps1
ADDED
@@ -0,0 +1,104 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# This script is based on the implementation of windeployqt for qt5.7.1
|
2 |
+
#
|
3 |
+
# Qt's plugin deployment strategy is that each main Qt Module has a hardcoded
|
4 |
+
# set of plugin subdirectories. Each of these subdirectories is deployed in
|
5 |
+
# full if that Module is referenced.
|
6 |
+
#
|
7 |
+
# This hardcoded list is found inside qttools\src\windeployqt\main.cpp. For
|
8 |
+
# updating, inspect the symbols qtModuleEntries and qtModuleForPlugin.
|
9 |
+
|
10 |
+
# Note: this function signature and behavior is depended upon by applocal.ps1
|
11 |
+
function deployPluginsIfQt([string]$targetBinaryDir, [string]$QtPluginsDir, [string]$targetBinaryName) {
|
12 |
+
$baseDir = Split-Path $QtPluginsDir -parent
|
13 |
+
$binDir = "$baseDir\bin"
|
14 |
+
|
15 |
+
function deployPlugins([string]$pluginSubdirName) {
|
16 |
+
if (Test-Path "$QtPluginsDir\$pluginSubdirName") {
|
17 |
+
Write-Verbose " Deploying plugins directory '$pluginSubdirName'"
|
18 |
+
New-Item "$targetBinaryDir\plugins\$pluginSubdirName" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null
|
19 |
+
Get-ChildItem "$QtPluginsDir\$pluginSubdirName\*.dll" | % {
|
20 |
+
deployBinary "$targetBinaryDir\plugins\$pluginSubdirName" "$QtPluginsDir\$pluginSubdirName" $_.Name
|
21 |
+
resolve "$targetBinaryDir\plugins\$pluginSubdirName\$($_.Name)"
|
22 |
+
}
|
23 |
+
} else {
|
24 |
+
Write-Verbose " Skipping plugins directory '$pluginSubdirName': doesn't exist"
|
25 |
+
}
|
26 |
+
}
|
27 |
+
|
28 |
+
# We detect Qt modules in use via the DLLs themselves. See qtModuleEntries in Qt to find the mapping.
|
29 |
+
if ($targetBinaryName -match "Qt5Cored?.dll") {
|
30 |
+
if (!(Test-Path "$targetBinaryDir\qt.conf")) {
|
31 |
+
"[Paths]" | Out-File -encoding ascii "$targetBinaryDir\qt.conf"
|
32 |
+
}
|
33 |
+
} elseif ($targetBinaryName -match "Qt5Guid?.dll") {
|
34 |
+
Write-Verbose " Deploying platforms"
|
35 |
+
New-Item "$targetBinaryDir\plugins\platforms" -ItemType Directory -ErrorAction SilentlyContinue | Out-Null
|
36 |
+
Get-ChildItem "$QtPluginsDir\platforms\qwindows*.dll" | % {
|
37 |
+
deployBinary "$targetBinaryDir\plugins\platforms" "$QtPluginsDir\platforms" $_.Name
|
38 |
+
}
|
39 |
+
|
40 |
+
deployPlugins "accessible"
|
41 |
+
deployPlugins "imageformats"
|
42 |
+
deployPlugins "iconengines"
|
43 |
+
deployPlugins "platforminputcontexts"
|
44 |
+
deployPlugins "styles"
|
45 |
+
} elseif ($targetBinaryName -match "Qt5Networkd?.dll") {
|
46 |
+
deployPlugins "bearer"
|
47 |
+
if (Test-Path "$binDir\libcrypto-1_1-x64.dll")
|
48 |
+
{
|
49 |
+
deployBinary "$targetBinaryDir" "$binDir" "libcrypto-1_1-x64.dll"
|
50 |
+
deployBinary "$targetBinaryDir" "$binDir" "libssl-1_1-x64.dll"
|
51 |
+
}
|
52 |
+
if (Test-Path "$binDir\libcrypto-1_1.dll")
|
53 |
+
{
|
54 |
+
deployBinary "$targetBinaryDir" "$binDir" "libcrypto-1_1.dll"
|
55 |
+
deployBinary "$targetBinaryDir" "$binDir" "libssl-1_1.dll"
|
56 |
+
}
|
57 |
+
} elseif ($targetBinaryName -match "Qt5Sqld?.dll") {
|
58 |
+
deployPlugins "sqldrivers"
|
59 |
+
} elseif ($targetBinaryName -match "Qt5Multimediad?.dll") {
|
60 |
+
deployPlugins "audio"
|
61 |
+
deployPlugins "mediaservice"
|
62 |
+
deployPlugins "playlistformats"
|
63 |
+
} elseif ($targetBinaryName -match "Qt5PrintSupportd?.dll") {
|
64 |
+
deployPlugins "printsupport"
|
65 |
+
} elseif ($targetBinaryName -match "Qt5Qmld?.dll") {
|
66 |
+
if(!(Test-Path "$targetBinaryDir\qml"))
|
67 |
+
{
|
68 |
+
if (Test-Path "$binDir\..\qml") {
|
69 |
+
cp -r "$binDir\..\qml" $targetBinaryDir
|
70 |
+
} elseif (Test-Path "$binDir\..\..\qml") {
|
71 |
+
cp -r "$binDir\..\..\qml" $targetBinaryDir
|
72 |
+
} else {
|
73 |
+
throw "FAILED"
|
74 |
+
}
|
75 |
+
}
|
76 |
+
} elseif ($targetBinaryName -match "Qt5Quickd?.dll") {
|
77 |
+
foreach ($a in @("Qt5QuickControls2", "Qt5QuickControls2d", "Qt5QuickShapes", "Qt5QuickShapesd", "Qt5QuickTemplates2", "Qt5QuickTemplates2d", "Qt5QmlWorkerScript", "Qt5QmlWorkerScriptd", "Qt5QuickParticles", "Qt5QuickParticlesd", "Qt5QuickWidgets", "Qt5QuickWidgetsd"))
|
78 |
+
{
|
79 |
+
if (Test-Path "$binDir\$a.dll")
|
80 |
+
{
|
81 |
+
deployBinary "$targetBinaryDir" "$binDir" "$a.dll"
|
82 |
+
}
|
83 |
+
}
|
84 |
+
deployPlugins "scenegraph"
|
85 |
+
deployPlugins "qmltooling"
|
86 |
+
} elseif ($targetBinaryName -like "Qt5Declarative*.dll") {
|
87 |
+
deployPlugins "qml1tooling"
|
88 |
+
} elseif ($targetBinaryName -like "Qt5Positioning*.dll") {
|
89 |
+
deployPlugins "position"
|
90 |
+
} elseif ($targetBinaryName -like "Qt5Location*.dll") {
|
91 |
+
deployPlugins "geoservices"
|
92 |
+
} elseif ($targetBinaryName -like "Qt5Sensors*.dll") {
|
93 |
+
deployPlugins "sensors"
|
94 |
+
deployPlugins "sensorgestures"
|
95 |
+
} elseif ($targetBinaryName -like "Qt5WebEngineCore*.dll") {
|
96 |
+
deployPlugins "qtwebengine"
|
97 |
+
} elseif ($targetBinaryName -like "Qt53DRenderer*.dll") {
|
98 |
+
deployPlugins "sceneparsers"
|
99 |
+
} elseif ($targetBinaryName -like "Qt5TextToSpeech*.dll") {
|
100 |
+
deployPlugins "texttospeech"
|
101 |
+
} elseif ($targetBinaryName -like "Qt5SerialBus*.dll") {
|
102 |
+
deployPlugins "canbus"
|
103 |
+
}
|
104 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-base/vcpkg.json
ADDED
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-base",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"port-version": 2,
|
5 |
+
"description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
|
6 |
+
"homepage": "https://www.qt.io/",
|
7 |
+
"license": null,
|
8 |
+
"dependencies": [
|
9 |
+
{
|
10 |
+
"name": "angle",
|
11 |
+
"platform": "!windows"
|
12 |
+
},
|
13 |
+
"double-conversion",
|
14 |
+
"egl-registry",
|
15 |
+
{
|
16 |
+
"name": "fontconfig",
|
17 |
+
"platform": "!windows"
|
18 |
+
},
|
19 |
+
"freetype",
|
20 |
+
"harfbuzz",
|
21 |
+
{
|
22 |
+
"name": "icu",
|
23 |
+
"platform": "!uwp"
|
24 |
+
},
|
25 |
+
"libjpeg-turbo",
|
26 |
+
"libpng",
|
27 |
+
"openssl",
|
28 |
+
"pcre2",
|
29 |
+
{
|
30 |
+
"name": "qt5-base",
|
31 |
+
"host": true,
|
32 |
+
"default-features": false
|
33 |
+
},
|
34 |
+
"sqlite3",
|
35 |
+
{
|
36 |
+
"name": "vcpkg-pkgconfig-get-modules",
|
37 |
+
"host": true
|
38 |
+
},
|
39 |
+
"zlib",
|
40 |
+
"zstd"
|
41 |
+
],
|
42 |
+
"features": {
|
43 |
+
"latest": {
|
44 |
+
"description": "Build latest qt version (5.15.2) instead of LTS (latest and LTS are currently the same)"
|
45 |
+
},
|
46 |
+
"mysqlplugin": {
|
47 |
+
"description": "Build the sql plugin for connecting to mysql databases",
|
48 |
+
"dependencies": [
|
49 |
+
"libmysql"
|
50 |
+
]
|
51 |
+
},
|
52 |
+
"postgresqlplugin": {
|
53 |
+
"description": "Build the sql plugin for connecting to postgresql databases",
|
54 |
+
"dependencies": [
|
55 |
+
"libpq"
|
56 |
+
]
|
57 |
+
},
|
58 |
+
"vulkan": {
|
59 |
+
"description": "Enable Vulkan support in QtGui",
|
60 |
+
"dependencies": [
|
61 |
+
"vulkan"
|
62 |
+
]
|
63 |
+
}
|
64 |
+
}
|
65 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-canvas3d/portfile.cmake
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
message(FATAL_ERROR "${PORT} has been deprecated and will be removed in the future from VCPKG")
|
2 |
+
#set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
3 |
+
#include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
4 |
+
#qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-canvas3d/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-canvas3d",
|
3 |
+
"version-string": "0",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "Qt5 Canvas 3d Module;",
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
}
|
11 |
+
]
|
12 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-charts/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-charts/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-charts",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Charts Module - UI components for displaying charts, driven by static or dynamic data models",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative",
|
12 |
+
"qt5-multimedia"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-connectivity/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-connectivity/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-connectivity",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Connectivity module - Provides access to Bluetooth and NFC hardware",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
}
|
11 |
+
]
|
12 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-datavis3d/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-datavis3d/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-datavis3d",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Data Visualization 3d Module - UI Components for creating 3D data visualizations",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative",
|
12 |
+
"qt5-multimedia"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/limits_include.patch
ADDED
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
From 2dfb893c130a9f9195805fcc81d7e5e242bc558d Mon Sep 17 00:00:00 2001
|
2 |
+
From: Nicolas Fella <[email protected]>
|
3 |
+
Date: Wed, 11 Aug 2021 17:03:06 +0200
|
4 |
+
Subject: [PATCH] Add missing limits include
|
5 |
+
|
6 |
+
---
|
7 |
+
src/qmldebug/qqmlprofilerevent_p.h | 1 +
|
8 |
+
1 file changed, 1 insertion(+)
|
9 |
+
|
10 |
+
diff --git a/src/qmldebug/qqmlprofilerevent_p.h b/src/qmldebug/qqmlprofilerevent_p.h
|
11 |
+
index a7e37d1964..01b2f58f16 100644
|
12 |
+
--- a/src/qmldebug/qqmlprofilerevent_p.h
|
13 |
+
+++ b/src/qmldebug/qqmlprofilerevent_p.h
|
14 |
+
@@ -48,6 +48,7 @@
|
15 |
+
#include <QtCore/qmetatype.h>
|
16 |
+
|
17 |
+
#include <initializer_list>
|
18 |
+
+#include <limits>
|
19 |
+
#include <type_traits>
|
20 |
+
|
21 |
+
//
|
22 |
+
--
|
23 |
+
2.32.0
|
24 |
+
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/portfile.cmake
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation(OUT_SOURCE_PATH SOURCE_PATH PATCHES limits_include.patch)
|
3 |
+
|
4 |
+
if(NOT QT_UPDATE_VERSION)
|
5 |
+
vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/qt5/QtQml/5.15.3/QtQml/private/qqmljsparser_p.h" "${SOURCE_PATH}" "")
|
6 |
+
endif()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-declarative/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-declarative",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Declarative (Quick 2) Module. Includes QtQuick, QtQuickParticles, QtQuickWidgets, QtQml, and QtPacketProtocol.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-imageformats",
|
12 |
+
"qt5-svg"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-doc/portfile.cmake
ADDED
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
2 |
+
if(VCPKG_TARGET_IS_WINDOWS)
|
3 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
4 |
+
message(STATUS "${PORT} will not build any artifacts on Windows!")
|
5 |
+
endif()
|
6 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
7 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-doc/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-doc",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 doc Module;",
|
5 |
+
"license": null,
|
6 |
+
"supports": "linux",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
},
|
12 |
+
"qt5-declarative",
|
13 |
+
"qt5-quickcontrols2",
|
14 |
+
"qt5-tools"
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-gamepad/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-gamepad/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-gamepad",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Gamepad Module - Enables Qt applications to support the use of gamepad hardware",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-graphicaleffects/portfile.cmake
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
2 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
3 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-graphicaleffects/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-graphicaleffects",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 GraphicalEffects Module.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-imageformats/portfile.cmake
ADDED
@@ -0,0 +1,54 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
2 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
3 |
+
|
4 |
+
|
5 |
+
list(APPEND CORE_OPTIONS
|
6 |
+
-system-tiff
|
7 |
+
-system-webp
|
8 |
+
-jasper
|
9 |
+
-no-mng # must be explicitly disabled to not automatically pick up mng
|
10 |
+
-verbose)
|
11 |
+
|
12 |
+
find_library(TIFF_RELEASE NAMES tiff PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH) # Depends on lzma
|
13 |
+
find_library(TIFF_DEBUG NAMES tiffd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
14 |
+
find_library(JPEG_RELEASE NAMES jpeg jpeg-static PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
15 |
+
find_library(JPEG_DEBUG NAMES jpeg jpeg-static jpegd jpeg-staticd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
16 |
+
find_library(ZLIB_RELEASE NAMES z zlib PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
17 |
+
find_library(ZLIB_DEBUG NAMES z zlib zd zlibd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
18 |
+
|
19 |
+
find_library(JASPER_RELEASE NAMES jasper PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
20 |
+
find_library(JASPER_DEBUG NAMES jasperd jasper libjasperd libjasper PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
21 |
+
if(NOT VCPKG_TARGET_IS_OSX)
|
22 |
+
find_library(FREEGLUT_RELEASE NAMES freeglut glut PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
23 |
+
find_library(FREEGLUT_DEBUG NAMES freeglutd freeglut glutd glut PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
24 |
+
endif()
|
25 |
+
|
26 |
+
find_library(WEBP_RELEASE NAMES webp PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
27 |
+
find_library(WEBP_DEBUG NAMES webpd webp PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
28 |
+
find_library(WEBPDEMUX_RELEASE NAMES webpdemux PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
29 |
+
find_library(WEBPDEMUX_DEBUG NAMES webpdemuxd webpdemux PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
30 |
+
find_library(WEBPMUX_RELEASE NAMES webpmux libwebpmux PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
31 |
+
find_library(WEBPMUX_DEBUG NAMES webpmuxd webpmux libwebpmuxd libwebpmux PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
32 |
+
find_library(WEBPDECODER_RELEASE NAMES webpdecoder libwebpdecoder PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
33 |
+
find_library(WEBPDECODER_DEBUG NAMES webpdecoder libwebpdecoder webpdecoderd libwebpdecoderd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
34 |
+
# Depends on opengl in default build but might depend on giflib, libjpeg-turbo, zlib, libpng, tiff, freeglut (!osx), sdl1 (windows)
|
35 |
+
# which would require extra libraries to be linked e.g. giflib freeglut sdl1 other ones are already linked
|
36 |
+
|
37 |
+
#Dependent libraries
|
38 |
+
find_library(LZMA_RELEASE lzma PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
|
39 |
+
find_library(LZMA_DEBUG lzma PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)
|
40 |
+
|
41 |
+
if(NOT VCPKG_TARGET_IS_WINDOWS)
|
42 |
+
string(APPEND WEBP_RELEASE " -pthread")
|
43 |
+
string(APPEND WEBP_DEBUG " -pthread")
|
44 |
+
endif()
|
45 |
+
|
46 |
+
set(OPT_REL "TIFF_LIBS=${TIFF_RELEASE} ${LZMA_RELEASE} ${JPEG_RELEASE} ${ZLIB_RELEASE}"
|
47 |
+
"WEBP_LIBS=${WEBPDECODER_RELEASE} ${WEBPDEMUX_RELEASE} ${WEBPMUX_RELEASE} ${WEBP_RELEASE}"
|
48 |
+
"JASPER_LIBS=${JASPER_RELEASE} ${FREEGLUT_RELEASE} ${JPEG_RELEASE} ${ZLIB_RELEASE}") # This will still fail if LIBWEBP is installed with all available features due to the missing additional dependencies
|
49 |
+
set(OPT_DBG "TIFF_LIBS=${TIFF_DEBUG} ${LZMA_DEBUG} ${JPEG_DEBUG} ${ZLIB_DEBUG}"
|
50 |
+
"WEBP_LIBS=${WEBPDECODER_DEBUG} ${WEBPDEMUX_DEBUG} ${WEBPMUX_DEBUG} ${WEBP_DEBUG}"
|
51 |
+
"JASPER_LIBS=${JASPER_DEBUG} ${FREEGLUT_DEBUG} ${JPEG_DEBUG} ${ZLIB_DEBUG}")
|
52 |
+
list(APPEND CORE_OPTIONS "WEBP_INCDIR=${CURRENT_INSTALLED_DIR}/include") # Requires libwebp[all]
|
53 |
+
|
54 |
+
qt_submodule_installation(BUILD_OPTIONS ${CORE_OPTIONS} BUILD_OPTIONS_RELEASE ${OPT_REL} BUILD_OPTIONS_DEBUG ${OPT_DBG})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-imageformats/vcpkg.json
ADDED
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-imageformats",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Image Formats Module - Plugins for additional image formats: TIFF, MNG, TGA, WBMP",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
"jasper",
|
8 |
+
"libwebp",
|
9 |
+
{
|
10 |
+
"name": "qt5-base",
|
11 |
+
"default-features": false
|
12 |
+
},
|
13 |
+
"tiff"
|
14 |
+
]
|
15 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-location/portfile.cmake
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
message(STATUS "${PORT} has a spurious failure in which it is unable to create a parent directory! Just retry.")
|
2 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
3 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-location/vcpkg.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-location",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Location Module - Displays map, navigation, and place content in a QML application.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative",
|
12 |
+
"qt5-quickcontrols",
|
13 |
+
"qt5-quickcontrols2",
|
14 |
+
"qt5-serialport"
|
15 |
+
]
|
16 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-macextras/portfile.cmake
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
if (NOT VCPKG_CMAKE_SYSTEM_NAME STREQUAL "Darwin" AND NOT QT_UPDATE_VERSION)
|
3 |
+
message(FATAL_ERROR "qt5-macextras only support OSX.")
|
4 |
+
endif()
|
5 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-macextras/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-macextras",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Mac Extras Module. Provides platform-specific APIs for mac.",
|
5 |
+
"license": null,
|
6 |
+
"supports": "osx",
|
7 |
+
"dependencies": [
|
8 |
+
{
|
9 |
+
"name": "qt5-base",
|
10 |
+
"default-features": false
|
11 |
+
}
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-modularscripts/portfile.cmake
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_PACKAGE enabled)
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-modularscripts/vcpkg.json
ADDED
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-modularscripts",
|
3 |
+
"version-string": "deprecated",
|
4 |
+
"port-version": 1,
|
5 |
+
"description": "now part of qt5-base, formerly vcpkg helpers to package qt5 modules"
|
6 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-mqtt/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation(PATCHES ${_qis_PATCHES})
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-mqtt/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-mqtt",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 MQTT module.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
}
|
11 |
+
]
|
12 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-multimedia/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-multimedia/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-multimedia",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Multimedia Module - Classes and widgets for audio, video, radio and camera functionality",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-networkauth/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-networkauth/vcpkg.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-networkauth",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Network Authorization Module",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
}
|
11 |
+
]
|
12 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-purchasing/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-purchasing/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-purchasing",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Purchasing Module - Enables in-app purchase of products in Qt applications.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols/portfile.cmake
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
|
2 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
3 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-quickcontrols",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 QuickControls Module.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative",
|
12 |
+
"qt5-graphicaleffects"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols2/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-quickcontrols2/vcpkg.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-quickcontrols2",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 QuickControls2 Module.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative",
|
12 |
+
"qt5-imageformats"
|
13 |
+
]
|
14 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-remoteobjects/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-remoteobjects/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-remoteobjects",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Remoteobjects module - Provides an easy to use mechanism for sharing a QObject's API (Properties/Signals/Slots) between processes or devices.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-declarative"
|
12 |
+
]
|
13 |
+
}
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-script/portfile.cmake
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
|
2 |
+
qt_submodule_installation()
|
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qt5-script/vcpkg.json
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"name": "qt5-script",
|
3 |
+
"version": "5.15.3",
|
4 |
+
"description": "Qt5 Script Module.",
|
5 |
+
"license": null,
|
6 |
+
"dependencies": [
|
7 |
+
{
|
8 |
+
"name": "qt5-base",
|
9 |
+
"default-features": false
|
10 |
+
},
|
11 |
+
"qt5-tools"
|
12 |
+
]
|
13 |
+
}
|