* [gentoo-amd64] Qt tutorial 7 - anyone got this to work?
@ 2007-03-25 6:27 Daiajo Tibdixious
2007-03-28 14:14 ` Paul de Vrieze
0 siblings, 1 reply; 2+ messages in thread
From: Daiajo Tibdixious @ 2007-03-25 6:27 UTC (permalink / raw
To: gentoo-amd64
This is probably off-topic, so suggestions to go elsewhere are welcome.
I reported this to trolltech as a bug, but it doesn't show in their
task tracker.
http://doc.trolltech.com/4.2/tutorial-t7.html
Introduces creating ones own signals & slots.
slots seem to work fine but signals are not found in a connect call.
I can't see any difference between the Qt supplied signals (in their
includes), and my ones.
Another funny is that the Q_OBJECT macro works fine in the Qt includes,
however if used in my program, linker vtable errors occur caused by
the virtual functions declared by the macro.
--
gentoo-amd64@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-amd64] Qt tutorial 7 - anyone got this to work?
2007-03-25 6:27 [gentoo-amd64] Qt tutorial 7 - anyone got this to work? Daiajo Tibdixious
@ 2007-03-28 14:14 ` Paul de Vrieze
0 siblings, 0 replies; 2+ messages in thread
From: Paul de Vrieze @ 2007-03-28 14:14 UTC (permalink / raw
To: gentoo-amd64
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
On Sunday 25 March 2007, Daiajo Tibdixious wrote:
> This is probably off-topic, so suggestions to go elsewhere are welcome.
> I reported this to trolltech as a bug, but it doesn't show in their
> task tracker.
> http://doc.trolltech.com/4.2/tutorial-t7.html
> Introduces creating ones own signals & slots.
> slots seem to work fine but signals are not found in a connect call.
> I can't see any difference between the Qt supplied signals (in their
> includes), and my ones.
>
> Another funny is that the Q_OBJECT macro works fine in the Qt includes,
> however if used in my program, linker vtable errors occur caused by
> the virtual functions declared by the macro.
I should probably tell you to read the documentation. What happens is that you
must include the macro, AND, run moc on your file which creates another C++
file that you must also compile (and link). The easiest way to build qt
projects is to use qmake which handles it for you.
Paul
--
Paul de Vrieze
Gentoo Developer
Mail: pauldv@gentoo.org
Homepage: http://www.devrieze.net
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-28 14:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-25 6:27 [gentoo-amd64] Qt tutorial 7 - anyone got this to work? Daiajo Tibdixious
2007-03-28 14:14 ` Paul de Vrieze
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox