Hey Jason,

I would suggest documenting those two things:
> 1. Use WStrings in the db layer when using it with Wt
>

Although that's a valid approach, I'm not sure I dislike (UTF-8)
std::string's either.


> 2. Put the class after the traits. The documentation all has it class then
> traits.
>

Fixed that already in my git version!

Also, is there any documentation on using QtCreator with Wt? I got
> something kind-of working.  But Creator has some issues. Like I cannot set
> a break point, if I try to set one the application quits. When I set the
> breakpoint:
>
[2014-Mar-26 13:04:31.238637] 21718 - [info] "WServer/wthttp: shutdown
> (signal = 2)"
> [2014-Mar-26 13:04:31.238715] 21718 - [info] "WebController: shutdown:
> stopping sessions."
> [2014-Mar-26 13:04:31.239064] 21718 [/ nu3DFjM3nCKtC2qt] [info] "Wt:
> session destroyed (#sessions = 0)"
> [2014-Mar-26 13:04:31.239105] 21718 - [info] "WServer/wthttp: Shutdown:
> stopping web server."
>

You need to start the wthttpd with '--gdb' argument which prevents Wt from
catching the same signals that are apparently used to communicate with gdb.

I also have a install.sh/stop.sh that I found somewhere that copies
> resources to the build dir, and kills it apropriately.
>
> Many thanks!
>
> sample.pro for reference.
>
> QT       -= core
>
> QT       -= gui
>
>
> TARGET = test1.wt
>
> CONFIG   += console
>
> CONFIG   -= app_bundle
>
>
> TEMPLATE = app
>
>
> INCLUDEPATH += /usr/include/Wt
>
>
> LIBS += \
>
>     -lboost_filesystem -lboost_program_options -lboost_system -lboost_signals
>  \
>
>     -L/usr/local/wt/lib -lwt -lwthttp -lwtdbo -lwtdbosqlite3
>
>
That's always useful, feel free to add this in the wiki (
http://redmine.emweb.be/projects/wt/wiki) ?

Regards,
koen
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
witty-interest mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/witty-interest

Reply via email to