qt.preprocess: Output warning if a .cpp / .cc file is passed as moc_headers
instead of 'moc_sources`.
#2563
Labels
moc_headers
instead of 'moc_sources`.
#2563
Currently passing a .cpp file as header just silently does the wrong thing (i.e. tries to compile the result of the moc run standalone). It would be nice to point the user to the right way to fix the problem (use
moc_sources
) with a warning.The text was updated successfully, but these errors were encountered: