Cacodemon345
51b7e388a8
qt: Fix dangling pointers on Vulkan init failure
2022-04-27 00:23:29 +06:00
Cacodemon345
5eb0e93f57
qt: Attempt fixing Windows/Super key input
2022-04-26 16:56:44 +06:00
Cacodemon345
a3880c24df
vulkan: Explicitly select Vulkan version
2022-04-26 14:45:24 +06:00
Cacodemon345
1ad7d65187
vulkan: Don't select sRGB formats for swapchain
2022-04-26 14:41:13 +06:00
Cacodemon345
df4c20a863
vulkan: Add HiDPI support
2022-04-26 14:40:35 +06:00
Cacodemon345
886c0acd47
Fix compilation error when building with Wayland
2022-04-26 02:16:32 +06:00
Cacodemon345
a559684e7c
Fix darkened rendering in Vulkan
2022-04-25 21:13:41 +06:00
Miran Grča
762a5f1de9
Merge pull request #2303 from Cacodemon345/patch-74
...
qt: Disable Xi2 mouse input backend
2022-04-25 12:27:52 +02:00
Cacodemon345
6f968e3fd7
qt: Fix compiling with Vulkan support unavailable
2022-04-25 16:09:37 +06:00
Cacodemon345
62b92386bb
qt: Disable Xi2 mouse input backend
2022-04-25 14:51:17 +06:00
Cacodemon345
9c070dc192
Add missing includes
2022-04-24 01:05:37 +06:00
Cacodemon345
5835f98fba
Fix a couple of bad mistakes
2022-04-24 01:02:34 +06:00
Cacodemon345
d5df99fbd8
Merge remote-tracking branch 'upstream/master' into newqt2
2022-04-24 00:58:08 +06:00
Cacodemon345
6edc2a4c2b
Merge remote-tracking branch 'upstream/master' into newqt2
2022-04-24 00:56:11 +06:00
RichardG867
bfde3e4867
Qt: Fix middle mouse button uncapture
2022-04-21 13:56:39 -03:00
Cacodemon345
314bf5ad06
Add Vulkan renderer
2022-04-21 16:32:46 +06:00
richardg867
7d6ad0d650
Selectable mouse type on Linux, part 6
2022-04-20 21:39:57 -03:00
richardg867
0af6605042
Selectable mouse type on Linux, part 5
2022-04-20 21:38:57 -03:00
richardg867
f6e3c0d029
Selectable mouse type on Linux, part 4
2022-04-20 21:37:38 -03:00
richardg867
5810f39f4d
Selectable mouse type on Linux, part 3
2022-04-20 20:55:26 -03:00
richardg867
5f070c8f74
Selectable mouse type on Linux, part 2
2022-04-20 20:54:41 -03:00
richardg867
a62e3aff23
Selectable mouse type on Linux, part 1
2022-04-20 20:51:39 -03:00
richardg867
de82cf8bf1
macOS: Fix plat_getcwd on .app bundle
2022-04-20 13:35:14 -03:00
David Hrdlička
e60af6c29d
Clean up plat.h a bit
2022-04-20 01:03:39 +02:00
Alexander Babikov
710d34db97
Remove unused variables and functions
2022-04-14 07:13:50 +05:00
Alexander Babikov
ae11a2f887
Ensure null termination with strncpy
2022-04-14 07:13:49 +05:00
Alexander Babikov
911821434e
Fix variable initializtion warnings
2022-04-14 07:13:49 +05:00
Alexander Babikov
4e82d93729
Fix warnings related to variable types
2022-04-14 07:13:48 +05:00
Alexander Babikov
484a082122
Make sure certain variables used only on some platforms are defined only on said platforms
2022-04-14 07:13:47 +05:00
Alexander Babikov
eba088c692
Remove trailing whitespace + indentation consistency fixes
2022-04-14 07:10:18 +05:00
Alexander Babikov
97b6d57412
Remove an obsolete TODO file
2022-04-14 06:24:39 +05:00
Miran Grča
cc666e6cc4
Merge pull request #2281 from jriwanek-forks/named-initializers-3
...
Named initializers part 3
2022-04-12 23:38:32 +02:00
Jasmine Iwanek
702f80e58a
Backport several changes from M&K
2022-04-12 17:26:05 -04:00
Cacodemon345
fe94e79fa0
qt: Fix crashes on failed loads of media images
2022-04-11 00:55:24 +06:00
David Hrdlička
048cfbea00
Fix accidental removal
2022-04-08 10:45:46 +02:00
David Hrdlička
25b8f42dc6
qt: FIx broken build due to missing define
2022-04-08 10:34:59 +02:00
David Hrdlička
e711b6c44a
Fix ROM location on macOS
2022-04-08 10:20:01 +02:00
Miran Grča
ae3c035281
Merge pull request #2269 from emilazy/fix-qt6-macos
...
Fix Qt 6 build and modifier key handling on macOS
2022-04-08 03:45:18 +02:00
Emily
9c6001dabb
qt: Fix Qt 6 modifier key handling on macOS
...
Per QTBUG-69608 (https://bugreports.qt.io/browse/QTBUG-69608 ),
QKeyEvent::nativeVirtualKey() returns 0 on Qt 6 (and possibly some
versions of Qt 5) for keyboard modifier events. Despite being closed,
the bug doesn't appear to have been fixed, or perhaps was fixed and
then regressed again.
Detect this case and handle the events manually by keeping track of the
active modifier keys and using QKeyEvent::nativeModifiers() and the
platform-specific modifier values.
Caps Lock requires some special handling and doesn't get discrete
press/release events, at least with the Qt input system; see the code
for details. It's possible some other toggle modifiers like Scroll Lock
will need special handling along these lines too.
Fix #2211 .
2022-04-08 01:46:45 +01:00
Emily
ac77a21611
cmake: Fix Qt 6 plugin installation on macOS
...
Run find_package to import the CMake rules for the various plugins,
as install_qt5_plugin didn't work for me on Qt 6 otherwise, and install
the macOS style and icon plugins as well so that the widget style and
icons work correctly on Qt 6.
${_qt_plugin_dir} doesn't seem to get set by anything and
install_qt5_plugin hardcodes the PlugIns path, so hardcode that in
qt.conf as well.
Additionally, adjust the Qt library folder to take into account the
major version being used.
2022-04-08 01:46:41 +01:00
David Hrdlička
3449a173ae
Move ROM search path code to rom.c, rewrite rom_fopen
2022-04-08 01:34:47 +02:00
David Hrdlička
a780d9a241
Rewrite plat_init_rom_paths in Qt frontend
2022-04-08 00:58:38 +02:00
Cacodemon345
e5ab6a8564
qt: Avoid reading absolute mouse input from cross-platform Qt code on Windows
...
This ensures only RAWINPUT sends mouse input to the emulated machine on Windows.
2022-04-08 01:51:32 +06:00
Miran Grča
facbad9dd1
Merge pull request #2261 from Cacodemon345/newqt
...
Multiple ROM paths implementation
2022-04-07 17:26:08 +02:00
Cacodemon345
c700f93b4b
qt: Fix warnings
2022-04-07 01:27:16 +06:00
Cacodemon345
84b1a8a7d3
qt: Fix mistyped LCID value of en-US
2022-04-07 01:23:23 +06:00
Cacodemon345
027179ab95
qt/languages/pt-PT.po: Fix "No ROMs Found" message
2022-04-07 01:14:36 +06:00
Cacodemon345
0f54376224
Merge branch 'newqt' of ssh://github.com/Cacodemon345/86box into newqt
2022-04-07 01:00:09 +06:00
Cacodemon345
0fd3042e0c
qt: Add support for loading ROMs from ~/Documents/86Box/roms on macOS
2022-04-07 00:57:16 +06:00
Cacodemon345
f8c53dec3a
qt: Fix compilation on Linux
2022-04-06 19:56:30 +06:00