I assume the plugin simply arranges to run the [B]uic[B] command over the *.ui files in your project, adding the resulting source files to the project (just like qmake does for the rest of us). If you are getting empty *.cpp/*.h files then my guess (and it is only a guess) is that you have broken the *.ui file.
Is the *.ui file zero sized? Valid XML? What do you get when you run uic over the *.ui file? C++ code like this:
$ uic test.ui
/********************************************************************************
** Form generated from reading UI file 'test.ui'
**
...
QT_END_NAMESPACE
#endif // UI_TEST_H
$ uic test.ui
/********************************************************************************
** Form generated from reading UI file 'test.ui'
**
...
QT_END_NAMESPACE
#endif // UI_TEST_H
To copy to clipboard, switch view to plain text mode
or something like this:
$ uic test.ui
uic: Error in line 1, column 0 : Premature end of document.
File 'fuck.ui' is not valid
$ uic test.ui
uic: Error in line 1, column 0 : Premature end of document.
File 'fuck.ui' is not valid
To copy to clipboard, switch view to plain text mode
Bookmarks