Javier O. Cordero Pérez
bb63025268
Fix: Prevent crash on Wayland when using Qt 6 ( #97 )
2024-05-20 22:13:12 +03:00
Javier O. Cordero Pérez
b519155479
Bump Qt and CI script versions, fix macOS support, and drop support for qmake ( #98 )
2024-05-20 16:09:14 +03:00
FredBill1 and Hennadii Chernyshchyk
cd72a01327
Properly emit released signal when pressing multiple hotkeys at the same time on Windows ( #86 )
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com >
2023-04-18 12:14:52 +03:00
Javier O. Cordero Pérez and Hennadii Chernyshchyk
34777f2e91
CPack instructions to build Debian package
...
Co-authored-by: Hennadii Chernyshchyk <genaloner@gmail.com >
2022-07-07 16:01:21 +03:00
Javier O. Cordero
94efd5fb61
Using static_cast as suggested by Shatur.
2022-07-01 10:52:16 +03:00
Javier O. Cordero Pérez
6b1c6f1f4e
Made Windows BYTE typedef uppercase in attempt to get QHotkey to compile with MSVC 2019.
2022-07-01 10:52:16 +03:00
luz paz
c501fbbada
Fix typos
...
Found via `codespell -q 3`
2022-06-23 10:14:35 +03:00
YueLiang
52e25acf22
Fix bug for get natice keycode failed in mac ( #66 )
...
TISCopyCurrentKeyboardInputSource will return null when using Chinese input method.
Use TISCopyCurrentASCIICapableKeyboardLayoutInputSource instead.
2022-02-21 10:01:45 +02:00
waneon
308c96c28f
Fix invalid variable name in README.md
2022-02-05 15:02:03 +02:00
Shatur95
34330d6ff5
Link Gui as PUBLIC
1.5.0
2021-10-29 00:25:12 +03:00
Daniel Bermond
6a0cc377e6
Bump version to 1.5.0
2021-10-29 00:08:58 +03:00
Hennadii Chernyshchyk
fcf83f3e36
Use QT_DEFAULT_MAJOR_VERSION
2021-10-28 23:47:14 +03:00
Hennadii Chernyshchyk
64fec66d35
Fix memory leak in README.md
2021-10-28 22:33:29 +03:00
Hennadii Chernyshchyk
1114df5081
Bump version to 1.4.2 in QMake
2021-10-05 19:09:12 +03:00
Hennadii Chernyshchyk
e0bc2a9b9f
Fix shared library build
2021-10-05 19:07:12 +03:00
Daniel Bermond
1d49a63827
CMake: add package version config file ( #57 )
...
By adding this file, client applications can have proper version
checking support when calling 'find_package()'.
2021-10-03 19:52:50 +03:00
Hennadii Chernyshchyk
7f5840fd34
Add CI
2021-10-03 16:53:20 +03:00
Daniel Bermond
7b10ea6d64
Qt6 support for Windows and Mac ( #54 )
...
This follows commit 25f2184 .
On Windows, changing the return value of the qHash() variant that
takes one argument fixes the following warning on MSVC 2019:
qhotkey.cpp:(371,45): warning C4267: 'return': conversion from
'size_t' to 'uint', possible loss of data
2021-10-03 14:18:23 +03:00
Daniel Bermond
79e5dd65be
CMake: change link type and remove Qt Widgets ( #53 )
...
Link type can be changed to PRIVATE. Only Qt Core will remain
as PUBLIC linking.
It looks like that Qt Widgets is not needed and can be removed.
On Qt6, Qt6::Gui is strictly needed.
2021-10-03 14:07:20 +03:00
Daniel Bermond
dbec7d3a2d
Readme: add build instructions
...
This will also provide information about the supported Qt versions.
2021-10-03 11:01:00 +03:00
Daniel Bermond
6b3cc35bbd
CMake: honor CMAKE_INSTALL_INCLUDEDIR in exported target
...
Remove the hardcode to the 'include' directory in the CMake
exported target.
This will let the user correctly access the headers when
building a client application with a QHotkey package that
is installed with a CMAKE_INSTALL_INCLUDEDIR different
than 'include'.
2021-10-01 21:39:55 +03:00
Daniel Bermond
25f21849b3
Add support for Qt6 ( #51 )
...
CMake:
The 'QT_MAJOR' CMake variable controls which major version
of Qt is used for building. Defaults to '5', so nothing
changes when using the default 'cmake' invocation, as it
will default to search/build for Qt5.
qmake:
Just build in the usual way with 'qmake6 && make' or
'qmake-qt5 && make'.
When building with Qt6 on GNU/Linux and similar UNIXes,
the minimium required Qt version is 6.2.0, as Qt 6.1
and 6.0 lacks support for getting the X11 display.
2021-09-30 20:46:35 +03:00
Felix Barz
eb7ddaba57
Merge pull request #47 from Shatur95/fix-clang-tidy-warnings
...
Fix Clang Tidy warnings
1.4.2
2020-10-21 07:10:48 +02:00
Shatur95
8584ff1b15
Use QTimer::singleShort
...
https://doc.qt.io/qt-5/qtimer.html#singleShot-4
2020-10-20 13:33:22 +03:00
Shatur95
384f780b28
Use QStringLiteral
2020-10-17 01:08:08 +03:00
Shatur95
4bb901a41e
Pass NativeShortcut by value (trivially copyable)
2020-10-17 01:07:57 +03:00
Shatur95
2a87965ed6
Add mising override
2020-10-15 22:12:11 +03:00
Shatur95
f0799fd4a4
Fix Clang Tidy warnings
...
readability-convert-member-functions-to-static
modernize-use-auto
readability-else-after-return
readability-static-accessed-through-instance
readability-inconsistent-declaration-parameter-name
2020-10-15 21:50:58 +03:00
Felix Barz
53745ba936
Merge pull request #46 from Shatur95/fix-implicit-conversion-warning
...
Fix implicit conversion warning
2020-10-15 08:33:24 +02:00
Shatur95
b73b4955ae
Fix implicit conversion warning
2020-10-15 01:31:52 +03:00
Felix Barz
bd35d8b07a
Merge pull request #44 from olegantonyan/fix-wayland-crash
...
fix SIGSEGV on wayland
2020-08-21 08:56:54 +02:00
Oleg Antonyan
941cb2f15f
fix SIGSEGV on wayland
2020-08-18 20:43:44 +02:00
Felix Barz
4f76792098
Merge pull request #40 from Shatur95/improve-error-messages
...
Improve error messages
1.4.1
2020-07-03 08:04:28 +02:00
Shatur95
483e07365e
Improve error messages
...
* Show information about shortcut.
* Make errors translatable.
2020-07-01 23:16:13 +03:00
Felix Barz
c373d83c36
Merge pull request #38 from Shatur95/improve-cmake-rule
...
Improve CMake rules
1.4.0
2020-06-07 21:00:21 +02:00
Shatur95
055d242ded
Improve CMake rules
...
* Disable building examples by default.
* Use CMAKE_CURRENT_SOURCE_DIR instead of CMAKE_SOURCE_DIR.
* Add an option to disable install rules.
2020-06-06 22:48:44 +03:00
Patrizio Bekerle
0352904ec1
Fix not declared MOD_NOREPEAT (Skycoder42/QHotkey/#36) ( #37 )
...
Fix not declared MOD_NOREPEAT (#36 )
2020-05-23 07:46:08 +02:00
Felix Barz
7de281c4a6
Merge pull request #34 from mostvexingparse/cmake_include_fixes
...
fix include path in CMakeLists.txt
2020-05-06 22:05:57 +02:00
Sven Kipry
83a0066760
fix include path in CMakeLists.txt
...
The include path is not set correctly when QHotkey is build as a
subproject. To fix that CMAKE_CURRENT_SOURCE_DIR should be used instead
of CMAKE_SOURCE_DIR in target_include_directories.
2020-05-05 07:53:57 +02:00
Skycoder42
7028920db5
fix #33
2020-05-02 21:05:04 +02:00
Felix Barz
df684dcc2a
Merge pull request #32 from alexandrvicente/releasedSignal
...
Hotkey release signal
2020-04-23 07:47:50 +02:00
Alexandre Vicente
e113ace9a1
Indentation fix
2020-04-21 22:10:49 -03:00
Alexandre Vicente
12e05bfd4e
Fix missing poll connect on Windows
2020-04-21 22:02:52 -03:00
Alexandre Vicente
d32957e52c
X11 header fix
2020-04-21 15:48:50 -03:00
Alexandre Vicente
5b507a84df
Hotkey release signal
2020-04-21 12:45:10 -03:00
Hennadii Chernyshchyk
9583eafe76
Add isPlatformSupported() ( #28 )
...
* Add isPlatformSupported()
* Remove extra semicolons
* Add newlines before new methods
1.3.0
2020-01-07 09:31:37 +01:00
Felix Barz
96a0710e1b
Merge pull request #26 from Shatur95/master
...
Fix crash on Wayland
2019-11-06 10:17:01 +01:00
Shatur95
a7110cabb3
Fix crash on Wayland
2019-11-06 01:34:42 +02:00
Felix Barz
5557a02fcf
Merge pull request #23 from mujx/cmake-support
...
Add CMake support
2018-11-04 10:34:22 +01:00
Konstantinos Sideris
9a44a0313b
Add CMake support
2018-10-29 17:21:05 +02:00