Support #12055
openCan hello-widget example be compiled by FastCGI?
0%
Description
Can hello-widget example be compiled by FastCGI?
While configuring by cmake, I set the cmake variables as the followings:
CONNECTOR_FCGI: ON
CONNECTOR_FCGI: OFF
CONNECTOR_FCGI: wtfcgi
After configuring with cmake, I got the message:
** Enabling FastCGI connector.
** Disabling built-in httpd.
** hello-widget set example requires the built-in http... Skipping.
However, the instruction web page (https://www.webtoolkit.eu/wt/doc/reference/html/InstallationUnix.html#build) explains how to build the examples using FastCGI. So, is it possible to build hello-widget example with FastCGI? Or am I missing something?
Updated by Matthias Van Ceulebroeck 6 months ago
- Status changed from New to Feedback
Hello,
it's only this specific example examples/feature/widgetset
that is not allowed to use the FCGI connector. This specific example is used to embed a WApplication
. It's likely possible to perform the same with the FCGI connector, but the logic would differ significantly, hence why we warn this specific example has to us wthttp
.
Overall I would not advise to use the FCGI
connector, but rely on wthttp
.