[Solved] Qt5 static compile on windows: how to install/clean up?
I managed to successfully build Qt5 msvc2013 static, but now I'm left with a folder about 3GB in size, while the non-static install is only 1,52GB in size.
How do I clean up the build directory without deleting Qt5 itself? This is what nmake confclean results in.
Alternatively, I saw that on linux you can use -prefix option for configure to set the install directory, but that doesn't seem to work for windows.
P.S.: the search feature gets stuck at "loading..." for me, so excuse me if it was mentioned somewhere already.
P.S.S.: as much as I love Qt, the compiling part is just a huge mess. Why would -prefix set the qmake paths in a way that it is still looking for files in the wrong places? example:
"Cannot read R:/qt-everywhere-opensource-src-5.4.0/qtbase/mkspecs/modules-inst/qt_lib_bootstrap_private.pri: The system cannot find the path specified."
And those are the paths actually set in qmake:
qt.conf also contains the prefix only, as
which would point to the directory right outside bin = the prefix I set. Also tried setting sysroot within QtCreator, no change. Where is it pulling the paths off from?
Well, I still don't know where it pulls the path from, but I managed to figure out what I can delete without breaking anything.
Basically, one can delete everything except the files in the qtbase dir. As long as one doesn't move the qtbase dir from the directory it was built in, everything is working.