Commit f10db97d authored by Allan Sandfeld Jensen's avatar Allan Sandfeld Jensen
Browse files

Improve Qt Creator indexing


Includes gn sources, headers and defines

Change-Id: I2abfb2c5238211a2305f6bdbcd082e832c048a2b
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@qt.io>
Showing with 17 additions and 9 deletions
...@@ -41,7 +41,7 @@ core_api.depends = gn_run ...@@ -41,7 +41,7 @@ core_api.depends = gn_run
# A fake project for qt creator # A fake project for qt creator
core_project.file = core_project.pro core_project.file = core_project.pro
core_project.depends = core_headers core_project.depends = gn_run
SUBDIRS += \ SUBDIRS += \
core_headers \ core_headers \
......
...@@ -5,8 +5,4 @@ TARGET = QtWebEngineCore ...@@ -5,8 +5,4 @@ TARGET = QtWebEngineCore
QT += qml quick webchannel QT += qml quick webchannel
QT_PRIVATE += quick-private gui-private core-private webenginecoreheaders-private QT_PRIVATE += quick-private gui-private core-private webenginecoreheaders-private
# Make QtCreator happy.
CHROMIUM_SRC_DIR = $$QTWEBENGINE_ROOT/$$getChromiumSrcDir()
INCLUDEPATH += $$CHROMIUM_SRC_DIR
qtHaveModule(positioning):QT += positioning qtHaveModule(positioning):QT += positioning
...@@ -130,9 +130,6 @@ icu.files = $$OUT_PWD/$$getConfigDir()/icudtl.dat ...@@ -130,9 +130,6 @@ icu.files = $$OUT_PWD/$$getConfigDir()/icudtl.dat
} }
OTHER_FILES = \ OTHER_FILES = \
$$files(../3rdparty/chromium/*.h, true) \
$$files(../3rdparty/chromium/*.cc, true) \
$$files(../3rdparty/chromium/*.mm, true) \
$$files(../3rdparty/chromium/*.py, true) \ $$files(../3rdparty/chromium/*.py, true) \
$$files(../3rdparty/chromium/*.gyp, true) \ $$files(../3rdparty/chromium/*.gyp, true) \
$$files(../3rdparty/chromium/*.gypi, true) \ $$files(../3rdparty/chromium/*.gypi, true) \
......
TEMPLATE = lib TEMPLATE = lib
# Fake project to make QtCreator happy.
include(core_chromium.pri) include(core_common.pri)
linking_pri = $$OUT_PWD/$$getConfigDir()/$${TARGET}.pri
!include($$linking_pri) {
error("Could not find the linking information that gn should have generated.")
}
CHROMIUM_SRC_DIR = $$QTWEBENGINE_ROOT/$$getChromiumSrcDir()
INCLUDEPATH += $$CHROMIUM_SRC_DIR \
$$OUT_PWD/$$getConfigDir()/gen
SOURCES += $$NINJA_SOURCES
HEADERS += $$NINJA_HEADERS
DEFINES += $$NINJA_DEFINES
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment