Qt-interest Archive, October 2007
Moc trouble
Message 1 in thread
Hi
I'm looking at a port from Qt3 to 4 in our project.
To start with I'm making a little test in a small selfstanding part of
our program (a dll and a test app for this).
Theese are today both made with Qt3. And I'm using visual studio 2005.
I have followed the steps and used qt3to4 tool to convert the files
(this tool was not the verry best).
But now moc want to anything:
Warning: No relevant classes found. No output generated.
The class in the file contains Q_OBJECT and some signals and slots.
Do you know what the problem can be?
Regards Andreas
Message 2 in thread
Hi,
We've had this problem a couple of times and every time it's been due to
incorrect #include directives or missing environment variables causing
header files not to be found. If this is the case, moc will output the
warning you mention below.
Best Regards,
Daniel Hedberg
________________________________
From: Aronsson Andreas [mailto:andreas.aronsson@xxxxxxxxxxxxxxxx]
Sent: den 17 oktober 2007 14:03
To: qt-interest@xxxxxxxxxxxxx
Subject: Moc trouble
Hi
I'm looking at a port from Qt3 to 4 in our project.
To start with I'm making a little test in a small selfstanding part of
our program (a dll and a test app for this).
Theese are today both made with Qt3. And I'm using visual studio 2005.
I have followed the steps and used qt3to4 tool to convert the files
(this tool was not the verry best).
But now moc want to anything:
Warning: No relevant classes found. No output generated.
The class in the file contains Q_OBJECT and some signals and slots.
Do you know what the problem can be?
Regards Andreas
Message 3 in thread
Apologies if this is blindingly obvious, but:
- have you run the Qt4 version of qmake on the .pro file?
- are the paths in the .pro file correct?
- can you run other Qt4 projects, such as the Qt examples?
In Visual Studio, do you see the relevant files/classes in the Solution Explorer / Class View windows?
Sam Dutton
SAM DUTTON
SENIOR SITE DEVELOPER
200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4496
F
E Sam.Dutton@xxxxxxxxx
WWW.ITN.CO.UK
P Please consider the environment. Do you really need to print this email?
________________________________
From: Aronsson Andreas [mailto:andreas.aronsson@xxxxxxxxxxxxxxxx]
Sent: Wednesday 17 October 2007 13:03
To: qt-interest@xxxxxxxxxxxxx
Subject: Moc trouble
Hi
I'm looking at a port from Qt3 to 4 in our project.
To start with I'm making a little test in a small selfstanding part of our program (a dll and a test app for this).
Theese are today both made with Qt3. And I'm using visual studio 2005.
I have followed the steps and used qt3to4 tool to convert the files (this tool was not the verry best).
But now moc want to anything:
Warning: No relevant classes found. No output generated.
The class in the file contains Q_OBJECT and some signals and slots.
Do you know what the problem can be?
Regards Andreas
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster@xxxxxxxxx
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.
Message 4 in thread
In visual Studio it seams to be nothing wrong. I have tested to make a Qt4 example project and that runs fine even with some small changes.
I have also looked at the custom build steps settings. I have also runned the Qt moc directly at my files but the moc whant take them.
regards Andreas
________________________________
Från: Dutton, Sam [mailto:Sam.Dutton@xxxxxxxxx]
Skickat: den 17 oktober 2007 15:25
Till: qt-interest@xxxxxxxxxxxxx
Ämne: RE: Moc trouble
Apologies if this is blindingly obvious, but:
- have you run the Qt4 version of qmake on the .pro file?
- are the paths in the .pro file correct?
- can you run other Qt4 projects, such as the Qt examples?
In Visual Studio, do you see the relevant files/classes in the Solution Explorer / Class View windows?
Sam Dutton
<http://www.itn.co.uk/images/ITN_Master_green.gif>
SAM DUTTON
SENIOR SITE DEVELOPER
200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4496
F
E Sam.Dutton@xxxxxxxxx
WWW.ITN.CO.UK
P Please consider the environment. Do you really need to print this email?
________________________________
From: Aronsson Andreas [mailto:andreas.aronsson@xxxxxxxxxxxxxxxx]
Sent: Wednesday 17 October 2007 13:03
To: qt-interest@xxxxxxxxxxxxx
Subject: Moc trouble
Hi
I'm looking at a port from Qt3 to 4 in our project.
To start with I'm making a little test in a small selfstanding part of our program (a dll and a test app for this).
Theese are today both made with Qt3. And I'm using visual studio 2005.
I have followed the steps and used qt3to4 tool to convert the files (this tool was not the verry best).
But now moc want to anything:
Warning: No relevant classes found. No output generated.
The class in the file contains Q_OBJECT and some signals and slots.
Do you know what the problem can be?
Regards Andreas
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster@xxxxxxxxx
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.
Message 5 in thread
hi,
this question can be sent only in qwt mailing list but maybe someone can
give me some info here.
Is someone installed QWT502 designer plugin ?
I use Qt432 on windows2000 (visual 7)
I generated this qwt plugin like suggested in qwt install doc.
but when I add qwt generated plugin files in Qt432 plugins/designer
folder and launch designer.
I see a message "qwt is not a valid plugin" in designer "in "Help/About
plugins" dialog.
is someone installed this plugin with success?
thank for any info, tips, idea to resolve this strange load failure?
Best regards,
Veronique.
--
[ signature omitted ]
Message 6 in thread
In Visual Studio, do you see the relevant files/classes in the Solution Explorer / Class View windows?
Could you post your .pro file?
Sam
________________________________
From: Aronsson Andreas [mailto:andreas.aronsson@xxxxxxxxxxxxxxxx]
Sent: Friday 19 October 2007 06:57
To: qt-interest@xxxxxxxxxxxxx
Subject: SV: Moc trouble
In visual Studio it seams to be nothing wrong. I have tested to make a Qt4 example project and that runs fine even with some small changes.
I have also looked at the custom build steps settings. I have also runned the Qt moc directly at my files but the moc whant take them.
regards Andreas
________________________________
Från: Dutton, Sam [mailto:Sam.Dutton@xxxxxxxxx]
Skickat: den 17 oktober 2007 15:25
Till: qt-interest@xxxxxxxxxxxxx
Ämne: RE: Moc trouble
Apologies if this is blindingly obvious, but:
- have you run the Qt4 version of qmake on the .pro file?
- are the paths in the .pro file correct?
- can you run other Qt4 projects, such as the Qt examples?
In Visual Studio, do you see the relevant files/classes in the Solution Explorer / Class View windows?
Sam Dutton
<http://www.itn.co.uk/images/ITN_Master_green.gif>
SAM DUTTON
SENIOR SITE DEVELOPER
200 GRAY'S INN ROAD
LONDON
WC1X 8XZ
UNITED KINGDOM
T +44 (0)20 7430 4496
F
E Sam.Dutton@xxxxxxxxx
WWW.ITN.CO.UK
P Please consider the environment. Do you really need to print this email?
________________________________
From: Aronsson Andreas [mailto:andreas.aronsson@xxxxxxxxxxxxxxxx]
Sent: Wednesday 17 October 2007 13:03
To: qt-interest@xxxxxxxxxxxxx
Subject: Moc trouble
Hi
I'm looking at a port from Qt3 to 4 in our project.
To start with I'm making a little test in a small selfstanding part of our program (a dll and a test app for this).
Theese are today both made with Qt3. And I'm using visual studio 2005.
I have followed the steps and used qt3to4 tool to convert the files (this tool was not the verry best).
But now moc want to anything:
Warning: No relevant classes found. No output generated.
The class in the file contains Q_OBJECT and some signals and slots.
Do you know what the problem can be?
Regards Andreas
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster@xxxxxxxxx
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.
Please Note:
Any views or opinions are solely those of the author and do not necessarily represent
those of Independent Television News Limited unless specifically stated.
This email and any files attached are confidential and intended solely for the use of the individual
or entity to which they are addressed.
If you have received this email in error, please notify postmaster@xxxxxxxxx
Please note that to ensure regulatory compliance and for the protection of our clients and business,
we may monitor and read messages sent to and from our systems.
Thank You.