[Qt-interest] Runtime Error :- connect: No such slot (FIXED) But...
Sean Harmer
sean.harmer at maps-technology.com
Sun Feb 21 15:24:17 CET 2010
Wm. G. Urquhart wrote:
> Sean Harmer wrote:
>> Please post your project's .pro file it sounds like you may have a
>> mistake in there.
>
> Hi Sean,
>
> I don't think the .pro file used when the project is under Visual
> Studio? The .pro file I have hasn't been updated since 30th of Dec 09
> and the content in it is well out of date.
>
That is likely the source of the problem then. You typically use the
.pro file to generate the visual studio project file. If whoever did
this originally had a mistake in there or if someone has since
introduced an inconsistency by manually editing the VS project file then
you could end up with this type of problem where one configuration is
trying to use the generated files for some other configuration - or is
just picking up some completely stale file.
I would suggest fixing up the .pro file and regenerating your visual
studio project file using qmake.
Cheers,
Sean
ps It was this hassle that convinced me to switch to qt-creator on
windows as that just uses the .pro files to generate Makefiles directly.
It even re-runs qmake for you when needed.
More information about the Qt-interest-old
mailing list