Hello Frank,
>
> I’ve just started using Wt as part of a research for a new web development
> platform. We are currently using Qt and we want to build web apps as well.
>
Then you may also be interested in the 'wtwithqt' example that
demonstrates Wt/Qt interoperation. I don't think it is currently built
on windows, but demonstrates the idea (Qt needs some special things to
get threading stuff right).
> I am very impressed of the capabilities and performance of the examples on
> the web, so I’m very curious about live performance.
>
> I’ve tried to install and deploy it on my development laptop using
> VS2008/Vista
>
> I’ve installed Boost 1.38 and Wt 2.99.2
>
> The build works out OK (only 8 errors, mainly because of wrong Qt dll’s, the
> rest builds fine).
>
Ah, I may have meant to say that the example is currently not
correctly built on windows ;-) But it should not be too hard to fix.
> When I try to deploy the examples the following occurs, e.g. the
> widgetgallery:
>
> WContainerWidget [doc]
> ??basics-WContainerWidget??
>
This is due to a missing resource file (an xml file). Wt uses Qt-style
tr("somekey") syntax to support internationalization, and when it does
not find the key it will be rendered as ??somekey??. The resource
files are located in the example source directory. Read on.
> I have received deploy errors during the install scripts (the seem to be
> shell scripts, e.g. deploy.sh), mkdir –p gives errors. If I set the debug
> parameters in the VS IDE (–docroot etc.) the app will start, but I do not
> see any widgets or icons. The deploy scripts refer to ICON directories that
> I can’t find, so I think I must be missing something. My questions are:
>
The deploy scripts for examples don't work on windows. You have to run
the examples from the location where they are compiled, or manually
copy them to somewhere else.
>
> Are there any further instructions for windows/VS/Vista?
The recommended method to build Wt and run the examples is located here:
http://www.webtoolkit.eu/wt/wiki/index.php/Installing_Wt_2.1_on_MS_Windows
> In which dir should the app start up?
> Which resources should be in which dir for deployment?
> An example dir tree list would be very helpful.
1. Copy wt/resources to your example source directory
(wt/examples/widgetgallery). Not all examples need the resources
directory, but many do. If you get 404 errors on resources/..., then
the example needs the resources directory.
2. If your example requires ExtJS (widgetgallery does), then install
it as described in
http://www.webtoolkit.eu/wt/wiki/index.php/Frequently_Asked_Questions
(see 1.4).
3. Start the example with the working directory set to the source of
the example (wt/examples/widgetgallery)
Let me know if you still have problems then...
Best regards,
Wim.
------------------------------------------------------------------------------
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest