Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependencies for iOS #117

Draft
wants to merge 1 commit into
base: 2.5
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 63 additions & 6 deletions vcpkg.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,17 @@
"fdk-aac",
"ffmpeg",
"fftw3",
"grantlee",
{
"name": "grantlee",
"$comment": "On iOS: ld: Undefined symbols: _main, referenced from: user_main_trampoline() in libqios.a[arm64][6](qioseventdispatcher.mm.o)",
"platform": "!ios"
},
"gtest",
"hidapi",
{
"name": "hidapi",
"$comment": "Not supported on iOS due to its dependency on libusb",
"platform": "!ios"
},
{
"name": "hss1394",
"platform": "windows | osx"
Expand All @@ -38,7 +46,11 @@
"name": "libsndfile",
"default-features": false
},
"libusb",
{
"name": "libusb",
"$comment": "Does not support iOS official (there seem to be inofficial ports, however, which could be investigated)",
"platform": "!ios"
},
"libvorbis",
"lilv",
"mp3lame",
Expand All @@ -53,12 +65,57 @@
"protobuf",
"pthreads",
"qt5compat",
"qtbase",
{
"name": "qtbase",
"default-features": false,
"features": [
"brotli",
"concurrent",
"dbus",
"default-features",
"doubleconversion",
"freetype",
"gui",
"harfbuzz",
"icu",
"jpeg",
"network",
"opengl",
{
"name": "gles3",
"platform": "ios"
},
{
"name": "openssl",
"platform": "!ios"
},
"pcre2",
"png",
"sql",
{
"name": "sql-psql",
"platform": "!ios"
},
"sql-sqlite",
"testlib",
"thread",
"widgets",
"zstd"
]
},
Comment on lines +68 to +105
Copy link
Member Author

@fwcd fwcd Feb 6, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On iOS we build with OpenGL ES 3.0 and without Postgres/OpenSSL. This unfortunately requires us to list all of the default features explicitly(microsoft#11097).

"qtdeclarative",
"qtsvg",
"qttranslations",
"qtkeychain-qt6",
"rubberband",
{
"name": "qtkeychain-qt6",
"$comment": "libgcrypt seems to be unsupported on iOS",
"platform": "!ios"
},
{
"name": "rubberband",
"$comment": "Skipped on iOS due to licensing issues (GPL) and build issues",
"platform": "!ios"
},
"soundtouch",
"taglib",
"wavpack"
Expand Down
Loading