Commit 6887d28e authored by Friedemann Kleint's avatar Friedemann Kleint

Botan: Do not link against QtCore, QtGui.

Clear the QT variable and pass the include paths for QtCore
such that QtGlobal is still found.
This makes it possible to build Qt Creator in debug mode on
Windows since the .pro-file additionally specifies 'release',
which causes link errors (QtCore4.lib, QtGui4.lib not found
in debug builds).

Change-Id: I75bcd00cd6f7b598972dca5e3d969949d325e3f6
Reviewed-by: default avatarOswald Buddenhagen <oswald.buddenhagen@nokia.com>
Reviewed-by: default avatarChristian Kandeler <christian.kandeler@nokia.com>
parent 4893dd39
......@@ -3,6 +3,7 @@ TARGET = Botan
PRECOMPILED_HEADER = ../precompiled_headers/botan_pch.h
QT =
CONFIG += exceptions
CONFIG += release
......@@ -10,7 +11,7 @@ CONFIG -= debug debug_and_release
include(../../../qtcreatorlibrary.pri)
DEPENDPATH += .
INCLUDEPATH += .
INCLUDEPATH += . $$[QT_INSTALL_HEADERS] $$[QT_INSTALL_HEADERS]/QtCore
DEFINES += BOTAN_DLL=Q_DECL_EXPORT
unix:DEFINES += BOTAN_TARGET_OS_HAS_GETTIMEOFDAY BOTAN_HAS_ALLOC_MMAP \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment