[texworks] r447 breaks Qt 4.4 compatibility
jfkthame at googlemail.com
Wed Oct 7 10:32:49 CEST 2009
On 7 Oct 2009, at 06:43, Stefan Löffler wrote:
> I did rebuild the packages now. The scripttools indeed only produced a
> warning. However, on pre 4.5 versions (Ubuntu hardy and intrepid) the
> build failed with several errors similar to:
> src/TeXDocument.cpp:2173: error: invalid use of incomplete type
> /usr/include/qt4/QtGui/qtableview.h:51: error: forward declaration of
> 'struct QHeaderView'
> Curiously, the 4.5 builds (Ubuntu jaunty a karmic) succeeded without
> problem. Apparently, some Qt includes have changed in that version. I
> patched the build system now by simply explicitly #include'ing
> <QHeaderView>. I suggest you also do that in the repository. With
> the builds succeeded (finally ;)).
Apparently with 4.5, QHeaderView must be included indirectly, probably
via QTableView or something like that.
I've added the explicit #include, so it should go more smoothly now.
Thanks for looking into this.
More information about the texworks