@TOC LIBDBUS_1_3 not defined
relocationerror:/home/sun/Qt5.12.2/Tools/QtCreator/lib/Qt/lib/libQt5DBus.so.5:symbol dbus_message_set_allow_interactive_authorization,version LIBDBUS_1_3 not defined in file libdbus-1.so.3 with link time reference
#遇到这个问题后需要安装dbus1.13.10,Windows下载完成后,使用共享文件夹拷贝到Ubuntu或者winscp拷贝到Ubuntu。然后配置编译安装
tar -xvf dbus-1.13.10.tar.xz //解压
cd dbus-1.13.10
./configure --prefix=/home/sun/Qt5.12.1/Tools/QtCreator/lib/Qt/
将--prefix=后面的路径修改位您安装的路径
配置时会出现错误,这时需输入sudo apt-get install libexpat1-dev,安装expat库
安装完成后重新输入./configure --prefix=/home/sun/Qt5.12.1/Tools/QtCreator/lib/Qt/
make
sudo make install
@undefined symbol: FT_Get_Font_Format
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' ./qtcreator: symbol lookup error: /home/sun/Qt5.12.2/Tools/QtCreator/lib/Qt/plugins/platforms/../../lib/libQt5XcbQpa.so.5: undefined symbol: FT_Get_Font_Format
遇到这个问题需要下载freetype-2.10.0并编译安装
tar -xvf freetype-2.10.0.tar.gz
cd freetype-2.10.0
./configure --prefix=/home/sun/Qt5.12.1/Tools/QtCreator/lib/Qt/
make
sudo make install
参考文章路径:
解决中标麒麟7安装Qt5.12.1后无法启动的问题[LIBDBUS_1_3 not defined][FT_Get_Font_Format]
QtCreator启动时 dbus-1的错误解决方法