QMake平台范围值 [英] QMake platform scope values

查看:212
本文介绍了QMake平台范围值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

http://doc.qt .digia.com / 4.6 / qmake-advanced-usage.html#platform-scope-values

在诺基亚的QMake文档中,它指出至少有3个平台范围值:win32,macx和unix。文档说明:

On Nokia's QMake documentation it notes that there are at least 3 platform scope values: win32, macx and unix. The documentation states:


除了在许多范围条件下使用的win32,macx和unix值,还有其他各种内置平台和编译器特定的值可以用范围测试。

In addition to the win32, macx, and unix values used in many scope conditions, various other built-in platform and compiler-specific values can be tested with scopes.

但是,我找不到任何地方的列表;有谁知道这个信息可以在哪里找到。此外,win和mac似乎可以代替win32和macx ...别名?

However, I can't find a list of them anywhere; does anyone know where this information can be found. Also, "win" and "mac" seem to work in place of win32 and macx... aliases?

推荐答案

列表可以在Qt源中的 mkspecs 目录中找到。那么它不是一个列表,而是每个子目录指定一个范围名称。

The list can be found in the mkspecs directory in the Qt sources. Well, it's not really a list but each subdirectory specifies one scope name.

这篇关于QMake平台范围值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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