Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Building with no ssl fails #159

Closed
arietto opened this issue Nov 30, 2018 · 1 comment
Closed

Building with no ssl fails #159

arietto opened this issue Nov 30, 2018 · 1 comment

Comments

@arietto
Copy link

arietto commented Nov 30, 2018

Cannot build cutelyst out-of-the-box in Windows (Note that I built Qt 5.11.2 by myself without SSL support).
Commit ad23f00 at master branch.
I had to add #include <qtnetwork-config.h> at the beginning of wsgi\tcpsslserver.h in order to have a successful build.

The header qtnetwork-config.h is situated in QtNetwork subdirectory. Its contents:
#define QT_FEATURE_networkinterface 1
#define QT_FEATURE_bearermanagement 1
#define QT_FEATURE_dnslookup 1
#define QT_FEATURE_ftp 1
#define QT_NO_GETIFADDRS
#define QT_FEATURE_http 1
#define QT_NO_IPV6IFNAME
#define QT_FEATURE_localserver 1
#define QT_FEATURE_networkdiskcache 1
#define QT_FEATURE_networkproxy 1
#define QT_NO_OPENSSL true
#define QT_FEATURE_opensslv11 -1
#define QT_FEATURE_sctp -1
#define QT_NO_SCTP
#define QT_FEATURE_socks5 1
#define QT_FEATURE_ssl -1
#define QT_NO_SSL
#define QT_FEATURE_udpsocket 1

@dantti
Copy link
Member

dantti commented Nov 30, 2018

would you mind doing a PR?

arietto pushed a commit to arietto/cutelyst that referenced this issue Nov 30, 2018
arietto pushed a commit to arietto/cutelyst that referenced this issue Nov 30, 2018
arietto pushed a commit to arietto/cutelyst that referenced this issue Nov 30, 2018
dantti pushed a commit that referenced this issue Nov 30, 2018
dantti pushed a commit that referenced this issue Nov 30, 2018
dantti pushed a commit that referenced this issue Nov 30, 2018
buildroot-auto-update pushed a commit to buildroot/buildroot that referenced this issue Mar 4, 2019
Commit c110e48 disabled openssl support
on QT 5.6, this has the side-effect of breaking the build of cutelyst
because cutelyst does not manage build with QT_NO_SSL, see:
cutelyst/cutelyst#159

This bump fixes the issue by bumping cutelyst to version 2.7.0 and by
removing the uneeded select on BR2_PACKAGE_OPENSSL

Fixes:
 - http://autobuild.buildroot.org/results/4299221429713ace25fc234abeb81697bc410647

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants