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>
This commit is contained in:
parent
4108bfb47c
commit
dee557c8aa
@ -128,7 +128,7 @@ contains(qt_module_deps, qml): \
|
|||||||
QML_IMPORT_CPP = $$OUT_PWD/$$lower($$basename(TARGET))_qml_plugin_import.cpp
|
QML_IMPORT_CPP = $$OUT_PWD/$$lower($$basename(TARGET))_qml_plugin_import.cpp
|
||||||
write_file($$QML_IMPORT_CPP, IMPORT_FILE_CONT)|error("Aborting.")
|
write_file($$QML_IMPORT_CPP, IMPORT_FILE_CONT)|error("Aborting.")
|
||||||
SOURCES += $$QML_IMPORT_CPP
|
SOURCES += $$QML_IMPORT_CPP
|
||||||
QMAKE_CLEAN += $$QML_IMPORT_CPP
|
QMAKE_DISTCLEAN += $$QML_IMPORT_CPP
|
||||||
|
|
||||||
# copy qml files. this part is platform spesific.
|
# copy qml files. this part is platform spesific.
|
||||||
mac {
|
mac {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user