Pavel Sanda wrote:
> Peter Kümmel wrote:
>> Pavel Sanda wrote:
>>> Peter Kuemmel wrote:
>>>> Attached a patch which makes use of the new QProgress support in 
>>>> Systemcall.
>>> Systemcall.cpp:28:24: error: QApplication: No such file or directory
>>> Systemcall.cpp: In member function 'int 
>>> lyx::support::Systemcall::startscript(lyx::support::Systemcall::Starttype, 
>>> const std::string&)':
>>> Systemcall.cpp:149: error: 'QApplication' has not been declared
>>> make[5]: *** [Systemcall.o] Error 1
>> fixed, it was a QtGui header.
> 
> don't beat me, i'm innocent  :)

Seems you are using the wrong build system ;)

I switch to linux and will see...


> 
> GuiProgress.cpp: In function 'void lyx::frontend::processEvents()':
> GuiProgress.cpp:193: error: redefinition of 'void 
> lyx::frontend::processEvents()'
> GuiProgress.cpp:28: error: 'void lyx::frontend::processEvents()' previously 
> defined here
> GuiProgress.cpp: At global scope:
> GuiProgress.cpp:203: error: redefinition of 
> 'lyx::frontend::GuiProgress::GuiProgress(lyx::frontend::GuiView&, 
> Qt::DockWidgetArea, Qt::WindowFlags)'
> GuiProgress.cpp:38: error: 
> 'lyx::frontend::GuiProgress::GuiProgress(lyx::frontend::GuiView&, 
> Qt::DockWidgetArea, Qt::WindowFlags)' previously defined here
> GuiProgress.cpp:212: error: redefinition of 'void 
> lyx::frontend::GuiProgress::processStarted()'
> GuiProgress.cpp:47: error: 'virtual void 
> lyx::frontend::GuiProgress::processStarted()' previously defined here
> GuiProgress.cpp:218: error: redefinition of 'void 
> lyx::frontend::GuiProgress::processFinished()'
> GuiProgress.cpp:53: error: 'virtual void 
> lyx::frontend::GuiProgress::processFinished()' previously defined here
> GuiProgress.cpp:223: error: redefinition of 'void 
> lyx::frontend::GuiProgress::appendMessage(const QString&)'
> GuiProgress.cpp:58: error: 'virtual void 
> lyx::frontend::GuiProgress::appendMessage(const QString&)' previously defined 
> here
> GuiProgress.cpp:231: error: redefinition of 'void 
> lyx::frontend::GuiProgress::appendError(const QString&)'
> GuiProgress.cpp:66: error: 'virtual void 
> lyx::frontend::GuiProgress::appendError(const QString&)' previously defined 
> here
> GuiProgress.cpp:237: error: redefinition of 'void 
> lyx::frontend::GuiProgress::clearMessages()'
> GuiProgress.cpp:72: error: 'virtual void 
> lyx::frontend::GuiProgress::clearMessages()' previously defined here
> GuiProgress.cpp:244: error: redefinition of 'void 
> lyx::frontend::GuiProgress::showEvent(QShowEvent*)'
> GuiProgress.cpp:79: error: 'virtual void 
> lyx::frontend::GuiProgress::showEvent(QShowEvent*)' previously defined here
> GuiProgress.cpp:79: warning: unused parameter 'event'
> GuiProgress.cpp:251: error: redefinition of 'void 
> lyx::frontend::GuiProgress::hideEvent(QHideEvent*)'
> GuiProgress.cpp:86: error: 'virtual void 
> lyx::frontend::GuiProgress::hideEvent(QHideEvent*)' previously defined here
> GuiProgress.cpp:86: warning: unused parameter 'event'
> GuiProgress.cpp: In function 'lyx::frontend::Dialog* 
> lyx::frontend::createGuiProgress(lyx::frontend::GuiView&)':
> GuiProgress.cpp:259: error: redefinition of 'lyx::frontend::Dialog* 
> lyx::frontend::createGuiProgress(lyx::frontend::GuiView&)'
> GuiProgress.cpp:94: error: 'lyx::frontend::Dialog* 
> lyx::frontend::createGuiProgress(lyx::frontend::GuiView&)' previously defined 
> here
> GuiProgress.cpp: At global scope:
> GuiProgress.cpp:272: error: redefinition of 
> 'lyx::frontend::GuiProgressSplash::GuiProgressSplash()'
> GuiProgress.cpp:107: error: 
> 'lyx::frontend::GuiProgressSplash::GuiProgressSplash()' previously defined 
> here
> GuiProgress.cpp:278: error: redefinition of 'void 
> lyx::frontend::GuiProgressSplash::processStarted()'
> GuiProgress.cpp:113: error: 'virtual void 
> lyx::frontend::GuiProgressSplash::processStarted()' previously defined here
> GuiProgress.cpp:285: error: redefinition of 'void 
> lyx::frontend::GuiProgressSplash::processFinished()'
> GuiProgress.cpp:120: error: 'virtual void 
> lyx::frontend::GuiProgressSplash::processFinished()' previously defined here
> GuiProgress.cpp:291: error: redefinition of 'void 
> lyx::frontend::GuiProgressSplash::appendMessage(const QString&)'
> GuiProgress.cpp:126: error: 'virtual void 
> lyx::frontend::GuiProgressSplash::appendMessage(const QString&)' previously 
> defined here
> GuiProgress.cpp:302: error: redefinition of 'void 
> lyx::frontend::GuiProgressSplash::appendError(const QString&)'
> GuiProgress.cpp:137: error: 'virtual void 
> lyx::frontend::GuiProgressSplash::appendError(const QString&)' previously 
> defined here
> GuiProgress.cpp:308: error: redefinition of 'void 
> lyx::frontend::GuiProgressSplash::clearMessages()'
> GuiProgress.cpp:143: error: 'virtual void 
> lyx::frontend::GuiProgressSplash::clearMessages()' previously defined here
> GuiProgress.cpp:314: error: redefinition of 
> 'lyx::frontend::GuiProgressSplash* 
> lyx::frontend::GuiProgressSplash::splash_instance'
> GuiProgress.cpp:149: error: 'lyx::frontend::GuiProgressSplash* 
> lyx::frontend::GuiProgressSplash::splash_instance' previously defined here
> GuiProgress.cpp:316: error: redefinition of 'static void 
> lyx::frontend::GuiProgressSplash::setInstance(lyx::frontend::GuiProgressSplash*)'
> GuiProgress.cpp:151: error: 'static void 
> lyx::frontend::GuiProgressSplash::setInstance(lyx::frontend::GuiProgressSplash*)'
>  previously defined here
> GuiProgress.cpp:321: error: redefinition of 'static 
> lyx::frontend::GuiProgressSplash* 
> lyx::frontend::GuiProgressSplash::instance()'
> GuiProgress.cpp:156: error: 'static lyx::frontend::GuiProgressSplash* 
> lyx::frontend::GuiProgressSplash::instance()' previously defined here
> make[6]: *** [GuiProgress.o] Error 1
> 
> pavel
> 

Reply via email to