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 XML Patterns and Qt Designer in release mode. Version 10.1.017 compiles these modules correctly in release mode.

采用 GCC 編譯器的已知問題

采用某些版本的 GCC 構建 Qt 有以下已知問題: