[DTK] ubuntu 如何安装 dtk?
Tofloor
poster avatar
爱开发
deepin
2023-12-11 03:17
Author

官方的 GitHub 安装时,总是遇到这样那样的问题。

好像得先安装 qt

apt install qtbase5-dev

又报错:

Current Qt Version: 5
Current Dtk Version: 
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.17") found components: doxygen dot 
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config.cmake:28 (find_package):
  Could not find a package configuration file provided by "Qt5Help" with any
  of the following names:

    Qt5HelpConfig.cmake
-- Configuring incomplete, errors occurred!
    qt5help-config.cmake

  Add the installation prefix of "Qt5Help" to CMAKE_PREFIX_PATH or set
  "Qt5Help_DIR" to a directory containing one of the above files.  If
  "Qt5Help" provides a separate development package or SDK, be sure it has
  been installed.
Call Stack (most recent call first):
  docs/CMakeLists.txt:15 (find_package)
Reply Favorite View the author
All Replies
const/4 v1,0
deepin
2023-12-11 03:30
#1

一起加个qq讨论1559215761

Reply View the author
Ziggy
deepin
2023-12-11 04:03
#2
Qt5Help在qttools5-dev
qtbase5-dev一般是qtcreator&core等核心库的头文件
Reply View the author
神末shenmo
deepin
Spark-App
2023-12-11 04:06
#3

sudo apt install libdtkcore-dev libdtkwidget-dev libdtkgui-dev

Reply View the author
Ziggy
deepin
2023-12-11 04:11
#4
Ziggy
Qt5Help在qttools5-dev
qtbase5-dev一般是qtcreator&core等核心库的头文件
Qt5Help在qttools5-dev
qtbase5-dev一般是qtcreator&core等核心库的头文件

ziggy@ziggy-PC:~$ apt-file search Qt5Help
qttools5-dev: /usr/lib/x86_64-linux-gnu/cmake/Qt5Help/Qt5HelpConfig.cmake

Reply View the author
爱开发
deepin
2023-12-11 04:38
#5

Qt5Help 的问题,暂时不理了。切换成已经打的 tag 标签就没问题了(虽然代码比较老)。

image.png

Make sure you have installed all dependencies.

它这句话是什么意思?

文档都没有告诉说要安装哪些依赖。所以,要怎么 Make sure you have installed all dependencies.

现在新的问题又来了:

image.png

Reply View the author
Ziggy
deepin
2023-12-11 08:19
#6
爱开发

Qt5Help 的问题,暂时不理了。切换成已经打的 tag 标签就没问题了(虽然代码比较老)。

image.png

Make sure you have installed all dependencies.

它这句话是什么意思?

文档都没有告诉说要安装哪些依赖。所以,要怎么 Make sure you have installed all dependencies.

现在新的问题又来了:

image.png

可以直接用cmake

Reply View the author