Commit Graph

22496 Commits (a75542ad2dd028f9aa3adfb00e92817ada12ccd8)
 

Author SHA1 Message Date
Kyle Kienapfel a75542ad2d CMake: rework for Qt6 support
This PR rearranges things in the CMake system to make compiling with Qt6 possible

1. Camera API has changed in Qt6, so the camera feature is disabled
2. A previous fix involving QLocale is now version gated.
3. QRegExp replaced with QRegularExpression, see #5343
4. Qt6_LOCATION option added to specify a location to search for Qt6
  (see examples below)
5. windeployqt is used to copy Qt6 files into the build directory on Windows

Notes for Arch Linux
Arch install happened to have qt6-base qt6-declarative qt6-translations installed

mkdir build && cd build
cmake .. -GNinja -DYUZU_USE_BUNDLED_VCPKG=ON -DYUZU_TESTS=OFF -DENABLE_QT6=YES -DYUZU_USE_BUNDLED_QT=NO

Windows (MSVC)
Qt wants users to download precompiled libraries via an online installer,
it is worth noting that the GPL/LGPL takes precendence over any ...

In the Qt Maintenance tool, under a version, such as 6.3.1
Select "MSVC 2019 64-bit"
Under Additional Libraries Qt Multimedia may be of use for Camera support

For the Web Applet I had to select the following:
PDF Positioning WebChannel WebEngine

mkdir build && cd build
cmake -G "Visual Studio 16 2019" -DQt6_LOCATION=C:/Qt/6.4.0/msvc2019_64/ \
-DENABLE_COMPATIBILITY_LIST_DOWNLOAD=YES -DYUZU_USE_BUNDLED_QT=NO \
-DENABLE_QT_TRANSLATION=YES -DENABLE_QT6=YES ..

Some numbers for reference (msvc2019_64)
Qt5 (slimmed down) 508 MB
Qt5.15.2 all in    929 MB
Qt6.3.1           1.71 GB
Qt6.3.2           1.73 GB
Qt6.4.0-beta3     1.83 GB
Qt6.4.0           1.67 GB
2 years ago
Kyle Kienapfel d23a35dfbd qt: Add Qt version to LogRuntimes 2 years ago
Kyle Kienapfel ad3ee5c52b Qt6: Disable IR Sensor when compiling with Qt6
Gating the IR Sensor code behind a macro like so
`#if (QT_VERSION < QT_VERSION_CHECK(6, 0, 0)) && YUZU_USE_QT_MULTIMEDIA`

The YUZU_USE_QT_MULTIMEDIA flag is implemented in later commit

Also the locale fix in src/yuzu/main.cpp is now gated against Qt6,
as it causes compilation error
2 years ago
bunnei 405d685101
Merge pull request #9244 from liamwhite/lost-wakeup
nvnflinger: fix lost wakeup
2 years ago
Morph e5a446a0df
Merge pull request #9229 from Docteh/achy_breaky_heart
Add break for default cases
2 years ago
liamwhite 0e61d711e2
Merge pull request #9228 from HidroSaphire/patch-1
Add break statement in default case
2 years ago
Mai f426fd95fe
Merge pull request #9250 from v1993/patch-10
externals: microprofileui: Remove unused variables
2 years ago
Valeri fa660190ff
externals: microprofileui: Remove unused variables
Allows yuzu to be built with Clang 15
2 years ago
Mai 48b4eca28a
Merge pull request #9247 from lat9nq/verbose-del-warn
configure_profile_manager: Use a custom dialog when deleting a profile
2 years ago
lat9nq e94bcf03cb configure_profile_manager: Cleanup reference/pointer usage
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
Co-authored-by: Mai M. <mathew1800@gmail.com>
2 years ago
lat9nq 8ca02794c5 configure_profile_manager: Remove profile picture border
The border adds its own width at least on Linux which causes the icon to
be offset by 1px, and cropped by 2px on the bottom and right sides.
2 years ago
lat9nq ef5184cf1c configure_profile_manager: Use a custom dialog for deletion
A hopefully more informative dialog that most importantly notifies the
user that their saves will be deleted with the user profile.

cpm: Only keep track of UI elements that we need

cpm: Remove unused forward declarations

cpm: Add missing include
2 years ago
bunnei 9e27624a19
Merge pull request #9243 from german77/result
core: Update result module
2 years ago
Liam cf202f3718 nvnflinger: fix lost wakeup 2 years ago
Narr the Reg 18fcc03b3c core: Update result module 2 years ago
Kyle Kienapfel 6fa3faec65 Add break for default cases
Visual Studio has an option to search all files in a solution, so I
did a search in there for "default:" looking for any missing break
statements.

I've left out default statements that return something, and that throw
something, even if via ThrowInvalidType. UNREACHABLE leads towards throw

R_THROW macro leads towards a return
2 years ago
liamwhite 040a01a5dd
Merge pull request #9225 from liamwhite/debugger-instance
Debugger improvements
2 years ago
Morph 8cc5ad8742
Merge pull request #9235 from goldenx86/ignorearm
Ignore ARM for core count
2 years ago
Matías Locatti 540c1696d1 Ignore ARM for core count 2 years ago
bunnei 08091ff3e3
Merge pull request #9226 from Kelebek1/regs_regression
[video_core] Fix a couple regs regressions
2 years ago
bunnei b51c1544b9
Merge pull request #9224 from liamwhite/services-arent-processes
service_thread: remove explicit KProcess
2 years ago
Mai 7dfe35eca6
Merge pull request #9231 from goldenx86/corecount
Add CPU core count to log files
2 years ago
Matías Locatti 69768ec71e Add CPU core count to log files 2 years ago
liamwhite e4d55e4ee4
Merge pull request #9204 from vonchenplus/dma_copy_1d_random_crash
video_core: Fix dma copy 1D random crash
2 years ago
liamwhite c4bc7ce7e2
Merge pull request #9133 from FearlessTobi/compat-improvements
yuzu/compatdb: Improve compatibility submission system
2 years ago
Tobias 211da31b34
yuzu/main: Change to 8_GiB instead of magic number
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2 years ago
liamwhite c973029374
Merge pull request #9167 from vonchenplus/tess
video_core: Fix few issues in Tess stage
2 years ago
Enrico Mancuso b832942b6e
Add break statement in default case
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement
2 years ago
bunnei 5eb30c7827
Merge pull request #9223 from goldenx86/threadcount
Add CPU thread count to log files
2 years ago
Kelebek1 33ea0fdfe8 Fix regs regression with OpenGL two-sided stencil, and re-add data invalidation reg 2 years ago
Morph c9bb888adf
ir/texture_pass: Use host_info instead of querying Settings::values (#9176) 2 years ago
bunnei d05b183f21
Merge pull request #9198 from liamwhite/arm64
Initial ARM64 support
2 years ago
Mai 83eb9cf7da
Merge pull request #9180 from Docteh/remove_stuff
UI: split up strings relating to content removal
2 years ago
Mai 0e84fd95e2
Merge pull request #9217 from HidroSaphire/patch-1
Add break statement in default cases
2 years ago
Liam 18123ff958 gdbstub: add ams monitor commands 2 years ago
Liam ceb829cc33 debugger: allow more than one connection attempt per session 2 years ago
bunnei bb55d2e701
Merge pull request #9192 from german77/i_had_to_copy_each_one_again
yuzu: Change QtKeyToSwitchKey switch case to array
2 years ago
Matías Locatti 0c176ce828
Me likes
Co-authored-by: Morph <39850852+Morph1984@users.noreply.github.com>
2 years ago
Liam b34d3d5882 service_thread: remove explicit KProcess 2 years ago
FearlessTobi 26a1d4fc37 yuzu/compatdb: Rework compatibility submission system
Co-Authored-By: Narr the Reg <5944268+german77@users.noreply.github.com>
2 years ago
bunnei ea41c53ab1
Merge pull request #9183 from liamwhite/svc-refresh
kernel/svc_types: refresh
2 years ago
Matías Locatti 766941f1a3 Add CPU thread count to log files 2 years ago
FengChen d03afd6f4b video_core: Fix dma copy 1D random crash 2 years ago
Liam 4eece4d35d kernel/svc_types: refresh 2 years ago
bunnei 770f23db34
Merge pull request #9182 from liamwhite/services-are-processes
kernel: assign KProcess to service threads
2 years ago
Liam cbaf642ffe Initial ARM64 support 2 years ago
Enrico Mancuso d581a4a367
Add break statement in default cases
According to the contributing page (https://github.com/yuzu-emu/yuzu/wiki/Contributing) the default cases should have a break statement

default:
        // Yes, even break for the last case
        break;
2 years ago
Fernando S 3161b34ff6
Merge pull request #9215 from liamwhite/swordfight
Ensure correctness of atomic store ordering
2 years ago
Liam 71c0e20f95 Ensure correctness of atomic store ordering 2 years ago
Mai ad9e5bc5b7
Merge pull request #9199 from liamwhite/service-oops
service_thread: fix deletion
2 years ago