我从头开始安装了Ubuntu 16.04 Qt5.8。我正在尝试组装插件ibase。为此,我做了以下几个步骤: 添加在源应用程序" source"
中sudo apt-get update
sudo apt-get build-dep qt5-default
sudo apt-get install libxcb-xinerama0-dev
sudo apt-get install firebird-dev
sudo apt-get install firebird2.5-super
ln -s /usr/lib/x86_64-linux-gnu/libfbclient.so /usr/lib/libgds.so
cd ~/Qt/5.8/Src/ && export QTDIR=~/Qt/5.8/Src && export PATH=$QTDIR/qtbase/bin:$PATH && cd $QTDIR/qtbase/src/plugins/sqldrivers/ibase
sudo apt-get install qt4-qmake libqt4-dev
qmake "INCLUDEPATH+=/usr/include" "LIBS+=-L/usr/lib/x86_64-linux-gnu -lfbclient" ibase.pro
WARNING: /home/alexandr/Qt/5.8/Src/qtbase/src/plugins/sqldrivers/qsqldriverbase.pri:4: Unable to find file for inclusion qt_plugin
Project MESSAGE: Warning: unknown QT: core-private
Project MESSAGE: Warning: unknown QT: sql-private
你需要做些什么才能摆脱错误?
答案 0 :(得分:0)
sudo apt-get install ubuntu-sdk
这将使Qt5成为系统中的默认值