Qt for Linux/X11 - 具体问题

此页面包含 Qt 目前已知可在其上运行 X11 平台的有关信息,及特定平台注意事项的链接。

Linux

在 Linux/x86、Linux/ppc、Linux/amd64 及 Linux/ia64 (包括 Altix(R)) 生产版本使用 Qt 没有已知问题。

特定支持编译器的有关信息,拜访 支持平台 页面。

安装问题

安装源 ( .tgz ) will likely conflict with the Qt version from your Linux distribution. This can result in link errors, such as:

undefined reference to '_vt.11QPushButton'
					

This is solved by removing the older version of the library.

If you have problems installing open source versions of Qt provided by your Linux distribution, for example, from RPM or APT repositories, please consult the maintainers of the distribution.

Some RPM versions have problems installing some of the Qt RPM archives where installation stops with an error message warning about a Failed Dependency 。使用 --nodeps option of rpm as workaround this problem.

Intel C++ 编译器 for Linux

Qt can be compiled with the Intel C++ compile for Linux, though, this configuration is not tested on a regular basis.

采用 Intel C++ 编译器 for Linux 的已知问题

  • Precompiled header support does not work in version 10.0.025 and older. For these compilers, you should configure Qt with -no-pch. Precompiled header support works properly in version 10.0.026 and later.
  • Version 10.0.026 for Intel 64 is known to miscompile qmake when building in release mode. For now, configure Qt with -debug. Version 10.1.008 and later can compile qmake in release mode.
  • Versions 10.1.008 to 10.1.015 for both IA-32 and Intel 64 are known crash with "(0): internal error: 0_47021" when compiling Qt Designer in release mode. Version 10.1.017 compiles these modules correctly in release mode.

采用 GCC 编译器的已知问题

采用某些版本的 GCC 构建 Qt 有以下已知问题: