bvschaik / citybuilding-tools

Tools for the Citybuilding games made by Impressions Games/BreakAway Games
MIT License
34 stars 7 forks source link

Update for Qt5 #6

Open Vinorcola opened 4 years ago

Vinorcola commented 4 years ago

Upgrade to Qt5.

Give a clean in #include directives.

bvschaik commented 4 years ago

Thanks for doing the upgrade. I have one question though: how can we create a single executable including all Qt dependencies using Qt5, while also keeping the .exe size small enough? With Qt4, I compiled a stripped-down version of Qt statically into the .exe. Since I distribute single .exe files (for ease of use) this is a rather important point.

Vinorcola commented 4 years ago

Ooops, I did not intend to make the pull request to your repository yet.

I wanted to keep it from my repo. I intend to enhance your fabulous tools to ease the image extraction for my project (https://github.com/Vinorcola/CityBuilderEngine).

Anyway, if you're interested to this update, I'm afraid I cannot give you an anwser now. I'm more a PHP/Javascript developper who sometimes enjoy writing some C++. So I'm not very competent in term of build, library, static linking, etc. I do not really understand it all well yet.

Vinorcola commented 3 years ago

Hi there, I know it is possible to compile Qt5 program in static mod: https://wiki.qt.io/Building_a_static_Qt_for_Windows_using_MinGW

However, I have not been abble to follow the explain step. The compilation does not work in my end.

If someone competent enough to ensure that this is possible, can he/she please help with a protocol here?

Thanks all lot.