dtkwidget icon indicating copy to clipboard operation
dtkwidget copied to clipboard

From qmake to cmake

Open Decodetalkers opened this issue 2 years ago • 6 comments

refactor(file struct): change the filefold struct

  1. all to cmake
  2. change examples to lib/libdtk-{version}/examples

LOG: Change the fold struct, move headers to include influence: qmake cannot be used

Decodetalkers avatar Jul 26 '22 02:07 Decodetalkers

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

github-actions[bot] avatar Jul 26 '22 02:07 github-actions[bot]

I have read the CLA Document and I hereby sign the CLA.

Decodetalkers avatar Jul 28 '22 05:07 Decodetalkers

得先 rebase 一下吧,不然和现有的文档生成放的 CMakeLists 配置是肯定冲突的

BLumia avatar Jul 28 '22 07:07 BLumia

为什么不是先从改 dtkcommon dtkcore 项目开始呢,怎么直接就改dtkwidget了

zccrs avatar Jul 28 '22 07:07 zccrs

为什么不是先从改 dtkcommon dtkcore 项目开始呢,怎么直接就改dtkwidget了

Core已经是Cmake了,common只是相关工具,改用cmake后就不需要了

Decodetalkers avatar Jul 28 '22 08:07 Decodetalkers

dtkcore 现在的 CMakeLists.txt 只是生成文档用的。项目自身还是 qmake。另外,即便改成cmake,dtkcommon还是需要的,它的定位是提供一些通用的构建期方法,比如为所有dtk模块提供统一的项目结构,提供生成 pkgconfig qmake 模块的函数等等。从qmake改成cmake也需要提供同样的东西,所以这个项目还是需要的。

zccrs avatar Jul 28 '22 08:07 zccrs

重复提交留一个

kegechen avatar Aug 17 '22 07:08 kegechen