Details
-
Suggestion
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
Description
Using qt_add_qml_module() to generate a static library can generate warnings about something that's a non-issue:
.../usr/bin/ranlib: file: qml/libmyqmlmoduleplugin.a(mocs_compilation.cpp.o) has no symbols
Suggestion
Let the CMake QML API automatically add the "-no_warning_for_no_symbols" flag
See also (other places which use this flag)