Hi,

Now remove search directory (.ui & .cpp) from build & in MainWindow.cpp line 130:

   //Search Widget
#ifdef WIN32
   _searchPageWidget = new SearchPageWidget(0);
#endif

add a define: #if defined (WIN32) && defined (QT_OPENSOURCE)

Do the same operation on line 293 & line 420.

You can add the same define in line 52

Regards,
--
mstute


Weiguang Shi wrote:
Thanks very much, Mathieu.

After making the changes in trunk/gui/SConscript,
The previous error

build-wengo\win32-debug\softphone\gui\uic_HomepageWidgeForm.cc(16)
: fatal error C1083: Cannot open include file:
'qaxwidget.h': Invalid argument

is gone. I got the following error:
build-wengo\win32-debug\softphone\gui\search\uic_SearchPageWidgetForm.cc(16)
: fatal error C1083: Cannot open include file:
'qaxwidget.h': No such file or directory

That is, this time, it's in
search/uic_SearchPageWidgetForm.cc
instead of uic_HomepageWidgeForm.cc.
The problem is that, this time, there is no
search/uic_SearchPageWidgetForm_posix.cc to turn to.
I may need to create one or you've already got a
solution?

Thanks again,
Wei


--- "mathieu.stute" <[EMAIL PROTECTED]> wrote:

Weiguang Shi a écrit :
I'm building the Classic on Windows XP and have
come
to the point where #include "qaxwidget.h" caused
trouble. The FAQ, i.e.,


http://dev.openwengo.com/trac/openwengo/trac.cgi/wiki/FaqWengoPhoneClassic
recommended "...Then, build it, remove all references to
QAxWidget
in Classic's source code, and build Classic's code
using your recently built Qt open source edition."

But how?

Before having to do with some dirty hack, I'd like
to
hear from you on this. Help please!

Thank you,
Wei Shi
__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com _______________________________________________
Wengophone-devel mailing list
[email protected]

http://dev.openwengo.com/mailman/listinfo/wengophone-devel
Hi,

I suggest you remove HomePageWidget.* from build &
replace it with HomePageWidget_posix.*
    -> edit the Sconscript in gui
after you will face some easy-to-solve compilation
errors.

These errors will mostly be in " #ifdef WIN32 / #endif " code.
A proper way is to add a condition in this test:
#if defined (WIN32) && !defined(QT_OPENSOURCE)
or something like that.
You can define QT_OPENSOURCE in the main SConscript
with env.WengoCppDefineAdd("QT_OPENSOURCE")

Good Luck.
--
mstute




__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com _______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to