[qt5-base] Add feature vulkan (#16386)

* [qt5-base] Add feature vulkan

* update version record

* Update ports/qt5-base/vcpkg.json

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>

* Update versions/q-/qt5-base.json

* Update ports/qt5-base/portfile.cmake

* Update versions/q-/qt5-base.json

* Update versions/q-/qt5-base.json

* update version record

Co-authored-by: Alexander Neumann <30894796+Neumann-A@users.noreply.github.com>
This commit is contained in:
Jack·Boos·Yu 2021-04-20 08:11:20 +08:00 committed by GitHub
parent 3e9fce266b
commit 3f2616bc64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 3 deletions

View File

@ -147,6 +147,11 @@ else()
list(APPEND CORE_OPTIONS -no-sql-mysql)
endif()
if ("vulkan" IN_LIST FEATURES)
list(APPEND CORE_OPTIONS --vulkan=yes)
else()
list(APPEND CORE_OPTIONS --vulkan=no)
endif()
find_library(ZLIB_RELEASE NAMES z zlib PATHS "${CURRENT_INSTALLED_DIR}/lib" NO_DEFAULT_PATH)
find_library(ZLIB_DEBUG NAMES z zlib zd zlibd PATHS "${CURRENT_INSTALLED_DIR}/debug/lib" NO_DEFAULT_PATH)

View File

@ -1,7 +1,7 @@
{
"name": "qt5-base",
"version-string": "5.15.2",
"port-version": 5,
"version-semver": "5.15.2",
"port-version": 6,
"description": "Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.",
"homepage": "https://www.qt.io/",
"dependencies": [
@ -48,6 +48,12 @@
"dependencies": [
"libpq"
]
},
"vulkan": {
"description": "Enable Vulkan support in QtGui",
"dependencies": [
"vulkan"
]
}
}
}

View File

@ -4990,7 +4990,7 @@
},
"qt5-base": {
"baseline": "5.15.2",
"port-version": 5
"port-version": 6
},
"qt5-canvas3d": {
"baseline": "0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "96a7bf2a451b16e43b7adda9d0be8f07d853a090",
"version-semver": "5.15.2",
"port-version": 6
},
{
"git-tree": "971d4936dfb79384d61cdafc9775b7caa2329135",
"version-string": "5.15.2",