[PySide] QSslSocket in Linux

Mike Owen mjnowen at gmail.com
Fri Jul 5 13:30:09 CEST 2013


Hi Erik,
Have you seen these pages?
http://around-the-corner.typepad.com/adn/2012/10/building-qt-pyqt-pyside-for-maya-2013.html
http://images.autodesk.com/adsk/files/pyqtmaya2013.pdf
Mike


On 5 July 2013 12:00, Erik Johansson <erik.johansson at fido.se> wrote:

> Hi again list
>
>
> I have been compiling Qt and PySide for use with autodesk maya in linux
> but can't seem to get QSslSocket and ssl support working. It works in osx
> and windows.
>
> Qt is build with
> ./configure -separate-debug-info -no-rpath -no-qt3support -no-phonon
> -no-phonon-backend -openssl-linked
>
> and openssl is found during build.
>
> When configuring pyside i see:
> -- Found OpenSSL: /usr/lib64/libssl.so
> and:
> -- Checking for QSslCertificate in QtNetwork -- found
> -- Checking for QSslCipher in QtNetwork -- found
> -- Checking for QSslConfiguration in QtNetwork -- found
> -- Checking for QSslError in QtNetwork -- found
> -- Checking for QSslKey in QtNetwork -- found
> -- Checking for QSslSocket in QtNetwork -- found
>
> But when import QtNetwork and printing out dir(QtNetwork) this is the
> result:
>
> ['QAbstractNetworkCache', 'QAbstractSocket', 'QAuthenticator', 'QFtp',
> 'QHostAddress', 'QHostInfo', 'QHttp', 'QHttpHeader', 'QHttpRequestHeader',
> 'QHttpResponseHeader', 'QIPv6Address', 'QLocalServer', 'QLocalSocket',
> 'QNetworkAccessManager', 'QNetworkAddressEntry', 'QNetworkCacheMetaData',
> 'QNetworkConfiguration', 'QNetworkConfigurationManager', 'QNetworkCookie',
> 'QNetworkCookieJar', 'QNetworkDiskCache', 'QNetworkInterface',
> 'QNetworkProxy', 'QNetworkProxyFactory', 'QNetworkProxyQuery',
> 'QNetworkReply', 'QNetworkRequest', 'QNetworkSession', 'QSsl',
> 'QTcpServer', 'QTcpSocket', 'QUdpSocket', 'QUrlInfo', '__doc__',
> '__file__', '__name__', '__package__']
>
>
> and upon trying to visit an page with https the application crashes.
>
>
> If anyone got some ideas or knows if its some known bug please let me know.
>
>
> Cheers,
>
> Erik
>
> _______________________________________________
> PySide mailing list
> PySide at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/pyside
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20130705/cad2f17d/attachment.html>


More information about the PySide mailing list