Commit Graph

77 Commits

Author SHA1 Message Date
cold-brewed
9daa721d44 qt: Add media history manager for recently used images 2022-08-30 17:18:51 -04:00
cold-brewed
4efd1d90c2 macos: Add RPATH to the installed binary to enable dynamic loading of
bundled libraries.
2022-08-27 10:47:55 -04:00
OBattler
c793fd7142 Proper separation. 2022-07-24 03:54:47 +02:00
David Hrdlička
ad8ea20e14 qt: fix windeployqt with qt5 2022-06-29 18:55:22 +02:00
Cacodemon345
32b29e91ee qt: add Direct3D 9 renderer 2022-06-22 16:36:38 +06:00
David Hrdlička
f854d8ebe0 qt: use the Qt::lconvert target instead of find_program 2022-05-29 12:16:40 +02:00
David Hrdlička
0304a296c8 qt: minor Windows fixes
- fix configuration failing on MinGW with Qt6
- run `windeployqt` when installing a non-static build
- check the proper vcpkg variable when setting the Qt host path
2022-05-29 00:26:24 +02:00
David Hrdlička
01303848f7 vcpkg: rework the Qt dependency
- only depend on a subset of `qtbase`
- make Linguist a host dependency
2022-05-28 17:39:12 +02:00
David Hrdlička
91a9df2131 qt: fix Windows RC file erroneously including the manifest under VS 2022-05-28 17:39:11 +02:00
Cacodemon345
f9e8520c41 qt: Add MCA device list to Tools 2022-05-23 17:29:45 +06:00
Cacodemon345
6edc2a4c2b Merge remote-tracking branch 'upstream/master' into newqt2 2022-04-24 00:56:11 +06:00
Cacodemon345
314bf5ad06 Add Vulkan renderer 2022-04-21 16:32:46 +06:00
Alexander Babikov
eba088c692 Remove trailing whitespace + indentation consistency fixes 2022-04-14 07:10:18 +05: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
b5f18af541 Clean up the RtMidi optionality 2022-03-11 20:41:00 +01:00
Cacodemon345
c1f9d35de8 qt: Add support for Haiku
* OpenAL backend is enabled by default on Haiku
* bswap include now makes use of builtins if they exist
* Use a local fgetws method for Haiku to avoid crashes
* OpenGL renderers are completely disabled on Haiku (they do not work)
* Software renderer is a widget, not a window on Haiku (fixes blank screen)
* Add option to disable System MIDI at compile time
2022-03-11 12:13:08 +06:00
Miran Grča
7bbb3bc4c6 Merge pull request #2175 from ts-korhonen/qt-opengl-renderer
Qt: OpenGL 3.0 renderer
2022-02-28 23:31:37 +01:00
ts-korhonen
9af1d0cc5f Revert "qt: Disable OpenGL 3.0 renderer for macOS."
This reverts commit d3b00ff27b.
2022-02-28 08:43:14 +02:00
ts-korhonen
d3b00ff27b qt: Disable OpenGL 3.0 renderer for macOS.
Until it's figured out, macOS has dummy implementation to keep it
building.
2022-02-27 21:57:14 +02:00
ts-korhonen
d2a9389ce7 qt: Initial OpenGL 3.0 renderer implementation 2022-02-27 14:56:51 +02:00
Cacodemon345
06fc26ccab qt: Add Unix manager support (client-side interface) 2022-02-27 15:30:40 +06:00
David Hrdlička
e03a0c446e Fix Mac bundles (hopefully finally) 2022-02-19 16:28:57 +01:00
Miran Grča
bcf781a7f4 Merge pull request #2124 from Cacodemon345/newqt
qt: X11 Xinput2 mouse motion backend
2022-02-14 21:41:34 +01:00
Cacodemon345
0d31bb0cc6 qt: X11 Xinput2 mouse motion backend 2022-02-15 02:34:13 +06:00
David Hrdlička
c554ba0fdf Remove some debug code 2022-02-14 13:14:57 +01:00
David Hrdlička
04e37b8771 Fix Mac builds, take three 2022-02-14 09:51:13 +01:00
David Hrdlička
c52825522a Fix Mac builds, take two 2022-02-14 09:16:14 +01:00
David Hrdlička
6f35e670ec Fix Mac build 2022-02-14 08:33:17 +01:00
Teemu Korhonen
474f962274 qt: fix MinGW builds; set NTDDI_VERSION explicitly (#2110)
MinGW Qt windows.h defines NTDDI_VERSION as Windows Vista while WINVER and
WIN32_WINNT as Windows 7.
2022-02-12 14:27:27 -03:00
David Hrdlička
0f4931cdcc Fix macOS bundles 2022-02-07 23:05:59 +01:00
David Hrdlička
ee998a71a4 Fix Qt on Mac bundle generation 2022-02-07 21:08:28 +01:00
David Hrdlička
5061d6c275 Futureproof the QT static path 2022-02-07 20:37:10 +01:00
David Hrdlička
bb25829dbc Try to build a static build on MSYS2 2022-02-07 20:26:00 +01:00
Cacodemon345
9cd757c213 * Cursor on Windows should not break free anymore when captured
* Use RAWINPUT for joystick on Windows
* Load qt_*.qm instead of qtbase_*.qm
2022-02-05 13:28:18 +06:00
Alexander Babikov
afe83cc568 Add a Windows resource file to use with Qt 2022-02-04 17:07:44 +05:00
ts-korhonen
279cbdbf97 qt: also fix typos in the file references to RendererCommon 2022-01-30 22:13:41 +02:00
ts-korhonen
f8f3cfbf4c qt: fix platform specific file dialog filters
Translations now only contain translation for the description and
extensions are generated in code taking account platform specific
differences.
2022-01-23 22:48:36 +02:00
ts-korhonen
7995be4adb qt: Add VM-manager message handling on windows 2022-01-22 01:10:11 +02:00
Cacodemon345
dabed16bbf Add OBattler's hard disk tracking code and make use of it for HDD settings 2022-01-09 16:44:43 +06:00
Cacodemon345
970430f721 Even more strings changes 2022-01-06 16:58:11 +06:00
Cacodemon345
abefa65e26 Even more strings changes to be in line with Win32 2022-01-06 01:41:57 +06:00
Cacodemon345
a6ee3f1579 Rebuild .qm files every time .po files are changed 2022-01-05 01:33:15 +06:00
Cacodemon345
7b75bfb18d Make most of main window text translatable 2022-01-05 01:17:07 +06:00
Cacodemon345
5d76822d59 Begin .po work 2022-01-04 15:03:33 +06:00
Cacodemon345
17e657f0ee Add support for Qt6 2021-12-31 16:47:49 +06:00
Cacodemon345
81055c03e2 Begin Qt translation framework 2021-12-31 12:39:55 +06:00
Cacodemon345
98c5115b99 Implement Preferences dialog (except language setting) 2021-12-28 16:47:10 +06:00
ts-korhonen
a9ecd17f5c Improve clang fixes 2021-12-20 21:54:25 +02:00
ts-korhonen
3b16136142 qt: Fix windows clang & vcpkg build 2021-12-19 23:49:47 +02:00
ts-korhonen
31fe83072e qt: remove redundant files 2021-12-17 21:33:11 +02:00