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 += warn_on
|
||||||
CONFIG -= qt app_bundle
|
CONFIG -= qt app_bundle
|
||||||
|
|
||||||
|
BASEPATH = ../externals/tinyxml/
|
||||||
include($$PWD/../externals/tinyxml/tinyxml.pri)
|
include($$PWD/../externals/tinyxml/tinyxml.pri)
|
||||||
include($$PWD/../lib/lib.pri)
|
include($$PWD/../lib/lib.pri)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
HEADERS += ../externals/tinyxml/tinystr.h \
|
HEADERS += $${BASEPATH}tinystr.h \
|
||||||
../externals/tinyxml/tinyxml.h
|
$${BASEPATH}tinyxml.h
|
||||||
SOURCES += ../externals/tinyxml/tinystr.cpp \
|
SOURCES += $${BASEPATH}tinystr.cpp \
|
||||||
../externals/tinyxml/tinyxml.cpp \
|
$${BASEPATH}tinyxml.cpp \
|
||||||
../externals/tinyxml/tinyxmlerror.cpp \
|
$${BASEPATH}tinyxmlerror.cpp \
|
||||||
../externals/tinyxml/tinyxmlparser.cpp
|
$${BASEPATH}tinyxmlparser.cpp
|
||||||
|
|
Loading…
Reference in New Issue