有谁可以出个Qt5程序的打包教程
Tofloor
poster avatar
白菜
deepin
2017-06-28 18:41
Author
网上的教程真是无语,不是些复制拷贝,就是已经过时的教程。
照着网上的打包了好几个了就是不成功,没办法在其他没有安装Qt的环境下运行。
有没有人可以出个原创的Qt5 的打包程序教程。
Reply Favorite View the author
All Replies
1 / 2
To page
avatar
DebuggerX
deepin
2017-06-28 19:15
#1
没有安装Qt的环境……那也就是windows咯。。
反正我是用pyinstaller打包的,单文件模式和文件夹模式都成功了,教程没收藏,主要靠摸索。
至于py2exe确实我也没成功,没记错是这货只支持3.4,而我是直接在deepin的3.5写的程序
Reply View the author
avatar
白菜
deepin
2017-06-28 19:34
#2
https://bbs.deepin.org/post/141711
没有安装Qt的环境……那也就是windows咯。。
反正我是用pyinstaller打包的,单文件模式和文件夹模式都成功 ...

不是啊,Windows那就好办多了。
主要是Linux打包Deb,依赖问题很麻烦
Reply View the author
avatar
aName
deepin
2017-06-28 19:40
#3
我记得@noahsai写了一个教材,在noahsai.github.io
Reply View the author
avatar
herdde
deepin
2017-06-28 19:45
#4
https://bbs.deepin.org/post/141711
不是啊,Windows那就好办多了。
主要是Linux打包Deb,依赖问题很麻烦

打包snap吧
Reply View the author
avatar
白菜
deepin
2017-06-28 23:54
#5
https://bbs.deepin.org/post/141711
我记得@noahsai写了一个教材,在noahsai.github.io

打包出去的软件不能自动解决Qt的依赖
Reply View the author
avatar
kaile
deepin
2017-06-29 04:47
#6
linux对软件开发太不友好了
Reply View the author
avatar
白菜
deepin
2017-06-29 05:16
#7
https://bbs.deepin.org/post/141711
linux对软件开发太不友好了

嗯,的确太麻烦了
Reply View the author
avatar
q1377195627
deepin
2017-06-29 06:06
#8
https://bbs.deepin.org/post/141711
不是啊,Windows那就好办多了。
主要是Linux打包Deb,依赖问题很麻烦

不是linux打包deb,是debian打包deb这才对,我arch下打包pkg.tar.xz简直不要太简单,每次打包直接复制粘贴就行了,deb?没有上好几个文件是不行的
Reply View the author
avatar
q1377195627
deepin
2017-06-29 06:09
#9
https://bbs.deepin.org/post/141711
linux对软件开发太不友好了

屁,明明是最友好的,你那是自己不会打包deb而已, 但是arch的alpm包简直不要太简单
Reply View the author
avatar
海天鹰
deepin
2017-06-29 07:07
#10
Qt明明都是绿色软件~
Reply View the author
avatar
yping
deepin
2017-06-29 08:22
#11
试一下我这个?  https://bbs.deepin.org/post/141517
Reply View the author
avatar
yping
deepin
2017-06-29 08:25
#12
本帖最后由 yping 于 2017-6-29 00:28 编辑

如果上面我打的包能用 就参考下这一个 repo https://github.com/mutse/qt2deb-demo
Reply View the author
avatar
tamlok
deepin
2017-06-29 17:40
#13
https://bbs.deepin.org/post/141711
如果上面我打的包能用 就参考下这一个 repo https://github.com/mutse/qt2deb-demo

Ubuntu没有Qt5.7的咋整呢?
Reply View the author
avatar
yping
deepin
2017-06-29 20:43
#14
https://bbs.deepin.org/post/141711
Ubuntu没有Qt5.7的咋整呢?

依赖错了?还是要安装自己开发用的?自己用的话去官网下吧
Reply View the author
avatar
tamlok
deepin
2017-06-30 05:03
#15
https://bbs.deepin.org/post/141711
依赖错了?还是要安装自己开发用的?自己用的话去官网下吧

我是想打包VNote,但是发现Ubuntu上没有Qt5.7,太久了。
Reply View the author
avatar
herdde
deepin
2017-06-30 05:19
#16
https://bbs.deepin.org/post/141711
我是想打包VNote,但是发现Ubuntu上没有Qt5.7,太久了。

snap不行吗?
Reply View the author
avatar
kaile
deepin
2017-06-30 06:37
#17
https://bbs.deepin.org/post/141711
屁,明明是最友好的,你那是自己不会打包deb而已, 但是arch的alpm包简直不要太简单 ...



我不觉得这是友好
Reply View the author
avatar
tamlok
deepin
2017-06-30 07:35
#18

还得在看看
Reply View the author
avatar
q1377195627
deepin
2017-06-30 08:18
#19
https://bbs.deepin.org/post/141711
我不觉得这是友好

你这是什么意思,你这分明是软件自己不会装,非要去下tar包之类的,包管理器被你吃了?我一条命令搞定所有开发环境的事,干嘛要作死各种找tar包之类
Reply View the author
avatar
kaile
deepin
2017-06-30 17:21
#20
https://bbs.deepin.org/post/141711
你这是什么意思,你这分明是软件自己不会装,非要去下tar包之类的,包管理器被你吃了?我一条命令搞定所 ...

一条命令也能顺便卸载dde
Reply View the author
1 / 2
To page