[kde-freebsd] [SVN Commit] area51/PYQT/databases/py-qt4-sql

Raphael Kubo da Costa rakuco at FreeBSD.org
Thu Jun 5 19:15:58 UTC 2014


SVN commit 10103 by rakuco:

py-qt4-sql: Add explicit dependency on qt4-gui.

For some bizarre reason, PyQt's configure.py adds a dependency on QtGui when
figuring out if QtSql is installed. When the API option is on, this
dependency is always installed indirectly, but things fail if it is turned
off. From configure's build log:

  Checking to see if the QtSql module should be built...
  c++ -DQT_NO_DEBUG -DQT_SQL_LIB -I. -I/usr/local/share/qt4/mkspecs/default
  -I/usr/local/include/qt4/QtSql -I/usr/local/include/qt4/QtGui
  -I/usr/local/include/qt4 -I/usr/local/include -O2 -pipe
  -fno-strict-aliasing -O2 -w -pthread -D_THREAD_SAFE cfgtest_QtSql.cpp -o
  cfgtest_QtSql -L/usr/local/lib/qt4 -L/usr/local/lib -Wl,-O1
  -Wl,-rpath,/usr/local/lib/qt4 -lQtSql -L/usr/local/lib/qt4
  -L/usr/local/lib/qt4 -L/usr/local/lib -lQtCore -L/usr/local/lib/qt4
  -L/usr/local/lib/qt4 -L/usr/local/lib -lQtGui -lXext -lX11 -lm
  /usr/bin/ld: cannot find -lQtGui
  c++: error: linker command failed with exit code 1 (use -v to see invocation)

PR:		183706


 M  +1 -1      Makefile  




More information about the kde-freebsd mailing list