Closed retrobit closed 11 months ago
Your guess was right. I had never tried it with Qt6 on Windows. Here is some guidance for Qt5 + MinGW 7.3: https://github.com/Gemba/skyscraper/tree/master/win32
I recently ironed out some glitches for building/installing on win, you may try with latest main/HEAD.
Excellent, I will take a look. Thank you!
Are there build instructions for other platforms (*nix) as well? I am unable to find them.
Are there build instructions for other platforms (*nix) as well? I am unable to find them.
Thanks for highlighting, the README does not (yet) cover the development build. For the main/HEAD version on Debian based Linux distros it is like this:
sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools p7zip-full
git clone --depth 1 https://github.com/Gemba/skyscraper.git
cd skyscraper
make --ignore-errors clean
rm --force .qmake.stash
QT_SELECT=5 qmake
make -j$(nproc)
sudo make install
On rebuilding it is mostly the last two or three commands. Three only iff changes in skyscraper.pro
have been made.
For MacOS the script mentioned here should give you some hints.
Ah, I see. Yes, this link also is in the macOS section.
As for Windows 11 Pro 64-bit, I have it building with latest Qt 5.12.12, which is the latest that supports MinGW 7.3.0 64-bit for C++. This is through the latest Qt Creator 12.0.1 (Community) and qmake
.
I did have to fix how the handling of PowerShell commands is done, as it wasn't treating white space in the path as part of the path, but rather parsing it as a delimiter for another positional parameter in 'md' ('mkdir'). I will create a PR within the next day or two 😁
Created PR with all the dirty deets: https://github.com/Gemba/skyscraper/pull/16
Thanks for fixing it.
Was starting work on investigating this issue, but I need some guidance.
OS: Windows 11 (latest via Windows Update as of 12/31/2023) Qt: Desktop Qt 6.6.1 MinGW 64-bit Compiler: MinGW 11.2.0 64-bit for C++
Downloaded and installed Qt via latest online installer and default values. Immediately fails to build within Qt Creator with provided
skyscraper.pro
file with a"Qt requires a C++17 compiler"
error:Upon updating
skyscraper.pro
withCONFIG += release
toCONFIG += release c++17
, I get new errors, but far fewer, however they are within MinGW itself:Leaving me to suspect this project is built using a different compiler altogether.
I've checked the project documentation and have not found any project build instructions or contribution guidelines. I will gladly document these once I figure them out.
Apologies if this is obvious to anyone else: I haven't touched C++ since school, never Qt, and have only worked on projects small enough where a manually-managed
make
file was appropriate. Believe I usedg++
. Since then, my career has largely been in Java and C#, so I'm rusty on some things.So I guess the best thing to do now is ask the question:
How is the project built? (compiler, C++ version, IDE, etc.)