JiDe Zhang
e6985b9351
feat: dconfig2cpp always add bindableFoo functions on Qt6
...
Direct string literal for the property name, because the literal was
use on the Q_PROPERTY macro, so use the hex encode for the property name
strings can't avoid the Chinese text codec problems.
2025-03-06 17:18:56 +08:00
JiDe Zhang
8b8bb8512c
feat: dconfig2cpp generated codes supports qml
...
On the DtkDeclarative's DConfigWrapper, it needs know whether the value
is default, so always create the *IsDefaultValue functions.
2025-02-25 09:53:04 +08:00
JiDe Zhang
a9a569b42a
feat: support auto generate the Qt code from a dconfig's json
...
To help developer get/set dconfig in the non GUI thread.
2025-02-20 19:45:06 +08:00
chenhongtao
a94a528d86
feat: allow skip including headers of annotations
...
Log:
Issue: https://github.com/linuxdeepin/dtk/issues/147
2023-12-19 14:33:36 +08:00
chenhongtao
1dfa31cfec
chore: add dtk dbus generate function
...
Log: steal from qt
2023-11-17 09:37:28 +08:00
Gary Wang
c7a4732115
fix: correct Dtk6SettingsToolsMacros.cmake path
...
* fix: correct Dtk6SettingsToolsMacros.cmake path
修正 Dtk6SettingsToolsMacros.cmake 路径不正确的问题
同时避免硬编码版本号到 6
Log:
2023-10-23 10:21:41 +08:00
Felix Yan
300d1bf584
chore: correct typos in DtkSettingsToolsMacros.cmake
...
Log:
2023-10-09 09:10:24 +08:00
ck
868218a1db
refactor!: deprecate some interfaces in dtk6
...
- dconfig_meta_files/dconfig_override_files remove in dtk6
- not install deprecated class headers
- remove deprecated interfaces in dtk6
2023-07-05 10:19:56 +08:00
wangyixue
5e8b5d2820
fix: qdbusxml2cpp-fix not in path
...
Now qdbusxml2cpp-fix is not in PATH, just export it as a target so
others can use it.
Log: fix qdbusxml2cpp-fix not in path
2023-06-19 14:40:22 +08:00
ck
f5fd6cf9a8
feat: support dtk6core build
...
cmake -DDVERSION=6.0.0 to build libdtk6core
install qdbusxml2cpp-fix to DCore/bin to avoid conficts
do not build doc when build dtk6
remove Core5Compat depends
DVERSION ==> DTK_VERSION
tools install to CMAKE_INSTALL_LIBEXECDIR
2023-06-16 08:32:50 +08:00
YeShanShan
b0a7d860f5
chore: Rename config function
...
TODO: Add DtkVersion's detection and warning info.
Issue: https://github.com/linuxdeepin/dtk/issues/9
2023-04-17 17:46:30 +08:00
yeshanshan
ac061d1c9c
fix: Lossing quotation mark for DSG_DATA_DIR macro ( #259 )
...
Add quotation mark for macro.
Log: none
Influence: none
Change-Id: Iaf26210a81e7c2e167e30b976c5e0a1ec26708b9
2023-02-07 09:49:46 +00:00
wangyixue
d7433df0b2
chore: add DtkDConfig package
...
Add DtkDConfigConfig.cmake file. Now find_package(DtkCore) can also find
DConfig support.
Log: add DtkDConfig package
2023-01-06 17:02:04 +08:00
rewine
563a954d9c
feat: set DtkCore_LIBRARY_DIRS
...
Log: set DtkCore_LIBRARY_DIRS
2022-09-28 01:06:58 +00:00
rewine
5321d477ad
feat: use CMakePackageConfigHelpers to generate better config.cmake
...
1. 对 CMAKE_INSTALL_PREFIX 默认值修改移动到根目录 CMakeLists.txt
2. 增加 INCLUDE_INSTALL_DIR TOOL_INSTALL_DIR 变量化简写法
3. 使用专门处理 config.cmake 的 configure_package_config_file 函数代替 configure_file
4. 使用 write_basic_package_version_file 生成 cmake 用的版本文件
5. 补充 pkg-config 的 -L 参数
6. 使用更普适的方法配置 pkg-config 内路径
2022-09-07 10:01:28 +00:00
sunkang
f12c32047e
fix: 适配多版本共存,移动dtkcommon项目中的3个cmake文件到dtkcore
...
为适配dtk多版本共存,DtkCMakeConfig.cmake , DtkSettingsToolsMacros.cmake , DtkToolsConfig.cmake
这三个文件移动到dtkcore项目中
Log:
Change-Id: Iae421e6533152ec6e4e0244247de3e52dfa381de
2021-03-20 15:03:54 +08:00
sunkang
b9205142b7
feat: 适配多版本合并(移除冲突添加依赖)
...
1. 移除prf文件,全部移动到libdtkcommon包中
2. 移除cmake文件夹中的文件,移动到libdtkcommon包中
3. 移除src/com.deepin.dtk.gschema.xml文件,移动到libdtkcommon包中
4. 修改control文件,添加依赖libdtkcommon包
Log: dtkcore多版本前的适配版本(移除冲突)
Change-Id: Iac4310cef55ab2bf31478e905d751aa121fb4078
2021-03-01 19:39:05 +08:00
zccrs
772bb77008
fix: ensure uos is equivalent to deepin
2019-11-27 15:44:30 +08:00
Gary Wang
d281cc8e0f
feat: DtkTools module for libdtkcore-bin
2019-08-06 20:49:23 +08:00
zccrs
432ad80de0
refactor: fallback to lsb-release if same property is empty on os-release
...
feat: add deepin-version property
Change-Id: I3a58f24a256b5a64f301ce3e8cd02dd1dbef449f
2018-09-12 09:20:47 +08:00
zccrs
16faf6c84d
feat: add DSysInfo class
...
feat: add the “dtk_qmake.prf” feature of qmake
Change-Id: I6ed77c13e0233d59b48b160c640d5a8c68c4dadf
2018-08-16 14:23:40 +08:00
Iceyer
524b055929
feat: support generate cmake with qt function
...
Change-Id: I38fe8a0edb2f0901b32a7fd11bcfca9d723000f4
2018-02-22 11:34:40 +08:00
Iceyer
17ca0de915
feat: support qt module
...
Change-Id: I29a99be4e5e410b70010fa56c1e042b4e3ee18e5
2018-02-12 12:54:43 +08:00
Iceyer
ec6e2a8376
fix: set default build version for debian changelog
...
Change-Id: Ia1099685e8119ce050f3ee3a7bb9c39cec387496
2018-01-16 09:24:08 +08:00
石博文
5e95c7ced9
add cmake package search configure
...
Change-Id: Ib661aa6fe7ac2ab4beeccdd21095166312aa9341
2018-01-02 11:05:00 +08:00