Qt5 User Interface Compiler: -i option not available
问题 I created a .ui file (myform.ui) using QtDesigner and I would like to create the corresponding header (myform.h) and implementation (myform.cpp) file. Now I can create the header file (myform.h) with the following command on Linux: uic mainwindow.ui -o mainwindow.h An older answer on StackExchange (here) suggested using the following command to create the implementation file (myform.cpp): uic -i mainwindow.h -o mainwindow.cpp mainwindow.ui However, the command option -i doesn't seem to be