Peter Kümmel wrote:
> Helge Hafting wrote:
>> 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/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui
>> -I../../../boost -I../../../src/frontends/controllers -Wextra -Wall -g
>> -O2 -MT GuiView.lo -MD -MP -MF .deps/GuiView.Tpo -c GuiView.C -o GuiView.o
>> GuiView.C: In member function 'virtual void
>> lyx::frontend::GuiView::setGeometry(unsigned int, unsigned int, int,
>> int, bool)':
>> GuiView.C:161: error: invalid use of undefined type 'struct QDesktopWidget'
>> /usr/include/qt4/QtGui/qapplication.h:49: error: forward declaration of
>> 'struct QDesktopWidget'
>> GuiView.C:161: error: invalid use of undefined type 'struct QDesktopWidget'
>> /usr/include/qt4/QtGui/qapplication.h:49: error: forward declaration of
>> 'struct QDesktopWidget'
>> GuiView.C:163: warning: converting to 'int' from 'double'
>> GuiView.C:165: warning: converting to 'int' from 'double'
>> make[7]: *** [GuiView.lo] Error 1
>>
>> Wanted to test - but the compile broke.
>>
>> Helge Hafting
>>
>>
> 
> Does #include <QDesktopWidget> help?
> It's also part of qt 4.1:
> http://doc.trolltech.com/4.1/qdesktopwidget.html
> 

I'm sure this solves the problem and committed it.

-- 
Peter Kümmel

Reply via email to