Need help on compiling GUI APP for sonic pi
-
Hello everyone. I know nothing about Qt development but if you would be so kind to help me in these bugs i'm facing...
When I compile sonic-pi I get these warnings:
Here is the code:
I appreciate any help.
Thanks
-
Hi and welcome to devnet,
These error are not Qt related. You main function is not declared correctly
it
@int main(int argc, char *argv[])
{
QApplication app(argc, argv);
// your code
return app.exec();
}@The other warnings tell you that the code is fishy. You have functions that should return something but you don't return anything. The warning about "parent" says that you are using a variable named parent that you did not initialize which will lead you to crashes in your case.