From dee557c8aa69c51a80ed19f71476def61a868213 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Wed, 25 Jun 2014 10:44:54 +0200 Subject: 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 --- mkspecs/features/qt.prf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 { -- cgit v1.2.3