本文介绍了GTK +或Qt在Windows下的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如果我需要在两个平台上使用该软件,WIN和Linux以及为什么我应该考虑哪一个? 解决方案



Qt从一开始就是跨平台的。 GTK并不总是跨平台的。这样的基本决定影响了整体设计,并且应该在任何代码被写入我的意见之前制定。

我会评论更多,但我会陷入猜测,以上两件事我是知道的。


I was wondering which one should I consider if I need the software to be used on both platforms, WIN and Linux and why?

解决方案

Packaging GTK and its dependencies on Windows is a full-time project in itself. Qt is much more easily distributed since it has no dependencies that do not come with Windows.

Qt has been cross platform from the start. GTK has not always been cross platform. Such fundamental decisions shape the overall design, and should be made before any code is written in my opinion.

I would comment more, but I'd be drifting into speculation, the above two things I know for certain.

这篇关于GTK +或Qt在Windows下的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-21 21:33