Qt、QML 和 Windows 8 [英] Qt, QML and Windows 8

查看:47
本文介绍了Qt、QML 和 Windows 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直对Qt框架引入的QML很好奇.但从来没有机会使用它.但是现在随着 Windows 8 的到来,基于老式小部件的界面将会过时(只是我的意见!:)).现在我想问一下有QML经验的人:用QML写Metro风格(或者现在怎么称呼)应用程序容易吗?QML photoshop 插件可以用于实际项目吗?

对于那些对 Photoshop 插件一无所知的人,请尝试在 youtube 上搜索:介绍 Qt Quick 以实现令人惊叹的 UI 创建 - 2011 年巴塞罗那诺基亚开发者日(不确定,我是否可以在此处发布链接:P)

另外,有没有我可以看的用 QML 编写的好的 Windows 应用程序?

解决方案

有什么好的 Windows 应用程序我可以看看,用 QML 编写的吗?

浏览 GitHub 上的热门 Qml 存储库,以获得一个好主意.人们也在 QML 中实现了材料设计 的想法.如果我错了,请纠正我,但很多 Sailfish UI 也是在 QML 中完成的.事实上,操作系统的 SDK 基于 Qt/QML.

我个人喜欢 GCompris.他们从 GTK 迁移到 QML,并且能够在多个平台上运行他们的代码,包括 Windows/Android/OSX 等.

使用 QML 编写 Metro 风格的应用程序容易吗?

我个人认为 qml 非常有能力以非常直观和简单的方式开发流畅的类似地铁"的 UI.

您可以通过此处提供的链接开始使用 QML.

您可以从 Qt Wiki 开始 就可以了,然后通过 如何创建 Metro 风格应用程序 并阅读在 Windows 8 上部署.

QML photoshop 插件可以用于实际项目吗?

我没有使用过 Photoshop,但使用的是 GIMP (是的!也适用于 GIMP,开源开发人员做了一些不错的工作!!!).虽然它生成文件的方法可能不是很直观,但是当您的 UI 根本不会改变时,它仍然是处理单个文件(屏幕)的非常好的工具.

它为像素提供硬编码值(例如: width : 45 )而不是以依赖方式编写它(例如 parent.width * .75 ),因此如果 UI 中有修改,您可能最终会修改很多.

我个人认为 qml 非常适合学习和享受.

感谢 hyde 提供的链接.

<小时>

还要通过这些:

  1. 一段视频展示了类似 Metro 的效果,用 qml 编写

  2. 一段展示 qml 的 IVI 功能的视频.只是为了让您了解 qml 在动画等方面的能力.

I always been curious about QML introduced by Qt framework. But never had a chance to work with it. But now with Windows 8 coming, old school widget based interface is going to get outdated (just my opinion! :) ). Now I want to ask those, who had some experience with QML: Is it easy to write Metro-style (or how is it called nowadays) applications with QML? Is the QML photoshop plugin useable for real project?

For those who don't have a clue about Photoshop plugin, try search in youtube: Introducing Qt Quick for Stunning UI Creation - Nokia Developer Day, Barcelona 2011 (not sure, whether I can post links here :P)

Also, Is there any good Windows applications I can look, written in QML?

解决方案

is there any good Windows applications I can look, written in QML?

Go through the trending Qml repositories at GitHub to get a good idea. People are implementing material design ideas in QML as well. Correct me if am wrong but lot of Sailfish's UI was done in QML as well. Infact, the SDK for the OS is based on Qt/QML.

I am personally fond of GCompris. They moved from GTK to QML and have been able to run their code on several platforms including Windows/Android/OSX etc.

is it easy to write Metro-style applications with QML?

I would personally say that qml is very capable of developing the fluid 'metro like' UIs in a very intuitive and easy way.

You can go through the links given here to get started on QML.

You can start with the Qt Wiki on it, and go through how to create Metro style applications and read about deploying on Windows 8.

Is the QML photoshop plugin useable for real project?

I havent used the Photoshop one, but the one for GIMP (YES! is exists for GIMP as well, man open source developers do some nice work!!!). Although it might not be very intuitive in its approach to generate files, but it still is a very nice tool to work on single files (screens), when your UI is not expected to change at all.

It gives hard coded values to pixels ( eg: width : 45 ) instead of writing it in a dependent way ( eg. parent.width * .75 ), thus in case there are modifications in UI you might end up modifying a lot.

And personally I would say qml is just awesome to learn and have fun.

And thanks hyde for that link.


Edit:

Also go through these:

  1. A video showing the Metro like effects, written in qml

  2. A video showing the IVI capability of qml. Just so that you can get an idea of what qml might be capable in terms of animations etc.

这篇关于Qt、QML 和 Windows 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆