Commit Graph

220 Commits

Author SHA1 Message Date
github-actions[bot]
01a65d81f3
Merge master into staging-next 2024-01-23 18:00:56 +00:00
Weijia Wang
bfd9f9a7e4 qt6.qtwebengine: disable signing on x86_64-darwin 2024-01-23 07:35:09 +01:00
github-actions[bot]
cabf4612ca
Merge master into staging-next 2024-01-21 12:01:00 +00:00
Weijia Wang
90cae4d942 qt6.qtwebengine: force signing darwin binaires 2024-01-20 19:44:52 +01:00
Weijia Wang
e964964297 qt6.qtwebengine: fix build on darwin 2024-01-20 04:01:29 +01:00
midchildan
c98eb89ffe qt6.qtwebengine: use system ICU only on Linux 2024-01-19 15:57:03 +01:00
K900
e44cf032bc qt5, qt6: fix QML path search order
QQmlImportDatabase::addImportPath _prepends_ to the search path,
so our version specific search paths need to be added in last.
2024-01-19 15:34:40 +03:00
K900
ee70129510 qt5, qt6: use versioned QML import paths in wrappers
Qt is smart enough to figure out the target Qt version for native plugins.
However, Qt is _not_ smart enough to figure out the target Qt version for
QML imports, which causes all kinds of funny breakage when you start running
Qt 5 applications from Qt 6 ones and vice versa.

So, do some minimally invasive surgery to make different Qt versions pick up
different QML import path variables, so they don't mess with each other.

This is kind of very cursed, but what can you do.
2024-01-17 11:32:40 +03:00
github-actions[bot]
dc84f21849
Merge master into staging-next 2024-01-03 12:01:04 +00:00
Nick Cao
ddc8bd3f51
qt6.qtbase: add patch for CVE-2023-51714 2024-01-02 17:10:56 -05:00
K900
98ec8685a6 qt6.qtwebengine: fix build with libxml 2.12 2024-01-02 12:51:26 +03:00
Kevin Puetz
7e886531a2 qt6.qtmultimedia: Fix failure to load libva.so
QtMultimedia 6.6.0 would select dynamic VAAPI on linux, then warns
during build (even though it chose this on purpose):

> QT_FEATURE_vaapi is found but ffmpeg doesn't include vaapi,
> however dynamic symbols resolve is possible

The nuisance warning was fixed for 6.7 and backported to 6.6.1:
https://codereview.qt-project.org/c/qt/qtmultimedia/+/517333

However, tracing it helped me figure out why vaapi actually wasn't
working: nix doesn't end up with an rpath such that dlopen("va")
can actually find libva.so in the nix store, thus failing at runtime:

> qt.multimedia.plugin: loading backend "ffmpeg"
> qt.core.library: "/nix/store/i9fkjks6dfjj1p9qvj5633sxbrf5rbd8-qtmultimedia-6.6.1/lib/qt-6/plugins/multimedia/libffmpegmediaplugin.so" loaded library
> qt.multimedia.ffmpeg.libsymbolsresolver: Start VAAPI symbols resolving: 39 symbols
> qt.core.library: "va" cannot load: Cannot load library va: (va: cannot open shared object file: No such file or directory)
> qt.multimedia.ffmpeg.libsymbolsresolver: Couldn't load VAAPI library
2023-12-03 16:59:01 -06:00
Kevin Puetz
d3de574b8c qt6.qtmultimedia: Compile hardware-accelerated VAAPI 2023-12-03 16:58:59 -06:00
Kevin Puetz
91b8e472a5 qt6.qtmultimedia: Compile ffmpeg multimedia plugin
This is now the default recommendation upstream for linux platforms

> https://doc.qt.io/qt-6.6/qtmultimedia-index.html#ffmpeg-as-the-default-backend
> In this release the FFmpeg framework is set as the default backend on
> Windows, macOS, Android, and Linux except Yocto distribution.

> The version shipped with Qt binary packages is FFmpeg 6.0
> and is tested by the maintainers.

libXrandr is required to compile support QT_WINDOW_CAPTURE_BACKEND=x11
2023-12-03 16:58:28 -06:00
Kevin Puetz
0ebea89551 qt6.qtmultimedia: Enable Spatial Audio (Quick3D)
This was Tech Preview in Qt 6.4, released in 6.5
2023-12-03 16:34:30 -06:00
Nick Cao
64c132c427
qt6.qtbase: fix build on older macOS 2023-11-27 16:22:18 -05:00
Nick Cao
b30aa72d57
qt6.qtwayland: drop outdated patches 2023-11-27 11:18:03 -05:00
Nick Cao
4b8fb7d6da
qt6.qtsvg: drop outdated patches 2023-11-27 11:03:44 -05:00
Nick Cao
da08600073
qt6.qtbase: derive plugin load path from PATH 2023-11-27 10:42:10 -05:00
Nick Cao
53ad6fd1b4
qt6.qtbase: refresh patches 2023-11-27 10:37:13 -05:00
Nick Cao
3e46f20afe
qt6: 6.6.0 -> 6.6.1 2023-11-27 10:33:46 -05:00
Lorenz Brun
0e4a87f4dd qt6.qtwebengine: set correct platforms
Qt WebEngine is built on Chromium, which only supports a limited set
of platforms. Set these here to stop attempts at building for other
platforms.
2023-11-25 12:21:27 +01:00
Artturin
65874cc847 qt6: dont use with self
improves cross-compilation support

matches qt5 set
2023-11-24 04:19:39 +02:00
Artturin
1231b72e01 qt6: use makeScopeWithSplicing 2023-11-24 04:16:53 +02:00
Nick Cao
80e1bce562
qt6.qtwayland: fix a crash issue with popup/submenus 2023-11-20 08:55:38 -05:00
github-actions[bot]
6cc772a6fa
Merge master into staging-next 2023-11-14 18:01:11 +00:00
oxalica
7cf2539472
qt6Packages.qtwayland: fix a freezing bug with fcitx5 2023-11-14 19:19:00 +08:00
github-actions[bot]
6e287cb9de
Merge master into staging-next 2023-11-05 00:02:23 +00:00
Artturin
01d9c8d1bc treewide: change readded overrideScope''s to overrideScope
`overrideScope'` has been renamed to `overrideScope`
2023-11-04 23:28:04 +02:00
Randy Eckenrode
3f3a594249
qt6.qtwebengine: fix build with clang 16
Specify a deployment target of 10.13 to avoid errors due to clang’s
having a hard-coded check for 10.13 when using them (even though it
implements them with `posix_memalign`, which is available on earlier
versions of macOS).
2023-10-31 00:18:54 -04:00
Randy Eckenrode
1c1ce083f7
qt6.qtwebengine: fix QtWebEngine build crash
QtWebEngine tries to build with clang 14, which links libc++ 14, but the
top-level libc++ on Dariwn is libc++ 16. This results in a crash during
the build, which is fixed by building with the default stdenv.
2023-10-30 22:25:49 -04:00
github-actions[bot]
4b9cf6ff6e
Merge master into staging-next 2023-10-19 00:02:21 +00:00
Weijia Wang
14c9544e25 qt6.qtwebengine: fix platform detection on darwin 2023-10-18 23:24:09 +02:00
Weijia Wang
931baddf22 qt6.qtgraphs: qtInputs -> propagatedBuildInputs 2023-10-13 18:18:02 +02:00
github-actions[bot]
8a68e0b5f5
Merge master into staging-next 2023-10-13 06:01:14 +00:00
Nick Cao
2de11a7688
qt6.qtsvg: add patch for QTBUG-117944 2023-10-12 09:30:58 -04:00
Nick Cao
1afbd8c284
qt6.qtwebengine: refresh patches for qt 6.6.0 2023-10-12 09:30:50 -04:00
Nick Cao
998fa6daa5
qt6.qtgraphs: init at 6.6.0 2023-10-12 09:30:49 -04:00
Nick Cao
539cb44879
qt6.qtgrpc: drop outdated patches 2023-10-12 09:30:48 -04:00
Nick Cao
cced34436c
qt6.qtdeclarative: refresh patches for qt 6.6.0 2023-10-12 09:30:47 -04:00
Nick Cao
76e234836a
qt6.qttools: drop incorrect references to CMAKE_INSTALL_INCLUDEDIR 2023-10-12 09:30:46 -04:00
Nick Cao
5f3c3c43a8
qt6.qtbase: refresh patches for qt 6.6.0 2023-10-12 09:30:45 -04:00
Nick Cao
6b0b44ae8e
qt6.qtmqtt: 6.5.3 -> 6.6.0 2023-10-12 09:30:44 -04:00
Nick Cao
367aae2e1c
qt6: 6.5.3 -> 6.6.0 2023-10-12 09:30:39 -04:00
github-actions[bot]
50751b0602
Merge master into staging-next 2023-09-29 18:00:55 +00:00
Nick Cao
e38dd213af
qt6.qtgrpc: update patch for protobuf 23 2023-09-28 13:53:58 -04:00
Nick Cao
a93d915ed5
qt6: 6.5.2 -> 6.5.3 2023-09-28 12:33:11 -04:00
github-actions[bot]
983c998105
Merge staging-next into staging 2023-09-19 00:02:48 +00:00
Nick Cao
7efb824dac
qt6.qtgrpc: add patch for protobuf 23 support 2023-09-18 09:49:57 -04:00
Alyssa Ross
aae53c8f97
qt5.qtModule,qt6.qtModule: deprecate qtInputs
This is just an alias for propagatedBuildInputs.  Having two names for
the same thing just makes things confusing.
2023-09-17 07:04:59 +00:00