Commit 78930b33 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Fix tests compilation



* CPlusPlusForwardDeclarations.h not found
* Valgrind tests that include botan missing -ldl.
  botan is not required for them (they link just fine without it).

Change-Id: I279b03990ad36d01c93700d50ae8e5119bf5be80
Reviewed-by: default avatarAndré Hartmann <aha_1980@gmx.de>
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent f82b6b12
QTC_LIB_DEPENDS += utils ssh QTC_LIB_DEPENDS += utils ssh
include(../../../../qtcreator.pri) include(../../../../qtcreator.pri)
include(../../qttestrpath.pri) include(../../qttestrpath.pri)
include($$IDE_SOURCE_TREE/src/libs/3rdparty/botan/botan.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri) include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
TEMPLATE = app TEMPLATE = app
......
QTC_LIB_DEPENDS += utils ssh QTC_LIB_DEPENDS += utils ssh
include(../../qttest.pri) include(../../qttest.pri)
include($$IDE_SOURCE_TREE/src/libs/3rdparty/botan/botan.pri)
include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri) include($$IDE_SOURCE_TREE/src/plugins/valgrind/valgrind_test.pri)
TARGET = tst_parsertests TARGET = tst_parsertests
......
...@@ -40,7 +40,7 @@ namespace CPlusPlus { ...@@ -40,7 +40,7 @@ namespace CPlusPlus {
class Lexer; class Lexer;
class Token; class Token;
class CPLUSPLUS_EXPORT StringRef class StringRef
{ {
const char *_text; const char *_text;
unsigned _size; unsigned _size;
......
...@@ -9,6 +9,7 @@ macx { ...@@ -9,6 +9,7 @@ macx {
} }
include(../../../src/libs/3rdparty/cplusplus/cplusplus.pri) include(../../../src/libs/3rdparty/cplusplus/cplusplus.pri)
INCLUDEPATH += ../../../src/libs/3rdparty/cplusplus
# Input # Input
HEADERS += Preprocessor.h HEADERS += Preprocessor.h
......
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