Project

General

Profile

Actions

Support #12055

open

Can hello-widget example be compiled by FastCGI?

Added by Lid Ned about 1 year ago. Updated about 1 year ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/17/2023
Due date:
% Done:

0%

Estimated time:

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?

Actions #1

Updated by Lid Ned about 1 year ago

Sorry second variable should have been CONNECTOR_HTTP: OFF

Actions #2

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
Actions #3

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.

Actions

Also available in: Atom PDF