Hello,
Everyday I use Gideros Studio and now it is open source.
I wanted to know how to edit the code, with which IDE and how to compile the source to an .exe or something else.
I have some basics in C, Java and Lua so I think this is possible for me to look at this.
https://github.com/gideros/giderosI have download this but I don't know what I have to do
Thank you everybody !
Comments
There are several scripts/batch files in scripts folder that take care of the compilation.
As prerequisites, you will need:
- Qt 5.4 (http://www.qt.io/)
- QScintilla to compile the studio (http://www.riverbankcomputing.com/software/qscintilla/download)
- Android-ndk, Android-sdk, Java and Ant to compile android packages
- Xcode and Xcode command line tools to compile iOS and Mac versions
You may need to change hardcoded paths in .bat/.sh files to suit your configuration.
Alternatively, I am trying to manage most of the compile process using a single Makefile.
You will need to change a few paths at the top of scripts/Makefile.gid (I will split those to a Makefile.def in next version).
Then a full windows/android build can be initiated with a single command run in gideros root directory:
Likes: SinisterSoft, papirosnik
Thank you for your quick answer.
First, I have installed Qt 5.4, dowloaded QScintilla and I already have the Android-SDK and Java. I just want to edit the Gideros Studio IDE then I think I don't need Android-NDK, Ant, Xcode, and Xcode command line tools.
According to the .bat/.sh I work on windows, so I think I just have to edit the .bat.
The .bat files are only in the /scripts folder ?
There is "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin\qtenv2.bat" and I have "C:\Qt\5.4\mingw491_32\bin\qtenv2.bat" so I think I just have to edit all the files ?
I don't understand : What is a Makefile.gid, I know what is a Makefile and make on Linux.
I try to compile an exemple project of QScintilla (example-Qt4Qt5/application.pro) :
Also I try to work with Qt Creator, build an run some exemple project and it works.
Thank you
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
The building process comes in two flavors: the .bat (on windows) or .sh (on mac) files. There are many of them taking care of building some parts of the system. You will probably have to change the toolchain path in each of them. I believe this is a pain too, but it is the way it was done at first, and still the way official releases are built ATM.
The second flavor I started to write is through a Makefile. The fact it is called Makefile.gid shoudn't stop you: it is really a regular Makefile, and it can be invoked with mingw32-make tool shipped with QT. Just specify the makefile name with -f switch.
Gideros just needs qscintilla to be installed. Just do (provided your Qt tools are in the path):
I think scintilla is installated.
Now, I rename the Qt folder to : "C:\Qt\Qt5.3.2\5.3\mingw482_32\bin" in my hardrive. I think this is quicker.
What do I have to do now ? I just want to build once the gideros sources folder to try if it work.
I tryed :
mingw32-make -f scripts/Makefile.gid
but I think it doesn't work well. Maybe my path isn't correctly set ?
The Gobb : https://play.google.com/store/apps/details?id=fr.toastapp.thegobb
This Makefile is still WIP (I used it on two machines succesfully though) so there may be a few tweaking to do to suit each config.