The first error is at ui_productsdialog.h:132 according to your first message, and since you didn't post that much of that file, I don't see how we can fix it for you. Maybe attach the files to a message rather than pasting them in the text?