[Qt-interest] Error in generating .idl file while building axserver application

Santhosh Y santhosh at softjin.com
Fri Jun 25 12:29:58 CEST 2010


Hi,

I am trying to build a qaxserver application, which I copied from  
"\Qt\4.5.2\examples\activeqt\comapp". On my m/c  
"c:\Qt\4.5.2\lib\QAxServerd.lib" is also available.
Please find the attached files with the mail also (main.cpp, comapp.rc, 
comapp.pro, comapp.vcproj)

When I am building this using VC++ 2008, it is giving the following error.


 From the error I can make out that, it is not able to find/ *interface 
definition language file*/(.idl) and hence the error [Post build event]
Since in
         Property 
->ConfigurationProperties->Buildevents->Post-buildEvent->Excludefrombuild -> 
has been set to "NO". Please see below attached image


Because of this it is trying to do post build, and hence the error.
I guess this has to be done, since we need to generate .idl file, which 
is used by client to see the interfaces exposed by axserver application.

Can anybody give me the hint why this *comapp.rc* file included in .pro 
file. Please give me the reference where I can read more about this.
Thanks in advance.

----------------------------------------------------
Y Santhosh Kumar -
Senior Software Engineer,
SoftJin Technologies Pvt Ltd,
www.softjin.com
----------------------------------------------------



Business Disclaimer
____________________________________________________________
This e-mail message and any files transmitted with it are intended solely
for  the use  of the  individual or entity  to which they  are  addressed. It
may  contain confidential,  proprietary or legally  privileged  information.
If  you  are  not  the  intended recipient please be advised that you have
received  this  message in error and any use is strictly prohibited. Please
immediately  delete it  and all copies of it from your system, destroy any
hard  copies  of  it and  notify  the  sender  by return mail. You must not,
directly or indirectly, use,  disclose,  distribute, print, or copy any part of
this message if you are not the intended recipient.
___________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.JPG
Type: image/jpeg
Size: 76407 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: postBuildEventCommandLine.JPG
Type: image/jpeg
Size: 73054 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment-0001.jpe 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: comapp.vcproj
Type: application/xml
Size: 9418 bytes
Desc: not available
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment.rdf 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: main.cpp
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: comapp.rc
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment-0001.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: comapp.pro
Url: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100625/65611744/attachment-0002.pl 


More information about the Qt-interest-old mailing list