trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: October 2012

tdebase-3.5.13.1 tqt3integration 'tqAppClass' was not declared in this scope

From: Jerry Nettrouer II <trinity@...>
Date: Fri, 05 Oct 2012 05:09:47 -0400
On 10/04/2012 10:19 AM, Sl�vek Banko wrote:
> On Thursday 04 of October 2012 10:55:46 Jerry Nettrouer II wrote:
>> [100%] Building CXX object
>> tqt3integration/libqtkde/CMakeFiles/qtkde-shared.dir/qtkde.cpp.o
>> cd /tmp/tdebase-3.5.13.1/build/tqt3integration/libqtkde&&
>> /usr/bin/c++   -Dqtkde_shared_EXPORTS -DHAVE_CONFIG_H -O2 -march=i486
>> -mtune=i686 -fvisibility=hidden -fvisibility-inlines-hidden
>> -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT
>> -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h
>> -I/usr/lib/qt3/include -I/usr/include/tqt -DQT_NO_ASCII_CAST
>> -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION
>> -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC
>> -I/tmp/tdebase-3.5.13.1/build/tqt3integration/libqtkde
>> -I/tmp/tdebase-3.5.13.1/tqt3integration/libqtkde
>> -I/tmp/tdebase-3.5.13.1/build
>> -I/tmp/tdebase-3.5.13.1/build/tqt3integration/utils
>> -I/usr/lib/qt3/include -I/usr/include/tqt    -o
>> CMakeFiles/qtkde-shared.dir/qtkde.cpp.o -c
>> /tmp/tdebase-3.5.13.1/tqt3integration/libqtkde/qtkde.cpp
>> In file included from
>> /tmp/tdebase-3.5.13.1/tqt3integration/libqtkde/qtkde.cpp:145:0:
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'QStringList getOpenFileNames(const QString&, QString*, long
>> int, const QCString&, const QString&, QString*, bool)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:34:2
>> 62: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'QString getSaveFileName(const QString&, const QString&,
>> QString*, long int, const QCString&, const QString&, QString*)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:64:2
>> 70: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'QString getExistingDirectory(const QString&, long int,
>> const QCString&, const QString&)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:93:9
>> 4: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'QColor getColor(const QColor&, long int, const QCString&)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:116:
>> 72: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'QFont getFont(bool*, const QFont&, long int, const
>> QCString&)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:139:
>> 102: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'int messageBox1(int, long int, const QString&, const
>> QString&, int, int, int)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:165:
>> 115: error: 'tqAppClass' was not declared in this scope
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:
>> In function 'int messageBox2(int, long int, const QString&, const
>> QString&, const QString&, const QString&, const QString&, int, int)':
>> /tmp/tdebase-3.5.13.1/build/tqt3integration/utils/tqtkde_functions.cpp:190:
>> 160: error: 'tqAppClass' was not declared in this scope
>> make[2]: ***
>> [tqt3integration/libqtkde/CMakeFiles/qtkde-shared.dir/qtkde.cpp.o] Error 1
>> make[2]: Leaving directory `/tmp/tdebase-3.5.13.1/build'
>> make[1]: *** [tqt3integration/libqtkde/CMakeFiles/qtkde-shared.dir/all]
>> Error 2
>> make[1]: Leaving directory `/tmp/tdebase-3.5.13.1/build'
>> make: *** [all] Error 2
> Are you sure you have all the source code in version equal to 3.5.13.1?
> tqAppClass is not located anywhere in the entire source tree for 3.5.13.1.
>
> If you plan to build the entire TDE 3.5.13.1, I recommend to checkout from GIT
> complete source tree - all modules:
>
>    git clone -b 3.5.13-sru http://scm.trinitydesktop.org/scm/git/tde
>    cd tde
>    scripts/switch_all_submodules_to_head_and_clean
>
> Slavek

Originally. on Tuesday I issued a

$ git clone http://system@.../scm/git/tde

and spent like 9 hours downloading (Twice ) as the connection died 
during tde-i18n download

I tried compiling it but, tqtinterface would not compile because it 
could not find TDEMacros I went online and noticed that the 3.5.13.1's 
commit tag was 301ecf4637cf43be72227162a9ef1f864a864647

so I did a chechout of the commit

$ git checkout 301ecf4637cf43be72227162a9ef1f864a864647

I've been working off of this commit until tdebase.  When the tdebase of 
commit 301ecf4637cf43be72227162a9ef1f864a864647 failed to compile with 
the same error you see above I issued a

$ git clone http://system@.../scm/git/tde/tdebase

And have been attempting to compile the tdebase from, what I believe to 
be the MASTER.

but received the same error, so to the best of my knowledge I've tried 
the 3.5.13.1 build a.k.a. commit 
301ecf4637cf43be72227162a9ef1f864a864647 and the MASTER.

I tried
$ git clone -b 3.5.13-sru http://scm.trinitydesktop.org/scm/tde

Fatal: Remote branch 3.5.13-sru not found in upstream origin
unexpected end of command stream

If you have an overall SHA that would work or a listing of SHA's for 
each submodule it may help so I could chechout each submodule known to 
work with a particular overall release.