qtcreator开发linux桌面应用可以用mac吗
Tofloor
poster avatar
chuntaojun
deepin
2018-02-21 21:25
Author
本帖最后由 chuntaojun 于 2018-2-25 22:44 编辑

如题。现在用的是mac,想进行linux桌面开发,不想在安装一个linux,那么可以在mac用qt开发linux桌面应用不?

这是我安装时的选项,怎么选择?就选macos吗


Reply Favorite View the author
All Replies
zkqgxlbjx
deepin
2018-02-25 21:50
#1
当然可以,但是你加载一些包的时候要去qt官网看看是否通用,我经常在Windows系统下写代码,不过运行时要放到Linux下运行,比较有点小区别
Reply View the author
chuntaojun
deepin
2018-02-26 00:30
#2
https://bbs.deepin.org/post/153409
当然可以,但是你加载一些包的时候要去qt官网看看是否通用,我经常在Windows系统下写代码,不过运行时要放 ...

好的,谢谢了
Reply View the author
zouqilin
deepin
2018-02-26 05:01
#3
应用无法运行  需要重新编译
Reply View the author
s***7@gmail.com
deepin
2018-02-26 06:08
#4
qt的想法就是跨平台,只要不去使用别的系统没有的头文件,只需要重编译一下就能用了。曾经deepin下写了个扫雷放Windows下编译打包(老师要求打成 . exe),可以完美运行
Reply View the author
chuntaojun
deepin
2018-02-26 06:37
#5
https://bbs.deepin.org/post/153409
qt的想法就是跨平台,只要不去使用别的系统没有的头文件,只需要重编译一下就能用了。曾经deepin下写了个扫 ...

但是我在安装qt的时候只有看到一个macos,看不到desktopapp什么的这个安装选项,
Reply View the author
justforlxz
deepin developers team
2018-02-26 16:54
#6
如果是用的纯Qt+跨平台库,是可以的,只要不使用依赖平台的东西就可以。
Reply View the author
s***7@gmail.com
deepin
2018-02-26 19:12
#7
https://bbs.deepin.org/post/153409
但是我在安装qt的时候只有看到一个macos,看不到desktopapp什么的这个安装选项, ...

反正都选上肯定没错,虽然占空间有点大。。。建项目的时候选好Kit就行了。。。
Reply View the author
135******79
deepin
2018-03-18 05:07
#8
源码编译可以跨平台,不过用 pyqt 就可以直接跨平台用了吧?
Reply View the author