• 2957阅读
  • 2回复

qt 编程问题 [复制链接]

上一主题 下一主题
离线daier1420
 

只看楼主 倒序阅读 楼主  发表于: 2009-07-23
QString collectionFile = QLibraryInfo::location(QLibraryInfo::ExamplesPath)
        + QLatin1String("/help/contextsensitivehelp/doc/wateringmachine.qhc")
是例子help的语句
不明白是什么意思
望高手解答
在先等待
离线cofei
只看该作者 1楼 发表于: 2009-07-23
The QLibraryInfo class provides information about the Qt library.

QString QLibraryInfo::location ( LibraryLocation loc )   [static]

Returns the location specified by loc.

QLibraryInfo::ExamplesPath    10    The location for examples upon install.

The QLatin1String class provides a thin wrapper around an ASCII/Latin-1 encoded string literal.

请参看assistant

这个是获得路径, 得到文件

要翻译一下么?
离线daier1420

只看该作者 2楼 发表于: 2009-07-24
谢谢!!!!!!!!!!!
快速回复
限100 字节
 
上一个 下一个