diff options
author | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-11-04 14:41:05 +0100 |
---|---|---|
committer | Richard Moe Gustavsen <richard.gustavsen@theqtcompany.com> | 2015-11-23 08:04:59 +0000 |
commit | 04695c7a91bf2b7372bb5de5f8e0b5d6f7278f67 (patch) | |
tree | 70a413aeb1fc008e5d9f56ffff4b987e0391d11f /mkspecs | |
parent | dbb7817e13bc7f7ccb8f04b00a65eb3dcf8d25f8 (diff) |
qmake: add plugin import source files into GENERATED_SOURCES
The files are automatically generated, so that's where they
belong. This makes a small cosmetic difference when generating
Xcode projects, since then the files will be grouped under
a different folder in the project explorer, separate from user
sources.
Change-Id: Ic2599ccb3008635e76ae467eec80f2b9e5ca838e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@theqtcompany.com>
Diffstat (limited to 'mkspecs')
-rw-r--r-- | mkspecs/features/qt.prf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index dfff6cc091..4ef93af2e9 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -235,7 +235,7 @@ contains(qt_module_deps, qml): \ } QML_IMPORT_CPP = $$OUT_PWD/$$lower($$basename(TARGET))_qml_plugin_import.cpp write_file($$QML_IMPORT_CPP, IMPORT_FILE_CONT)|error("Aborting.") - SOURCES += $$QML_IMPORT_CPP + GENERATED_SOURCES += $$QML_IMPORT_CPP QMAKE_DISTCLEAN += $$QML_IMPORT_CPP # copy qml files. this part is platform spesific. @@ -331,7 +331,7 @@ contains(QT_CONFIG, static) { } IMPORT_CPP = $$OUT_PWD/$$lower($$basename(TARGET))_plugin_import.cpp write_file($$IMPORT_CPP, IMPORT_FILE_CONT)|error("Aborting.") - SOURCES += $$IMPORT_CPP + GENERATED_SOURCES += $$IMPORT_CPP QMAKE_DISTCLEAN += $$IMPORT_CPP } } |