Yes I tried the examples and they are working too. But I am not able to
build something of my own.

Tried building applications of my own too by using the code from examples
and successful with Dialog Example(making my CMakeLists.txt and build and
running commands as at http://redmine.webtoolkit.eu/wiki/wt/Using_CMake )

But the same is not true with Hello one (when trying in my project) and get
errors related to Wt::EventSignal and Wt::WMouseEvent which I am not able to
figure out why even though I am using the same code as in* provided in hello
example*. And I am not able to figure out what I am missing in this although
my CMakeLists.txt file is almost same as in Dialog Example.

On Fri, May 13, 2011 at 2:42 PM, Christophe Meessen
<[email protected]>wrote:

>
> I found http://www.webtoolkit.eu/wt/doc/reference/html/overview.html very
> useful to get the big picture.
> If you are using Ubuntu, I found out that using the ppa was much easier
> than building the wt library.
> Have you managed to have the wt HelloWorld example working ?  The
> Helloworld code I used is :
> ---
> #include <Wt/WApplication>
> #include <Wt/WContainerWidget>
> #include <Wt/WText>
>
> Wt::WApplication* createApplication( const Wt::WEnvironment &env )
> {
>     Wt::WApplication *wapp = new Wt::WApplication( env );
>     Wt::WText* txt = new Wt::WText( "<h1>Hello world</h1>" );
>     wapp->root()->addWidget( txt );
>     return wapp;
> }
>
> int main( int argc, char* argv[] )
> {
>     return Wt::WRun( argc, argv, &createApplication );
> }
> ----
>  Link it with -lwtext -lwt -lwthttp and run it with ' --http-address
> 0.0.0.0 --http-port 12345 --docroot .' as argument.
> Then open your browser and connect with the url http://localhost:12345.
>
> That's a good start.
>
>
> Le 13/05/2011 05:24, Gurpreet Kaur Karwal a écrit :
>
> I studied the following links but though its true I found some of the
> things quite difficult to understand
>
> http://www.webtoolkit.eu/wt
>
>
> http://redmine.webtoolkit.eu/projects/wt/wiki/Installing_Wt_on_Ubuntu#Installing-from-the-official-package
>
> http://redmine.webtoolkit.eu/wiki/wt/Using_CMake
>
> http://www.webtoolkit.eu/wt/doc/examples/html/modules.html
>
> http://www.webtoolkit.eu/wt/doc/reference/html/modules.html
>
> http://www.richelbilderbeek.nl/index.htm
>
> https://help.ubuntu.com/community/BuildingWtFromSource
>
> http://en.wikipedia.org/wiki/Wt_%28web_toolkit%29
>
> http://redmine.webtoolkit.eu/wiki/1
>
>
> http://www.developer.com/lang/article.php/3751236/Wt-C-Web-Toolkit-Library-Lets-You-Write-Scripting-Independent-Web-Apps.htm
>
> wt-sdj.pdf
>
> If there is something special for a person not at all familiar with "wt" so
> that he/she is also able to understand it in depth please do tell.
>
> On Thu, May 12, 2011 at 5:39 PM, Gurpreet Kaur Karwal <
> [email protected]> wrote:
>
>> Hello,
>> I am a beginner here and I studied quite a lot about "wt" impressed by its
>> features. I tried using "wt" too. But as a beginner I am unable to get any
>> satisfactory outcome after regular efforts. I found that the things are a
>> bit too complex to understand and no examples are widely available as in
>> case of other technologies. I am very much focused to bring out something
>> satisfactory by the use of "wt" but till now after about a month or so I am
>> not able to do so.
>> Please suggest me from where should a beginner start so that he/she can
>> get results he/she aims for. The resources material, e-book etc are welcomed
>> if you can tell me.
>>
>> Best Wishes
>>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
>
>
> _______________________________________________
> witty-interest mailing 
> [email protected]https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
>
> --
> Bien cordialement,
>
> Ch. Meessen
>
>
>
> ------------------------------------------------------------------------------
> Achieve unprecedented app performance and reliability
> What every C/C++ and Fortran developer should know.
> Learn how Intel has extended the reach of its next-generation tools
> to help boost performance applications - inlcuding clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> witty-interest mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/witty-interest
>
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to