deepin 15.5 桌面版64位配置Qt开发环境
Tofloor
poster avatar
honp
deepin
2018-06-09 07:37
Author
Qt开发环境的安装配置方法有很多,我这里只列出一种,仅供参考,希望对你有帮助。




1、到深度商店下载、安装QtCreator。



2、打开深度终端,输入命令sudo apt-get install qt5-default qt5-qmake (或者第一步也不用了,直接把这一步的命令改成sudo apt-get install qt5-default qt5-qmake qtcreator)验证密码,一路回车。




3、前两步完成后,打开QtCreator设置


选择Qt版本(如果你需要的话,可以安装多个版本,在编译运行的时候也可以随时切换)


设置QtCreator在编译时设置(Qtcreator比较人性化,不出意外按下图点击选择相应版本就行了)


现在,你可以在Qtcreator的欢迎页面新建一个项目并编写运行你的程序了。为了保留你的好奇心,就不贴图了。
Injoin yourself!
Reply Favorite View the author
All Replies
1 / 2
To page
xyh920691910
deepin
2018-06-09 20:46
#1
赞一个。。。
Reply View the author
wuwangwocc
deepin
2018-06-09 21:06
#2
学习了,顶
Reply View the author
qq1134407214
deepin
2018-06-09 23:16
#3
请问下,公司有个软件需要qt5.9以上的版本,deepin自带的5.7.可以用这个运行吗?
Reply View the author
Daryl Xu
deepin
2018-06-10 00:00
#4
https://bbs.deepin.org/post/157889
请问下,公司有个软件需要qt5.9以上的版本,deepin自带的5.7.可以用这个运行吗?

deepin自带5.6.1吧,能不能运行搞一下不就知道了。一般和版本没啥关系
Reply View the author
qq1134407214
deepin
2018-06-10 00:15
#5
https://bbs.deepin.org/post/157889
deepin自带5.6.1吧,能不能运行搞一下不就知道了。一般和版本没啥关系

不能.........
Reply View the author
Daryl Xu
deepin
2018-06-10 00:34
#6

不会是真的要安装5.9版本的吧?可以试试,一个电脑可以安装多个版本的
Reply View the author
Lotuso
deepin
2018-06-10 00:37
#7
但一般都是在Qt官网下载完整包直接安装
Reply View the author
wtz
deepin
2018-06-10 01:02
#8
https://bbs.deepin.org/post/157889
但一般都是在Qt官网下载完整包直接安装

楼主已经注明了开发环境是deepin 15.5桌面版,不是Win或OS X。
Reply View the author
honp
deepin
2018-06-10 05:14
#9
https://bbs.deepin.org/post/157889
不会是真的要安装5.9版本的吧?可以试试,一个电脑可以安装多个版本的

这个我试过的,用8#的方法就可以了,官网推荐的就是这个,安装多个版本的编译器、工具都更加方便。不过由于国内网络环境,这样的安装方式很慢(也有可能是与我所处环境有关)。所以,文章开头写明仅供参考
Reply View the author
s***7@gmail.com
deepin
2018-06-10 05:43
#10
https://bbs.deepin.org/post/157889
这个我试过的,用8#的方法就可以了,官网推荐的就是这个,安装多个版本的编译器、工具都更加方便。不过由 ...

开源镜像站了解下?

https://mirrors.tuna.tsinghua.edu.cn/qt/official_releases/qt/
Reply View the author
pikachuhy
deepin
2018-06-10 06:22
#11
其实,最方便的方法就是这个命令
  1. sudo apt install qtcreator-dde
Copy the Code
Reply View the author
Daryl Xu
deepin
2018-06-10 07:52
#12
https://bbs.deepin.org/post/157889
这个我试过的,用8#的方法就可以了,官网推荐的就是这个,安装多个版本的编译器、工具都更加方便。不过由 ...

8#是8楼?什么方法
Reply View the author
牧野
deepin
2018-06-10 15:17
#13
最近用qt5.10输入不了汉字~你们谁的有办法解决~以前拷贝动态库的方式,不能解决~~
Reply View the author
HualetWang
deepin
2018-06-10 16:31
#14
muye 发表于 2018-6-10 07:17
最近用qt5.10输入不了汉字~你们谁的有办法解决~以前拷贝动态库的方式,不能解决~~ ...

拷插件无法解决是因为加载插件失败了吧
应该需要重新编译一下输入法插件
Reply View the author
ritter
deepin
2018-06-10 17:20
#15
https://download.qt.io/archive/qt/5.11/5.11.0/
下载离线安装包,就行了,装几个版本都随便你。
Reply View the author
honp
deepin
2018-06-10 23:40
#16
https://bbs.deepin.org/post/157889
8#是8楼?什么方法

嗯,8楼,就是16楼那个链接。
Reply View the author
牧野
deepin
2018-06-11 01:16
#17
https://bbs.deepin.org/post/157889
拷插件无法解决是因为加载插件失败了吧
应该需要重新编译一下输入法插件 ...

好吧。看来只能编译源码了,最怕编译开源的东西,各种缺库。。。。
Reply View the author
Lotuso
deepin
2018-06-16 04:07
#18
https://bbs.deepin.org/post/157889
楼主已经注明了开发环境是deepin 15.5桌面版,不是Win或OS X。

Linux上也是这么安装使用呀,反正我是不建议用apt方式安装Qt开发环境
Reply View the author
xyh920691910
deepin
2018-06-29 01:29
#19
https://bbs.deepin.org/post/157889
Linux上也是这么安装使用呀,反正我是不建议用apt方式安装Qt开发环境

为啥。。。。。。。。。。
Reply View the author
Lotuso
deepin
2018-06-29 17:34
#20
https://bbs.deepin.org/post/157889
为啥。。。。。。。。。。

apt安装的东西都会放在系统目录树下对整个系统环境有直接影响,但从官方下载的.run文件安装的就不会有这种问题,.run文件安装后所有的依赖都在自己的Qt目录中,当然对于我这种强迫症患者来说,还是用.run安装的好点,因为不污染系统环境
Reply View the author
1 / 2
To page