Commit 41a24ade authored by hjk's avatar hjk

Debugger: Make manual tests compilable without Qt Script.

Change-Id: I9464ce8dfc22e107c8f97a139092f0a9a338bbf2
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 07f80f6d
......@@ -7,6 +7,8 @@ exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += HAS_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += HAS_BOOST
exists(/usr/include/eigen2/Eigen/Core): DEFINES += HAS_EIGEN
!isEmpty(QT.script.name): DEFINES += HAS_SCRIPT
*g++* {
DEFINES += USE_CXX11
QMAKE_CXXFLAGS += -std=c++0x
......
......@@ -112,10 +112,8 @@
#define USE_EIGEN 1
#endif
#ifdef QT_SCRIPT_LIB
#ifdef HAS_SCRIPT
#define USE_SCRIPTLIB 1
#else
#define USE_SCRIPTLIB 0
#endif
#ifdef QT_WEBKIT_LIB
......
......@@ -6,9 +6,8 @@ DESTDIR = .
SOURCES += simple_test_app.cpp
QT += network
QT += script
QT += xml
QT += network xml
!isEmpty(QT.script.name): QT += script
CONFIG += c++11
......
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