Commit Graph

9 Commits

Author SHA1 Message Date
ck dcede1f96d chore: Adapt Qt6 && Dtk6 compilation
Since xdgiconloader is not adapted to Qt6, libxdg is disabled by default when compiling Dtk6
Do not install dconfig file in dtkgui to avoid conficts with dtk6gui
C++ 17 by default
DVERSION ==> DTK_VERSION
cmake_minimum_required 3.13
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-19 13:13:09 +08:00
ck 19492cbfb7 feat: add DontSaveApplciationTheme Attribute
保存主题功能让非 widget 应用也能用上, 默认行为记住主题
如果不需要记住请构造 app 前 setAttibute(DontSaveApplicationTheme)
注意:因为可能无法正确获取 appid ,通过 dde-dconfig-editor
设置的主题可能无效,但是应用自行设置的主题可以记住

Log:
2023-04-14 08:47:36 +08:00
bluesky cd21667c52 feat: add config file
添加自定义UI的配置文件
2023-03-29 02:22:24 +00:00
wangyixue 088bfea481 fix: lost dependency of Qt5Gui
Add dependency of Qt5Gui cause dtkgui depends it.

Log: add find_dependency(Qt5Gui)
2023-02-07 06:41:10 +00:00
wangyixue a69ed2efdc chore: add export target support
Export target Dtk::Gui. Users can simply use target_link_libraries.

Log: add export target support
2022-12-29 09:52:49 +08:00
wangyixue 89698b4c1c chore: fix linking error
DtkGuiConfig.cmake will always find the library under system library
path. This will cause a linking error when you want to use the version
deployed by yourself. Fix that by appending the path prefix.

Log: fix DtkGuiConfig.cmake.in
Influence: DtkGuiConfig.cmake.in
2022-12-05 10:37:45 +08:00
rewine 5204f570ef feat: Improve install path information
Log:
1. Add DtkGui_LIBRARY_DIRS
2. fix typo in Config.cmake
3. replace the previously missed  INCLUDE_INSTALL_DIR
2022-09-27 03:35:46 +00:00
rewine f7324e32cf feat: Improve version information
1. 使用 CMakePackageConfigHelpers 生成 Config.cmake
2. 提供 DtkWidgetConfigVersion.cmake 供调用者检查版本
3. 使用 GNUInstallDir 提供的 FULL 版本变量配置 pkg-config 路径
4. 补充 pkg-config -L 参数
5. 增加引入 dtkcore 版本检查
2022-09-22 14:34:03 +08:00
ShootingStarDragons 7f227daf8a feat(tocmake): tocmake
I change the source code from qmake to cmake. Move the files
which will be install to the /usr/include to $root/include, which will
help to mattern match and easylier to do install. and the change will
break the build of qmake

Log: from qmake to cmake

Influence: qmake is breaked
2022-08-17 16:59:12 +08:00