Yuhang Zhao
e1cf95f208
cmake: fix link with mingw
...
Signed-off-by: Yuhang Zhao <zhaoyuhang@rankyee.com>
2023-05-26 11:08:08 +08:00
Yuhang Zhao
2b1623fbd6
cmake: hide detailed info if the user don't want it
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-20 15:32:48 +08:00
Yuhang Zhao
32b055a7ab
cmake: dump more info
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-05-18 20:38:05 +08:00
Dylan Liu
84745db4d9
Add Universal build for macOS and compile error fixed. ( #217 )
...
* Add Universal build for macOS.
* Fix compile error in example quick.
* Use cmake_dependent_option instead of option.
2023-05-17 20:19:31 +08:00
Yuhang Zhao
fa5a21f7ca
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 17:01:56 +08:00
Yuhang Zhao
9e341e4e40
examples: update cmake project
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 16:31:24 +08:00
Yuhang Zhao
9a81cf1503
cmake: improve the package code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-19 12:36:41 +08:00
Yuhang Zhao
fa8ca1ae2f
cmake: let user be able to change the namespace
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-17 09:21:52 +08:00
Yuhang Zhao
3523ea67ea
cmake: update submodule
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-15 14:53:29 +08:00
Yuhang Zhao
2b9d810002
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-10 14:10:46 +08:00
Yuhang Zhao
8b6dd746eb
refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-06 15:08:19 +08:00
Yuhang Zhao
14ccc990cf
general refactor, remove useless code
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-02-05 14:01:46 +08:00
Yuhang Zhao
6063a962eb
simplify cmake scripts
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-27 16:27:16 +08:00
Yuhang Zhao
7534a4631c
migrate to the <module/file> include pattern
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2023-01-18 14:27:10 +08:00
Yuhang Zhao
4a903a5805
linux: improve configure log
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-28 11:33:24 +08:00
Yuhang Zhao
8a1dcfb808
minor refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-23 10:11:59 +08:00
Yuhang Zhao
0924aeb51f
linux: finalize x11 function tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-21 11:43:37 +08:00
Yuhang Zhao
ea6a070766
linux: fix the regression caused by previous refactoring
...
Sadly we have to bring back the GTK dependency at compile time.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-20 16:39:20 +08:00
Yuhang Zhao
34ba90376b
linux: remove the build-time dependency of libxcb and libgtk
...
We can load them dynamically at run-time.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-15 15:48:56 +08:00
Yuhang Zhao
d4293e0a55
win: refactor
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-13 11:36:41 +08:00
Yuhang Zhao
8003f79e17
icon: replace Micon with our own custom one
...
Because Micon has some license issues.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-06 16:53:37 +08:00
Yuhang Zhao
f956c1c002
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-05 17:12:17 +08:00
Yuhang Zhao
cb88b602fe
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-05 14:33:38 +08:00
Yuhang Zhao
48a1106fc0
Allow build with no private Qt modules
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-12-04 14:25:09 +08:00
Yuhang Zhao
40058a1e79
cmake: allow disable resource bundle
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-26 16:44:41 +08:00
Yuhang Zhao
c75712d3f1
Add option to suppress debug messages
...
Fixes : #177
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-11-02 15:13:47 +08:00
Yuhang Zhao
92415fb61c
Add WindowBorderPainter and WindowBorder
...
1. Added WindowBorderPainter for QtWidgets
2. Added WindowBorder for QtQuick (uses WindowBorderPainter internally)
3. Adjust some header includes
4. Limit a Linux workaround to the appropriate Qt versions
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-10-10 13:35:37 +08:00
Yuhang Zhao
07101273bd
win: refactor & simplify
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-09-26 11:18:13 +08:00
Yuhang Zhao
7a35b09a74
add limited qmake support
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-08-31 16:34:30 +08:00
Yuhang Zhao
a49756ee45
registrykey: rename
...
RegistryKey is a better name than Registry.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-08-17 10:42:48 +08:00
Yuhang Zhao
0535276f55
win: use Qt functionalities as much as possible
...
If Qt provides the functionalities we need, use it
instead of reinventing the wheel.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-08-16 15:24:14 +08:00
Yuhang Zhao
7616161699
Implement homemade Mica material & other improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-16 15:25:15 +08:00
Yuhang Zhao
7f9f2c8543
adapt to latest qt change
...
And install some missing files
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-13 10:40:29 +08:00
Yuhang Zhao
5e863ee661
cmake: fix include dir for package
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-12 14:58:20 +08:00
Yuhang Zhao
2f36d1f73e
blur behind window: add macos implementation
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-09 14:59:47 +08:00
Yuhang Zhao
7e3a735a7d
minor tweaks and improvements
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-09 12:10:41 +08:00
Yuhang Zhao
2a113ee8ab
Allow build as a CMake package, support the install command
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-08 13:47:50 +08:00
Yuhang Zhao
2806cc811b
code simplification, minor re-structure
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-07 13:43:09 +08:00
VerySimple
b413d0b1e6
修改了几个地方 ( #139 )
...
* merge 3 commits
modify a few lines
Update framelesshelper_windows.h
* improve syntax
2022-07-07 10:26:14 +08:00
Yuhang Zhao
e8dcb6e6fe
add api to set title bar and chrome button color
...
TODO:
1. Special handling for the close button
2. Move QuickChromePalette class to own files
3. More testing
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-05 17:58:04 +08:00
Yuhang Zhao
df5ff50c7f
win32: minor improvement
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-07-04 18:05:04 +08:00
Yuhang Zhao
66250dbb6e
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-27 14:15:34 +08:00
Yuhang Zhao
6683a183d7
cmake: a little simplification
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-27 10:00:23 +08:00
Yuhang Zhao
7b769a71a0
minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-06-26 14:57:18 +08:00
Yuhang Zhao
6fe3dd1088
cmake: minor tweaks
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-23 14:46:20 +08:00
Yuhang Zhao
54496f9fe0
lower warning level for msvc
...
Bug reports from users indicate that /W4 causes many
warnings for MSVC 2019 and the warnings come from
private Qt headers so no way to fix them in FramelessHelper.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-09 11:39:15 +08:00
Yuhang Zhao
053d6b104e
centralize how we handle global options
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-08 16:09:00 +08:00
Yuhang Zhao
286811c9df
expose private headers, someone may need
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-07 18:02:44 +08:00
Yuhang Zhao
9d71baffd1
remove the last piece of Qt internal classes
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-04 16:08:47 +08:00
Yuhang Zhao
81e736570f
refactor widgets interface
...
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
2022-05-03 19:02:39 +08:00