Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Need help on compiling GUI APP for sonic pi

Need help on compiling GUI APP for sonic pi

Scheduled Pinned Locked Moved Mobile and Embedded
2 Posts 2 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    amodayus
    wrote on last edited by
    #1

    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:

    http://pastebin.com/LeBmTbwx

    Here is the code:

    http://pastebin.com/KPJY7Ca1

    I appreciate any help.

    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      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.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved