Don't use relative paths in tinyxml.pri.
Using relative path in included file binds it to be usable only included from one directory. Instead use variable for giving the base path for files.
This commit is contained in:
parent
b6391b2427
commit
a60b933ac7
|
@ -6,6 +6,7 @@ OBJECTS_DIR = temp
|
|||
CONFIG += warn_on
|
||||
CONFIG -= qt app_bundle
|
||||
|
||||
BASEPATH = ../externals/tinyxml/
|
||||
include($$PWD/../externals/tinyxml/tinyxml.pri)
|
||||
include($$PWD/../lib/lib.pri)
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
|
||||
HEADERS += ../externals/tinyxml/tinystr.h \
|
||||
../externals/tinyxml/tinyxml.h
|
||||
SOURCES += ../externals/tinyxml/tinystr.cpp \
|
||||
../externals/tinyxml/tinyxml.cpp \
|
||||
../externals/tinyxml/tinyxmlerror.cpp \
|
||||
../externals/tinyxml/tinyxmlparser.cpp
|
||||
HEADERS += $${BASEPATH}tinystr.h \
|
||||
$${BASEPATH}tinyxml.h
|
||||
SOURCES += $${BASEPATH}tinystr.cpp \
|
||||
$${BASEPATH}tinyxml.cpp \
|
||||
$${BASEPATH}tinyxmlerror.cpp \
|
||||
$${BASEPATH}tinyxmlparser.cpp
|
||||
|
|
Loading…
Reference in New Issue