summaryrefslogtreecommitdiffstats
path: root/examples/painting/svggenerator
diff options
context:
space:
mode:
authorMark Brand <mabrand@mabrand.nl>2011-01-06 12:51:55 (GMT)
committerOswald Buddenhagen <oswald.buddenhagen@nokia.com>2011-01-06 12:54:02 (GMT)
commit7ee36ca4cf6359ade995e974abd2adfcf4dc7612 (patch)
tree40321fb5e49626903aed96c1bfc61c15eb828444 /examples/painting/svggenerator
parentd09806a6148bf84bc108eb26b193490c2229ca74 (diff)
downloadQt-7ee36ca4cf6359ade995e974abd2adfcf4dc7612.zip
Qt-7ee36ca4cf6359ade995e974abd2adfcf4dc7612.tar.gz
Qt-7ee36ca4cf6359ade995e974abd2adfcf4dc7612.tar.bz2
fix include path
In many situations building succeeds without explicity including this dir in the include path, probably due to a side-effect of calling uic on the form in this project. However, it is known to fail at least on mingw-cross-env. Anyway, it makes sense to explcitly add this dir to the include path since a needed header resides here. Merge-request: 1016 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
Diffstat (limited to 'examples/painting/svggenerator')
-rw-r--r--examples/painting/svggenerator/svggenerator.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/painting/svggenerator/svggenerator.pro b/examples/painting/svggenerator/svggenerator.pro
index e0e4895..2e67372 100644
--- a/examples/painting/svggenerator/svggenerator.pro
+++ b/examples/painting/svggenerator/svggenerator.pro
@@ -8,6 +8,8 @@ SOURCES = displaywidget.cpp \
QT += svg
+INCLUDEPATH += $$PWD
+
# install
target.path = $$[QT_INSTALL_EXAMPLES]/painting/svggenerator
sources.files = $$SOURCES $$HEADERS $$RESOURCES $$FORMS svggenerator.pro