Message: previous - next
Month: October 2012

Re: [trinity-users] Crippling problem with KDevelop after upgrading to

From: "Timothy Pearson" <kb9vqf@...>
Date: Sun, 14 Oct 2012 00:56:31 -0500
> Hello, all.  I am completely hobbled in KDevelop since upgrading to
>  On 3.5.12, all worked fine.  Now, I cannot compile.  Not
> being a heavy duty programmer, I am somewhat hampered in troubleshooting
> this but it has me stopped in my tracks at work.
> I added a new .ui file and it corresponding subclasses and tried to
> compile.  It failed immediately with an error about tqt missing but I'm
> building a qt3 application.  I ran distclean followed by automake and
> friends.  When I run configure, I receive a warning about:
> checking if TQt is available... no
> configure: WARNING: You are attempting to compile Trinity without the
> Trinity Qt Interface installed. Please install libtqtinterface-dev and
> try again!
> I've checked and libtqtinterface-dev is installed.  I don't know why
> it's even checking for TQt.
> When I try to build, I get:
> /usr/share/qt3/bin/moc
> /home/jsullivan/gitISCS/iscs/spm/src/acceptcadialog.h acceptcadialog.moc
> Qt meta object compiler
> moc: Too many input files specified
> Usage: moc [options] <header-file>
> -o file Write output to file rather than stdout
> -f[file] Force #include, optional file name
> -p path Path prefix for included file
> -i Do not generate an #include statement
> -k Do not stop on errors
> -nw Do not display warnings
> -v Display version of moc
> make[2]: *** [acceptcadialog.moc] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> *** Exited with status: 2 ***
> What is going on here? Is there a bug where the output file in the moc
> command is not being preceded with a -o?
> I also thought it a bad indication when I checked my Qt Options for the
> project and the Qt3 directory was set to /usr and in glaring red
> (meaning it is not a valid qt3 directory).  I changed it back
> to /usr/share/qt3 but it is still showing as red.
> I'm very badly stuck on a major project so all help is deeply
> appreciated.  Thanks - John

You are probably using an outdated admin/ directory in your project.  It
is not very well known that kdevelop includes the same automake files as
all other TDE applications in each project you create; unfortunately these
files, once created, are never updated by kdevelop.  I would try replacing
the admin/ directory inside your project with the latest version
from GIT at  Do NOT use the
latest GIT head version; instead use the link for the SRU version