Home
Categories
WIKI
Topic
User
LANGUAGE:
中文
English
qtcreator 编译输出遇到错误无法解决
Apps Section
524
views ·
4
replies ·
To
floor
Go
VI~TONISEN
deepin
2017-08-03 06:56
Author
如图
,这个怎么破,还有一个,
Reply
Like 0
Favorite
View the author
All Replies
A·S·M·X·T 😏😜
deepin
2017-08-03 07:06
#1
dde编译一遇到qt版本问题坑了
Reply
Like 0
View the author
VI~TONISEN
deepin
2017-08-03 07:06
#2
第二个错误好像也是第一个的关系
Reply
Like 0
View the author
134******40
deepin
2017-08-03 09:47
#3
本帖最后由 jdocker 于 2017-8-3 19:49 编辑
很简单,你下载安装qt5.6版本的qt creator就没问题了,因为5.9版本相对5.6有些类做了调整,很遗憾,dtk有些引用qt5.6的类在5.9下已经被调整,在新的5.9下就出问题了。当然并不是说5.9无法编辑5.6的东西。但是使用5.9提供的库是无法编译通过的。所以,你需要修改5.9中的依赖库为5.6版本依赖库。当然了,你也需要安装对应的诸如qmake qt5-default gcc g++、gdb等基本性的东西。
然后修改工具→选项→构建和运行,然后修改QT versions为5.6.1版本(深度仓库默认提供5.6.1版本),然后再修改gcc和g++为系统安装的版本。还有使用release编译,否则你还要配置debug环境,与其这样,不如直接下载qt5.6版本安装省事。
Reply
Like 0
View the author
VI~TONISEN
deepin
2017-08-03 19:24
#4
谢谢谢谢谢谢
Reply
Like 0
View the author
Please
sign
in first
Featured Collection
Change
Nuntia - Modern IMAP/SMTP mail client for Deepin (Beta tester wanted!)
[Tutorial] deepin25 WSL Offline Installation Guide
UOS AI 2.8 Released! Three New Intelligent Agents & Major Evolution
Solid Q&A | deepin 25 Common Questions – The Immutable System Edition
New Thread
Popular Ranking
Change
Four agent skills for laptop power, sleep, and honest bug reports
Installing qemu-user breaks deepin
Adding a Dancing Spectrum Bar to the Deepin Taskbar | deepin-spectrum
Popular Events
More