mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Improve Makefile rules for running moc
The previous rules were conflicting, and the naming of the moc-generated file to be included in .cpp files was deviating from what's most used in Qt: the usual way is to #include "file.moc" and not #include "file.moc.cpp" Signed-off-by: Alberto Mardegan <mardy@users.sourceforge.net>
This commit is contained in:
parent
b5b14f1d95
commit
40e3671bd2
2 changed files with 11 additions and 6 deletions
|
@ -2394,4 +2394,4 @@ gdouble get_screen_dpi(void)
|
|||
return dpi_h;
|
||||
}
|
||||
|
||||
#include "qt-gui.moc.cpp"
|
||||
#include "qt-gui.moc"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue