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

Reply via email to