Um die Funktion von QIcon::fromTheme() unter Linux zu testen wollte ich das Projekt unter Kubuntu compiliert. Aber was unter windows fehlerfrei ablief, gab unter Kubuntu den error: [moc mainwindow.cpp] Fehler 1 aus.
moc: Too many input files specified
Usage: moc [options] <header-file>
-o<file> write output to file rather than stdout
-I<dir> add dir to the include path for header files
-E preprocess only; do not generate meta object code
-D<macro>[=<def>] define macro, with optional definition
-U<macro> undefine macro
-i do not generate an #include statement
-p<path> path prefix for included file
-f[<file>] force #include, optional file name
-nw do not display warnings
@<file> read additional options from file
-v display version of moc