Trolltech Home | Qt-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 3

Qt-interest Archive, February 2007
Use of Qtcopydialog


Message 1 in thread

Hello to Everybody,

I try to use the QT4 "Copy Dialog" solution and I have the following problem :
I use the Qt 4.2.0 version with VS-2003. I have downloaded and unpack the solution, import the .pro file in VS and compile it easily.
So, I copy the components source files in my project directory, include all the stuff in my VS project and when I compile I obtain a lot of messages (in french, sorry) like :

c:\dev\Qt\ChimereI\debug\moc_qtcopydialog.cpp(86): error C2027: utilisation du type non défini 'QtCopyDialogPrivate'
 
I check the compiler options and it seems to be the same in both case

Any experience of such behavior, advice or help ?

Have a nice day

Didier Buty
Aria Technologies 

Message 2 in thread

i guess you shouldn't be compiling the moc_*.cpp files, because they are probably #included in the examples. 

Cheers,
Peter Prade

-----Ursprüngliche Nachricht-----
Von: Didier BUTY [mailto:dbuty@xxxxxxx] 
Gesendet: Dienstag, 13. Februar 2007 15:38
An: qt-interest@xxxxxxxxxxxxx
Betreff: Use of Qtcopydialog


Hello to Everybody,

I try to use the QT4 "Copy Dialog" solution and I have the following problem :
I use the Qt 4.2.0 version with VS-2003. I have downloaded and unpack the solution, import the .pro file in VS and compile it easily.
So, I copy the components source files in my project directory, include all the stuff in my VS project and when I compile I obtain a lot of messages (in french, sorry) like :

c:\dev\Qt\ChimereI\debug\moc_qtcopydialog.cpp(86): error C2027: utilisation du type non défini 'QtCopyDialogPrivate'

I check the compiler options and it seems to be the same in both case

Any experience of such behavior, advice or help ?

Have a nice day

Didier Buty
Aria Technologies 

--
 [ signature omitted ] 

Message 3 in thread

Didier BUTY schrieb:
> I copy the components source files in my project directory, include 
> all the stuff in my VS project

Did you include the solution into your project's .pro file and read that 
in again? The solution's docs say you how, something like

include(...pri)

Martin

-- 
 [ signature omitted ] 

Message 4 in thread

Ok,

By suppressing the moc_*.cpp from the MSVC "Generated files" folder, I've got an executable.
Now, I will try to make it run properly ! ;-)

Thanks to Peter and Martin

Didier


-------- Message d'origine--------
De: Didier BUTY
Date: mar. 13/02/2007 15:38
À: qt-interest@xxxxxxxxxxxxx
Objet : Use of Qtcopydialog
 

Hello to Everybody,

I try to use the QT4 "Copy Dialog" solution and I have the following problem :
I use the Qt 4.2.0 version with VS-2003. I have downloaded and unpack the solution, import the .pro file in VS and compile it easily.
So, I copy the components source files in my project directory, include all the stuff in my VS project and when I compile I obtain a lot of messages (in french, sorry) like :

c:\dev\Qt\ChimereI\debug\moc_qtcopydialog.cpp(86): error C2027: utilisation du type non défini 'QtCopyDialogPrivate'
 
I check the compiler options and it seems to be the same in both case

Any experience of such behavior, advice or help ?

Have a nice day

Didier Buty
Aria Technologies