On Tuesday 31 October 2006 2:51 pm, Peter Kümmel wrote:
> José Matos wrote:
> > GuiView.C:78: error: ISO C++ forbids declaration of 'QTabBar' with no
> > type
>
> I've added the include of QTabBar.
> Does this help?

  It helps but it is not enough:

if /bin/sh ../../../libtool --tag=CXX --mode=compile 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src  -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS  -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/QtCore 
-I/usr/include/QtGui   -I../../../boost -I../../../src/frontends/controllers 
-Wextra -Wall     -O -MT 
GuiView.lo -MD -MP -MF ".deps/GuiView.Tpo" -c -o GuiView.lo GuiView.C; \
        then mv -f ".deps/GuiView.Tpo" ".deps/GuiView.Plo"; else 
rm -f ".deps/GuiView.Tpo"; exit 1; fi
 
g++ -DHAVE_CONFIG_H -I. -I. -I../../../src -DQT_CLEAN_NAMESPACE 
-DQT_GENUINE_STR -DQT_NO_STL -DQT_NO_KEYWORDS -I../../../src 
-I../../../src/frontends -I../../../images -DQT_SHARED -I/usr/include/QtCore 
-I/usr/include/QtGui -I../../../boost -I../../../src/frontends/controllers 
-Wextra -Wall -O -MT 
GuiView.lo -MD -MP -MF .deps/GuiView.Tpo -c GuiView.C -o GuiView.o
GuiView.C: In 
constructor 'lyx::frontend::WidgetWithTabBar::WidgetWithTabBar(QWidget*)':
GuiView.C:83: error: 'QVBoxLayout' was not declared in this scope
GuiView.C:83: error: 'l' was not declared in this scope
GuiView.C:83: error: expected type-specifier before 'QVBoxLayout'
GuiView.C:83: error: expected `;' before 'QVBoxLayout'
GuiView.C: In member function 'virtual boost::shared_ptr<lyx::Toolbar> 
lyx::frontend::GuiView::makeToolbar(const lyx::ToolbarBackend::Toolbar&)':
GuiView.C:471: warning: unused variable 'lastTb'
make[7]: *** [GuiView.lo] Error 1

> Maybe I should remove the Qt headers from the precompiled msvc-headers.
>
> Peter

-- 
José Abílio

Reply via email to