After a couple of tries I finally managed to compile this with a recent QT / mingw setup on Windows 7. Probably someone else wants to do this so some tipps:
install msys and add to path, but "rename" sh.exe - it will raise strange error messages
check additional sh.exe located at your path (e.G. from git) and rename them as well
sqrt / pow could not be resolved. I replaced them by Qt-ones (qSqrt, qPow), you need to include QtCore/QtMath for this
seems my mingw installation does not like inlined members, I had to remove a lot of declarations in GtWorlddata and in gtdownload.cpp "memText (qint64)"
I'll have a deeper look into those inline-errors, maybe just wrong setup. Either way you should adept those two math functions to Qt-pedants - less dependecy to runtime.
Best regards,
Martin
Last edit: rebouny 2014-10-04
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I had the same problem with the inline members on a Linux Setup. I had to change a lot too and after a while compiling with the QT-Creator worked like a charm.
The main problem for me was the QT version. I had a newer version then Pete used in his setup and he used methods which are deprecated in the newer versions (or totally missing^^)
But there are still some problems with the "color dialog" by Petes solution. I replaced it with the standard QTColorDialog.
I need to review my build on Windows. I am sure I had the same problems there too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The Tool is released with binaries of Qt 5.2.0. All sources compile well with this version under msvc-2008 on my computer.
Of course you can use whatever Qt-Version you like for your own development but I recommend to use v5.2.0. A switch to another Qt-Version in the release requires a major update of nearly everything. That is someting I would leave aside or at least spare it for the development of the next generation of the tool ;). Further, I don't see any improvement of relevant functionality in Qts newer versions that would let me consider an update of my development environment.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
After a couple of tries I finally managed to compile this with a recent QT / mingw setup on Windows 7. Probably someone else wants to do this so some tipps:
I'll have a deeper look into those inline-errors, maybe just wrong setup. Either way you should adept those two math functions to Qt-pedants - less dependecy to runtime.
Best regards,
Martin
Last edit: rebouny 2014-10-04
I had the same problem with the inline members on a Linux Setup. I had to change a lot too and after a while compiling with the QT-Creator worked like a charm.
The main problem for me was the QT version. I had a newer version then Pete used in his setup and he used methods which are deprecated in the newer versions (or totally missing^^)
But there are still some problems with the "color dialog" by Petes solution. I replaced it with the standard QTColorDialog.
I need to review my build on Windows. I am sure I had the same problems there too.
I'm using Qt 5.32 with mingw 4.8.2
The Tool is released with binaries of Qt 5.2.0. All sources compile well with this version under msvc-2008 on my computer.
Of course you can use whatever Qt-Version you like for your own development but I recommend to use v5.2.0. A switch to another Qt-Version in the release requires a major update of nearly everything. That is someting I would leave aside or at least spare it for the development of the next generation of the tool ;). Further, I don't see any improvement of relevant functionality in Qts newer versions that would let me consider an update of my development environment.