DTK开发新人求助
Tofloor
poster avatar
余温晨
deepin
2020-04-02 00:08
Author
用Qt编译DTK项目时报错, 对‘QPlatformIntegrationFactory::keys(QString const&)@Qt_5’未定义的引用
(项目依赖没问题, 前面看见有前辈也发帖询问过这个问题,目前还未解决)
用的系统为目前最新版本 15.11



Reply Favorite View the author
All Replies
avatar
余温晨
deepin
2020-04-02 00:36
#1
自己顶一顶
Reply View the author
avatar
神末shenmo
deepin
Spark-App
Q&A Team
2020-04-02 02:21
#2
帮顶!!!
Reply View the author
avatar
130******12
deepin
2020-04-02 02:53
#3
上github找dekDemo
Reply View the author
avatar
jzc
deepin
2020-04-02 03:14
#4
本帖最后由 jzc 于 2020-4-1 19:20 编辑

我知道原因。  你编译时要用系统默认的QT 版本,现在是 5.7.1  。不能用自己下的新版本
Reply View the author
avatar
jzc
deepin
2020-04-02 03:20
#5

Reply View the author
avatar
jzc
deepin
2020-04-02 03:27
#6
还有  DTK连文档都没有  你怎么用它开发?  难道去读 dtk-widget 源码?
Reply View the author
avatar
余温晨
deepin
2020-04-02 03:55
#7

大佬,我就是照着你的教程做的
Reply View the author
avatar
余温晨
deepin
2020-04-02 03:57
#8
https://bbs.deepin.org/post/190483
还有  DTK连文档都没有  你怎么用它开发?  难道去读 dtk-widget 源码?

我就觉得DTK的标题栏比较好看,剩下的都交给Qt
Reply View the author
avatar
jzc
deepin
2020-04-02 04:02
#9
https://bbs.deepin.org/post/190483
我就觉得DTK的标题栏比较好看,剩下的都交给Qt

用这个路径下的qmake   /usr/lib/x86_64-linux-gnu/qt5/bin/qmake
Reply View the author
avatar
130******12
deepin
2020-04-02 04:05
#10
https://bbs.deepin.org/post/190483
大佬,我就是照着你的教程做的

你是不是没有 安装dtk的相关库,或者是没有 引用,它提示的是你没有引用dtkwidget的库。
Reply View the author
avatar
余温晨
deepin
2020-04-02 04:27
#11

困扰我好几天的问题终于解决了, 非常感谢
Reply View the author
avatar
余温晨
deepin
2020-04-02 04:31
#12
https://bbs.deepin.org/post/190483
用这个路径下的qmake   /usr/lib/x86_64-linux-gnu/qt5/bin/qmake

问题解决了,  我用sudo apt-get install qt5-default qt5-qmake g++ qtcreator又重新装了一遍,, 果然是要用默认的.非常感谢
Reply View the author
avatar
余温晨
deepin
2020-04-02 04:32
#13
https://bbs.deepin.org/post/190483
你是不是没有 安装dtk的相关库,或者是没有 引用,它提示的是你没有引用dtkwidget的库。 ...

dtk的三个库我都安装了, 不是依赖的问题. 问题就是 jzc 大佬说的那样, Qt版本不对
Reply View the author
avatar
余温晨
deepin
2020-04-02 04:33
#14
https://bbs.deepin.org/post/190483
你是不是没有 安装dtk的相关库,或者是没有 引用,它提示的是你没有引用dtkwidget的库。 ...

大佬你的教程写的很好, 感谢!
Reply View the author