|
一直苦苦搜索相关内容,最终在ubuntu系统/usr/share/doc/qtchooser下找到了qtchooser的说明文件,所以就进来把这篇日志修改一下,原来搜到的内容是archlinux下的qtchooser的文件说明,与ubuntu的目录结构完全不吻合。
ubuntu下实际找到的和qtchooser在目录/usr/share/qtchooser和/usr/lib/i386-linux-gun/qtchooser下,我日志中原先介绍的是archlinux,他的目录在/etc/xdg/qtchooser下,所以原先的说明在ubuntu下无法使用。下面给出/usr/share/doc/qtchooser下的README.Debian的内容并做出翻译,此时此刻我并不知道我所找到的这些内容和所做的翻译对我下面的学习进展是否有帮助,但有一条至少可以确认的就是网上没有查找到任何的相关内容,其次这是工具安装时在系统留下的帮助内容,是具有最高权威的:
We currently patch qtchooser to make it look for configs
in three additional directories:
补丁qtchooser通过三个目录方式对qt进行配置。
- /usr/share/qtchooser: holds qtx-triplet.conf configs.
They are installed by libqtcore with it's arch triplet. In this way apps can
call it's specific arch tools.
/usr/share/qtchooser下qtx-triplet.conf标志
- /usr/lib/$(DEB_HOST_MULTIARCH)/qtchooser: holds qtx.conf and default.conf for
the specific arch.
/usr/lib/i386-linux-gun/atchooser下qtx.conf和default.conf.
- /usr/lib/$(DEB_HOST_MULTIARCH)/qt-default/qtchooser: holds a default.conf which
points to Qt4. In this way the Qt4 packages already in the archive should not
FTBFS when we introduce qtchooser in unstable. Exporting QT_SELECT=qt4 or
build-depending on qt4-default is recommended.
qtchooser的帮助信息
root@camel-dynabook-SS-1700MY-106S-2:/# qtchooser --help
Usage:
qtchooser { -l | -list-versions | -print-env }
qtchooser -run-tool=<tool name> [-qt=<Qt version>] [program arguments]
<executable name> [-qt=<Qt version>] [program arguments]
Environment variables accepted:
QTCHOOSER_RUNTOOL name of the tool to be run (same as the -run-tool argument)
QT_SELECT version of Qt to be run (same as the -qt argument)
|
|