I think we need to start from zero, because something is clearly wrong with what you are doing now.
Please write and run these two programs. You can simply comment out the lines in your current main.cpp and replace them with these lines:
#include <QtWidgets/QApplication>
#include "RaptorCoreGUI.h"
int main(int argc, char *argv[])
{
RaptorCoreGUI w;
w.show();
return a.exec();
}
#include <QtWidgets/QApplication>
#include "RaptorCoreGUI.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
RaptorCoreGUI w;
w.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
#include <QtWidgets/QApplication>
#include "RaptorLrsGUI.h"
int main(int argc, char *argv[])
{
RaptorLrsGUI w;
w.show();
return a.exec();
}
#include <QtWidgets/QApplication>
#include "RaptorLrsGUI.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
RaptorLrsGUI w;
w.show();
return a.exec();
}
To copy to clipboard, switch view to plain text mode
In each case, do you see the windows you expect to see?
Bookmarks