I have the very simple following code:
main.cpp
#include \"ui_library_browser.h\" #include #include \"StartWindow.h\" int
Do you use StartWindow in MainWindow? If not, simply remove the StartWindow.h include. Otherwise make the main_window a pointer instead of a variable.