Project file specifies CONFIG += debug_and_release but I can only build in release. What Gives?
What else do I need to do in order to get my project to allow me to build in debug mode?
- Qt Creator 2.4.0
- Built on Dec 20 2011 at 11:14:33
- From revision b0b0842b03
- Copyright 2008-2011 Nokia Corporation. All rights reserved.
And my project file is as follows:
- #-------------------------------------------------
- #
- # Project created by QtCreator 2011-08-31T13:11:51
- #
- #-------------------------------------------------
- QT += core gui opengl
- TEMPLATE = app
- CONFIG += debug_and_release
- CONFIG(debug, debug|release){
- TARGET = ArcGISQtTestApp
- }
- else{
- TARGET = ArcGISQtTestApp
- }
- QMAKE_CXXFLAGS += -Wunknown-pragmas
- QMAKE_TARGET.arch = x86_64
- RUNTIME_DIR = ../../../..
- $${RUNTIME_DIR}/include \
- $${RUNTIME_DIR}/Runtime/Core/Map \
- $${RUNTIME_DIR}/Runtime/Core/Map/GraphicsPipeline \
- $${RUNTIME_DIR}/Runtime/Core/Map/GraphicsPipeline/LowLevelRenderer \
- $${RUNTIME_DIR}/Runtime/Core/Common/Include \
- $${RUNTIME_DIR}/Runtime/Core/Skia/include/core \
- $${RUNTIME_DIR}/Runtime/Core/Skia/include/config \
- $${RUNTIME_DIR}/Runtime/Core/libxml2/include \
- $${RUNTIME_DIR}/SharedArcGIS/Include/System/Geometry/GeometryXLib \
- $${RUNTIME_DIR}/SharedArcGIS/Include/GraphicsPipeline/Display/SymbolX/SymbolXLib \
- unix:DEFINES += ARCGISQT_LIBRARY \
- LINUXx86 \
- NATIVECOMPILE \
- PE_USE_CLASS_CONSTANTS \
- _USE_MATH_DEFINES \
- SK_SCALAR_IS_FLOAT \
- SK_BUILD_FOR_UNIX \
- SK_ENABLE_LIBPNG \
- fdatasync=fsync \
- SQLITE_THREADSAFE=1 \
- SQLITE_ENABLE_RTREE=1 \
- SQLITE_DEFAULT_FILE_FORMAT=4 \
- LIBS += \
- -L$${RUNTIME_DIR}/bin \
- LIBS += -lQtRuntimeCore \
- -lArcGISQt \
- -lpe \
- -lpe++ \
- -lsg
- SOURCES += main.cpp\
- MainWindow.cpp
- HEADERS += MainWindow.h
4 replies
You must log in to post a reply. Not a member yet? Register here!
