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 Lid Ned about 1 year ago
Sorry second variable should have been CONNECTOR_HTTP: OFF
Updated by Lid Ned about 1 year ago
It seems my copy and work didn't work above. Sorry about this. I am writing the correct variable values below. Don't consider the ones in my first message.
CONNECTOR_FCGI ON
CONNECTOR_HTTP OFF
EXAMPLES_CONNECTOR wtfcgi
Updated by Matthias Van Ceulebroeck about 1 year 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
.