Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Need help on compiling GUI APP for sonic pi
amodayus last edited by
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.
Hi and welcome to devnet,
These error are not Qt related. You main function is not declared correctly
@int main(int argc, char *argv)
QApplication app(argc, argv);
// your code
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.