Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat | DONATE
Step-by-step to debug (not just compile) Gideros Player with Qt Creator on OSX? — Gideros Forum

Step-by-step to debug (not just compile) Gideros Player with Qt Creator on OSX?

edited October 2014 in General questions
I am trying to do that, because my game is crashy, and you suggested me to do that to see why it is crashing...

But I am failing miserably, Qt Creator does not even compile example projects... Seemly it dislikes Xcode 6 and you must use Xcode 5 or something...

So, can someone put a step by step here? When you are short in time and trial-and-error involves downloading 3gb files this is not something I can just go trying to fix by brute force...
I make games for children: http://www.kidoteca.com

Comments

  • I think your best bet is to follow the wiki instructions here:

    http://giderosmobile.com/DevCenter/index.php/Build_Gideros_On_Mac

    It involves building everything from the the scripts in the /scripts folder. However, on a Mac, you'll likely run in to some issues (as I did). If you're like me and grabbed the latest QT, you'll have to make a couple of changes to the Player source code. It's really simple, however, and just involves changing where it looks for some #include files; something about changing some QTGui references to QTWidgets, or something.

    I suggest going the script route at first, because the scripts build a lot of libraries that the Player depends on in order to build in the first place. After that, you'll be able to load the Player project in QT and compile and run from there.
  • You may also have to modify a QT project file or two if you have Lua 5.2 installed on your machine, as Gideros will only build with 5.1. The Gideros source comes with 5.1, but I think it's the Player project that is set up in such a way that it can look for the headers in the wrong folder first. That's also a simple fix, but if you can run the scripts, search your terminal for any "error:" references, we can tackle those as they come up. I've run in to a lot of these on my way to a working build; chances are I've seen them.
  • I am trying to follow those instructions...

    Then try running first build script, to build QT libs
    qt5/buildqtlibs.sh

    Where is the qt5 folder? I am stuck at this step, and I still cannot build on my own...
    I make games for children: http://www.kidoteca.com
  • It's in the /scripts folder. Also, it's important to run the script from within the /scripts folder, as opposed to within the qt5 folder, else the relative path references in the scripts won't work right.
  • Not that it would not matter, I noticed the scripts DON'T have relative path, it is all hardcoded, and they don't work (example: scripts try to run QT from /qt )
    I make games for children: http://www.kidoteca.com
Sign In or Register to comment.