恩,楼主注意:
Some constants are defined only on certain platforms. You can use the preprocessor symbols Q_WS_WIN and Q_WS_……
[/Quote]
问你一个问题,是不是我再win上面装的库里面根本就不能得到Max的信息,如果我想在win写一个在mac上运行的得到系统版本信息的程序可以么?(安装的时候for win ,for mac 区别在这里?)
文档必看:http://qt-project.org/doc/qt-4.8/qsysinfo.html
[/Quote]
恩,楼主注意:
Some constants are defined only on certain platforms. You can use the preprocessor symbols Q_WS_WIN and Q_WS_MAC to test that the application is compiled under Windows or Mac.