Thanks All,
I was able to build using Cmake.
I was getting error (since I use Open Edition of Qt):

Unable to open QAxContainerd.dll

I removed it from the CMakeLists.txt in <WengoDir>\libs\3rdparty\qt4
file.

I read on this web page about a similar fix for scons here -
http://dev.openwengo.org/trac/openwengo/trac.cgi/changeset/4598
        124             if WengoQtEdition() != 'QT_EDITION_OPENSOURCE': 
        125                     libs.append('QAxContainerd') 
        126             else: 
        127                     libs += [ 
        ...      
        150                             'advapi32', 
        151                     ] 

May be we should do similar thing for Cmake.

However I still did not get installer, I got qtwengophone.exe in
build/debug folder.
I did following steps:

1). build_nmake.bat release
QT_QMAKE_EXECUTABLE=C:\Qt\4.1.2\bin\qmake.exe
2). nmake install

What else do I need to do for getting installer?

Thanks again for great support.

> > To avoid ConvertBSTRToString errors while building with Cmake,
> >
> >  In Scons to woraround this problem we change:
> >  1).Main scons buildscript wengophone.py, located in  
> > \wengoscons\wengoscons
> >     I still did not get place to add /Zc:wchar_t. Can any 
> one please 
> > comment on this?
> >
> > 2). wifo\phapi\Sconscript so that the occorrence of comsupp becomes 
> > comsuppw What is equivalent of this change in Cmake build system.
> >
> >     I found following areas of change, can anyone please 
> confirm this?
> >     In C:\Wengo\WIP\wifo\phapi\CMakeLists.txt,
> >
> >     if (MSVC)
> >             ow_add_private_definitions(
> >                     -DT_MSVC
> >             )
> >
> >             ow_add_private_libraries(
> >             #       comsupp - old line
> >             comsuppw
> >             )
> >
> >     Also comsupp is reffered in
> > C:\Wengo\WIP\libs\webcam\CMakeLists.txt. Should we change here too?
> Hi Jaya,
> 
> modifying [wengodirectory]\libs\webcam\CMakeLists.txt should 
> be enough.
> 
> "/Zc:wchar_t" should be added in that file so it looks like :
> 
> 28    if (MSVC)
> 29            ow_add_private_libraries(
> 30                    winmm
> 31                    strmiids
> 32                    comsuppw  #comsupp - old line
> 33            )
> 34
> 35            ow_add_private_compile_flags(
> 36                    /Zc:wchar_t
> 37            )
> 38
> 39            ow_add_sources(
> 40                    src/directx/DirectXWebcamDriver.cpp
> 41                    src/directx/DirectXWebcamUtils.cpp
> 42            )
> 43    endif (MSVC)
> 
> I hope that will help you,
> Xavier.
 
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to