[Interest] Regarding building mysql for Qt 5.4

Thiago Macieira thiago.macieira at intel.com
Sun Dec 14 19:06:11 CET 2014


On Sunday 14 December 2014 14:39:32 Jha Sonakumar wrote:
> Hi all,
>   I have been trying to build mysql for Qt 5.4,
>    encountered following error. Could you please let me know the proper way
> to handle it.
> 
> 
> .... qmake "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib
> -lmysqlclient_r" mysql.pro ...make
> make: Nothing to be done for 'first'.
> ...make install
> install -m 755 -p "../../../../plugins/sqldrivers/libqsqlmysql.so"
> "/home/sona/qt-everywhere-opensource-src-5.4.0/qtbase/plugins/sqldrivers/li
> bqsqlmysql.so" install: '../../../../plugins/sqldrivers/libqsqlmysql.so' and
> '/home/sona/qt-everywhere-opensource-src-5.4.0/qtbase/plugins/sqldrivers/li
> bqsqlmysql.so' are the same file Makefile:1059: recipe for target
> 'install_target' failed
> make: [install_target] Error 1 (ignored)

The error is that you ran "make install" on a Qt build that wasn't 
installable. Just don't run it and everything will be correct.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list