I don't know what it was. But I much times deleted build directory and .user file. And again and again tried to build project with the same symptoms. And I saw that all that times in .user file
<value type="QString" key="BuildTargetSdk">android--1</value> was. But after the next turn. QtCreator generated correct .user file with <value type="QString" key="BuildTargetSdk">android-21</value> and all became ok. What was it? Where from QtCreator takes BuildTargetSdk value. As I understand all that failed times some tool returns -1. What is that tool? Thanks. On Tue, 10 Feb 2015 12:30:27 +0300, Igor Mironchik <igor.mironc...@gmail.com> wrote: > Hi. I ran into a problem. > > When building project for Android target, build doesn't make moc for a > cpp file and compilation failed. > > In that cpp I have Q_OBJECT and #include "messagebox.moc" > > In Makefile generated I have: > > mocables: compiler_moc_header_make_all compiler_moc_source_make_all > > compiler_moc_source_make_all: .moc\messagebox.moc > > But I got: > > ..\..\..\Mobile\QtMWidgets\src\messagebox.cpp:622:26: fatal error: > messagebox.moc: No such file or directory > #include "messagebox.moc" > ^ > compilation terminated. > > How can I fix it? Thank you. > -- Best Regards, Igor Mironchik. _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest