diff options
author | Kai Koehne <kai.koehne@digia.com> | 2014-06-25 10:44:54 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@digia.com> | 2014-06-26 11:18:55 +0200 |
commit | dee557c8aa69c51a80ed19f71476def61a868213 (patch) | |
tree | a504cf30b84572fed26c0f930c17c82aa32b0c11 /mkspecs/features | |
parent | 4108bfb47c058c415c43bd838248fa738a086ebe (diff) |
Delete qml_plugin_import.cpp file only during distclean
For static builds of Qt Quick apps, qmake generates a qml_plugin_import.cpp
file. Just like the Makefiles, it should be removed only for distclean,
not in the clean step. This is what we do for non-qml plugins, too.
Change-Id: I5a3f2e7d27c3ffd5161162a8a03e4dd9c9245af5
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'mkspecs/features')
-rw-r--r-- | mkspecs/features/qt.prf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf index f8ba3c58b2..9edf5cd530 100644 --- a/mkspecs/features/qt.prf +++ b/mkspecs/features/qt.prf @@ -128,7 +128,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 - QMAKE_CLEAN += $$QML_IMPORT_CPP + QMAKE_DISTCLEAN += $$QML_IMPORT_CPP # copy qml files. this part is platform spesific. mac { |