[kde-freebsd] Building Qt-4.7.0

Raphael Kubo da Costa kubito at gmail.com
Sun Sep 26 00:46:45 CEST 2010


At Fri, 24 Sep 2010 15:19:34 -0300,
Raphael Kubo da Costa wrote:
> 
> At Fri, 24 Sep 2010 11:07:48 -0700,
> David Johnson wrote:
> > 
> > On Wednesday, September 22, 2010 05:01:03 pm David Johnson wrote:
> > > I am trying to build Qt 4.7.0 from sources, outside of the ports mechanism,
> > > and am getting all sorts of problems. I am using -no-pch, but still
> > > bombing. Current point of failure is:
> > > 
> > > In file included from
> > > ../../include/QtGui/private/../../../src/gui/painting/qpaintengineex_p.h:61
> > > , from ../../include/QtGui/private/qpaintengineex_p.h:1, from
> > > ../../include/QtGui/private/../../../src/gui/painting/qpaintengine_raster_p
> > > .h:56, from ../../include/QtGui/private/qpaintengine_raster_p.h:1, from
> > > ../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_mmx_p.h:5
> > > 8, from ../../include/QtGui/private/qdrawhelper_mmx_p.h:1, from
> > > ../../include/QtGui/private/../../../src/gui/painting/qdrawhelper_sse_p.h:5
> > > 6, from ../../include/QtGui/private/qdrawhelper_sse_p.h:1, from
> > > painting/qdrawhelper_sse.cpp:46:
> > > /usr/local/include/private/qpainter_p.h:60: error: 'QTextParag' has not
> > > been declared
> > > 
> > > Does anyone have the current magic incantation to build Qt from sources
> > > outside of ports? Thanks.
> > 
> > Wondering if there were any more forthcoming clues? I will be gone most of 
> > this weekend, but I will collect suggestions and try it again in a couple of 
> > days.
> > 
> > Hoping I don't have to wait for the official port to get this.
> > 
> > Thanks,
> 
> I'll try updating my build over the weekend and post my configure
> flags here.

OK, I've just finished building the 4.7 branch here without any
problem.

  qt-copy$ git describe
  v4.7.0-2699-gf28d3e2

  qt-copy$ git branch
  4.7

  qt-copy$ pwd
  /usr/home/rakuco/kde4/src/qt-copy

  qt-copy$ mkdir -p ../build/qt-copy

  qt-copy$ cd ../build/qt-copy

  qt-copy$ ../../qt-copy/configure -qt-gif -fast -developer-build \
  -no-separate-debug-info -system-zlib -system-libpng -system-libjpeg
  -plugin-sql-psql -plugin-sql-mysql -plugin-sql-sqlite \
  -nomake examples -nomake demos -nomake docs -opensource \
  -optimized-qmake -no-pch -prefix /home/rakuco/kde4/qt4 \
  -confirm-license


More information about the kde-freebsd mailing list