trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] tdevelop FTBFS 3.5.13-sru, error: 'App' was not declared in this scope

From: Slávek Banko <slavek.banko@...>
Date: Fri, 10 Aug 2012 13:14:05 +0200
Dne pá 10. srpna 2012 David C. Rankin napsal(a):
> On 08/09/2012 01:29 PM, David C. Rankin wrote:
> > [ 89%] Building CXX object
> > kdevdesigner/designer/CMakeFiles/libkdevdesignerpart-module.dir/liste
> >ditor.cpp.o cd /build/src/build/kdevdesigner/designer && /usr/bin/c++
> > -Dlibkdevdesignerpart_module_EXPORTS -DHAVE_CONFIG_H
> > -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
> > -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -DDESIGNER
> > -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
> > --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wno-deprecated
> > -include tqt.h -fPIC -I/build/src/build/kdevdesigner/designer
> > -I/build/src/tdevelop/kdevdesigner/designer
> > -I/build/src/tdevelop/kdevdesigner/shared
> > -I/build/src/tdevelop/lib/interfaces/external -I/opt/trinity/include
> > -I/opt/qt3/include -I/usr/include/tqt    -include tqt.h
> > -UQT_NO_ASCII_CAST -o
> > CMakeFiles/libkdevdesignerpart-module.dir/listeditor.cpp.o -c
> > /build/src/build/kdevdesigner/designer/listeditor.cpp
> > In file included from
> > /build/src/build/kdevdesigner/designer/listeditor.cpp:22:0:
> > /build/src/build/kdevdesigner/designer/listeditor.ui.h: In member
> > function 'virtual void ListEditor::addItem()':
> > /build/src/build/kdevdesigner/designer/listeditor.ui.h:33:5: error:
> > 'App' was not declared in this scope
> >
> > Any ideas?
>
> Anybody? Is this one of those cases where I can just try declaring
> 'App' somewhere? If so, where?

I think the problem is not tqApp × qApp. First, tqApp is also in many 
other places. Second, in tqtinterface v3.5.13-sru is in tqt.h tqApp 
defined as qApp.

Do you have really tqtinterface version v3.5.13-sru?

Slavek
--