--- C:\Dokumente und Einstellungen\Habacker.NIS-ENTWICKLUNG\Lokale Einstellungen\Temp\network.pro-revBASE.svn000.tmp.pro	Mon Apr 02 16:25:40 2007
+++ C:\Qt\qtwin-4\src\network\network.pro	Mon Apr 02 16:24:54 2007
@@ -53,7 +53,18 @@
 
 # OpenSSL support; compile in QSslSocket.
 contains(QT_CONFIG, openssl) {
-    include($$QT_SOURCE_TREE/config.tests/unix/openssl/openssl.pri)
+    win32 {
+       OPENSSL_INSTALL_DIR=$$(OPENSSLDIR)   
+       isEmpty(OPENSSL_INSTALL_DIR) {
+           OPENSSL_INSTALL_DIR = "$$(PROGRAMFILES)/openssl"
+           message("OPENSSLDIR not specified. Using $$OPENSSL_INSTALL_DIR")
+       }
+       message("Using $$OPENSSL_INSTALL_DIR")
+       INCLUDEPATH += $$OPENSSL_INSTALL_DIR/include
+       win32-msvc*:LIBS += $$OPENSSL_INSTALL_DIR/lib/ssleay32MD.lib $$OPENSSL_INSTALL_DIR/lib/libeay32MD.lib
+       win32-g++:LIBS += -L\"$$OPENSSL_INSTALL_DIR/lib\" -lssleay32 -leay32
+    }
+    else:include($$QT_SOURCE_TREE/config.tests/unix/openssl/openssl.pri)
 
     HEADERS += qsslcertificate.h \
                qsslcertificate_p.h \
