aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/v8/v8.pri
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2011-10-12 08:26:22 +0200
committerQt by Nokia <qt-info@nokia.com>2011-10-17 12:20:11 +0200
commit7fa3aa4d48c3b7d9bf17b6135bc6bdeb62e899d2 (patch)
treee5dfde8932ae195d5f1d60e34afaa7f9a27410de /src/declarative/qml/v8/v8.pri
parentcbedc09b7c28c178813371a6cf9c0e7de58f96cc (diff)
Clean up declarative includes
(This commit is in preparation of moving several files to a separate library (QtQuick2).) Don't add all subfolders to the includepath (from the .pri files). There's no good reason to do that. For headers (both public and private) that are in the same folder as the file that includes them, prefer to use #include "foo.h" #include "bar_p.h" For public headers that are outside the current folder but have "unambiguous" names (e.g. qdeclarative prefix), use #include <foo.h> For private headers that are outside the current folder, use #include <private/baz_p.h> Also change #include <QtDeclarative/private/foo_p.h> to #include <private/foo_p.h> The header filenames already have a qdeclarative or qsg prefix; there's no need to prefix by module name to disambiguate. Finally, #include "private/foo_p.h" should be avoided. private/ is used for auto-generated (forwarding) headers, which never reside in the current (source) directory. Use angle brackets instead. Change-Id: I04f8477fdba043546064ee276475c09dc373f8f2 Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@nokia.com>
Diffstat (limited to 'src/declarative/qml/v8/v8.pri')
-rw-r--r--src/declarative/qml/v8/v8.pri1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/v8/v8.pri b/src/declarative/qml/v8/v8.pri
index 104f34fd25..c4372ab82a 100644
--- a/src/declarative/qml/v8/v8.pri
+++ b/src/declarative/qml/v8/v8.pri
@@ -1,5 +1,4 @@
INCLUDEPATH += $$PWD/../../../3rdparty/javascriptcore
-INCLUDEPATH += $$PWD
include(script.pri)