|
一直苦苦搜索相關內容,最終在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)
|
|