[Qt-interest] Generic Question

Gopalakrishna Bhat gopalakbhat at gmail.com
Tue Nov 1 15:39:01 CET 2011


Please reply to the list and not to me personally :)

I think this error is C++ related and nothing specific to Qt. Just google
the error message and you will get the solution.
I suspect that you have declared the LoadCalibParam as virtual and not
defined it.

On Tue, Nov 1, 2011 at 7:02 PM, aashish sheshadri
<aashish1989 at hotmail.com>wrote:

>  Hello sir,
>
> No i did not include Q_OBJECT in the private section of my derived class.
> But after I did I get the error
>
> error: undefined reference to `vtable for OpenCViso' in the OpenCViso
> constructor.
>
> I had not defined LoadCalibParam in my base class, but i did define it now
> as a virtual function,
> where the intended use of this is in the derived class. But the signal in
> the base class.
>
> LoadCalibParam does not take any arguments, but returns a bool.
>
> Thanks
>
> ------------------------------
> Date: Tue, 1 Nov 2011 12:13:53 +0530
> Subject: Re: [Qt-interest] Generic Question
> From: gopalakbhat at gmail.com
> To: aashish1989 at hotmail.com
> CC: qt-interest at qt.nokia.com
>
>
> First thing is have you included Q_OBJECT in the private section of your
> derived class?
> If yes then what is the signature of LoadCalibParam i.e does it have any
> arguments? (assuming you would have declared LoadCalibParam as public slots
> in the base class i.e in ManinWindow.)
>
> On Tue, Nov 1, 2011 at 10:25 AM, aashish sheshadri <
> aashish1989 at hotmail.com> wrote:
>
>  How to use signal from base class and slot from the inherited class.
>
> OpenCViso::OpenCViso():MainWindow()  //constructor for class OpenCViso inheriting (public) class Mainwindow
>
> {
>
>         connect(this,SIGNAL(BeginExec()),this,SLOT(LoadCalibParam()));
>
> }
>
>
>
> BeginExec() is defined in the class MainWindow as a signal.
> LoadCalibParam() is defined in OpenCViso as a public slot.
>
> I get the following error
>
> Object::connect: No such slot MainWindow::LoadCalibParam() in
> opencviso.cpp:6
>
> Object::connect: (sender name: 'MainWindow')
>
> Object::connect: (receiver name: 'MainWindow')
>
>
> I am a novice.
>
>
> Thanks
>
> > From: qt-interest-request at qt.nokia.com
> > Subject: Qt-interest Digest, Vol 11, Issue 107
> > To: qt-interest at qt.nokia.com
> > Date: Mon, 31 Oct 2011 17:59:34 +0100
> >
> > Send Qt-interest mailing list submissions to
> > qt-interest at qt.nokia.com
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> > http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> > or, via email, send a message with subject or body 'help' to
> > qt-interest-request at qt.nokia.com
> >
> > You can reach the person managing the list at
> > qt-interest-owner at qt.nokia.com
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Qt-interest digest..."
> >
> >
> > Today's Topics:
> >
> > 1. Re: qmake (Graham Labdon)
> > 2. Re: Qt 4.7.4 - animation (John Weeks)
> > 3. Directory Dialog Performance Issue (Sudheesh Krishnankutty)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Mon, 31 Oct 2011 15:33:03 +0000
> > From: Graham Labdon <Graham.Labdon at avalonsciences.com>
> > Subject: Re: [Qt-interest] qmake
> > To: Thiago Macieira <thiago at kde.org>, "qt-interest at qt.nokia.com"
> > <qt-interest at qt.nokia.com>
> > Message-ID:
> > <DA78E044FB673F438F102FC52CA4A62C0535032A at ASLUKEXSVR.avalonsciences.local
> >
> >
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Thanks!
> >
> > -----Original Message-----
> > From: qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com[mailto:
> qt-interest-bounces+graham.labdon=avalonsciences.com at qt.nokia.com] On
> Behalf Of Thiago Macieira
> > Sent: 31 October 2011 15:08
> > To: qt-interest at qt.nokia.com
> > Subject: Re: [Qt-interest] qmake
> >
> > On Monday, 31 de October de 2011 14:56:05 Graham Labdon wrote:
> > > Hello list
> > >
> > > I have a .pro file that when I run qmake under windows generates
> > > Makefile Makefile.release Makefile.debug
> > >
> > > When I run qmake on the same .profile under linux I only get a single
> > > make file that produces a release verison
> > >
> > > Why are these different?
> >
> > Because your Qt on Windows was built in debug-and-release mode, while
> the one on Linux was probably built on release-only mode.
> >
> > > How can I get a debug version on Linux?
> >
> > qmake CONFIG-=release CONFIG+=debug
> >
> > --
> > Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
> > Software Architect - Intel Open Source Technology Center
> > PGP/GPG: 0x6EF45358; fingerprint:
> > E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
> >
> >
> > ------------------------------
> >
> > Message: 2
> > Date: Mon, 31 Oct 2011 09:26:23 -0700
> > From: John Weeks <john at wavemetrics.com>
> > Subject: Re: [Qt-interest] Qt 4.7.4 - animation
> > To: Ridvan Sonmez <rsonmez2002 at yahoo.com>
> > Cc: "qt-interest at qt.nokia.com" <qt-interest at qt.nokia.com>
> > Message-ID: <D09E9AFC-970D-4825-824D-CC89C820E0B2 at wavemetrics.com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> >
> > On 31-Oct-2011, at 12:31 AM, Ridvan Sonmez wrote:
> >
> > > Hello
> > >
> > > i am trying to understand from your (Qt) documentation example for
> animations named "stickman". There is a
> > > problem for me - what is type of these resource files
> "chilling","dancing" etc. inside of "resources" dir. How i see they
> > > are bin files but how do you (with which tool) create them ? i suppose
> this is not secret - becouse there isn't Do you may help me - i want to
> create similar
> > > animation scene and learn animation in better way or even "improve"
> some things inside of these classes.
> >
> > I would read the file animation.cpp. There are suggestively-named
> methods there, like Animation::save and Animation::load.
> >
> > Regards, John Weeks
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/289ae013/attachment-0001.html
> >
> > ------------------------------
> >
> > Message: 3
> > Date: Mon, 31 Oct 2011 22:29:23 +0530
> > From: "Sudheesh Krishnankutty" <sudheesh at softjin.com>
> > Subject: [Qt-interest] Directory Dialog Performance Issue
> > To: <qt-interest at qt.nokia.com>
> > Message-ID: <000c01cc97ee$7183b790$548b26b0$@com>
> > Content-Type: text/plain; charset="us-ascii"
> >
> > Hi,
> >
> >
> >
> > In the attached project, I am using two types of directory browse
> dialogs.
> > One using the static method QFileDialog::getExistingDirectory() and the
> > other one by sub-classing the QFileDialog class.
> >
> > My observation is that when there are many mapped drives ( z mapped to
> > <file:///\\pc1\share1> \\pc1\share1 y mapped to <file:///\\pc2\share2>
> > \\pc2\share2 etc..) the MyFileDialog is very slow. If any of the mapped
> > systems are offline, then the MyFileDialog becomes even slower.
> >
> > can you pls explain why MyFileDialog is very very slow when compared to
> the
> > Native dialog (static method).
> >
> > We prefer using the MyFileDialog. Is there a way I can speed up the
> > MyFileDialog?
> >
> >
> >
> > Regards,
> >
> > Sudheesh
> >
> > -------------- next part --------------
> > An HTML attachment was scrubbed...
> > URL:
> http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/d8a98f51/attachment.html
> > -------------- next part --------------
> > A non-text attachment was scrubbed...
> > Name: DirDialog.zip
> > Type: application/octet-stream
> > Size: 20940 bytes
> > Desc: not available
> > Url :
> http://lists.qt.nokia.com/pipermail/qt-interest/attachments/20111031/d8a98f51/attachment.obj
> >
> > ------------------------------
> >
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at qt.nokia.com
> > http://lists.qt.nokia.com/mailman/listinfo/qt-interest
> >
> >
> > End of Qt-interest Digest, Vol 11, Issue 107
> > ********************************************
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest
>
>
>
>
> --
> My blog http://gkbhat.blogspot.com
>



-- 
My blog http://gkbhat.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111101/f5f78e0f/attachment.html 


More information about the Qt-interest-old mailing list