Quantcast
Channel: Qt DevNet forums: Installation and Deployment
Viewing all articles
Browse latest Browse all 2113

Qt5 static compile on windows: how to install/clean up?

$
0
0
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_SYSROOT: QT_INSTALL_PREFIX:E:/Qt/5.4/msvc2013_32_static QT_INSTALL_ARCHDATA:E:/Qt/5.4/msvc2013_32_static QT_INSTALL_DATA:E:/Qt/5.4/msvc2013_32_static QT_INSTALL_DOCS:E:/Qt/5.4/msvc2013_32_static/doc QT_INSTALL_HEADERS:E:/Qt/5.4/msvc2013_32_static/include QT_INSTALL_LIBS:E:/Qt/5.4/msvc2013_32_static/lib QT_INSTALL_LIBEXECS:E:/Qt/5.4/msvc2013_32_static/bin QT_INSTALL_BINS:E:/Qt/5.4/msvc2013_32_static/bin QT_INSTALL_TESTS:E:/Qt/5.4/msvc2013_32_static/tests QT_INSTALL_PLUGINS:E:/Qt/5.4/msvc2013_32_static/plugins QT_INSTALL_IMPORTS:E:/Qt/5.4/msvc2013_32_static/imports QT_INSTALL_QML:E:/Qt/5.4/msvc2013_32_static/qml QT_INSTALL_TRANSLATIONS:E:/Qt/5.4/msvc2013_32_static/translations QT_INSTALL_CONFIGURATION: QT_INSTALL_EXAMPLES:E:/Qt/5.4/msvc2013_32_static/examples QT_INSTALL_DEMOS:E:/Qt/5.4/msvc2013_32_static/examples QT_HOST_PREFIX:E:/Qt/5.4/msvc2013_32_static QT_HOST_DATA:E:/Qt/5.4/msvc2013_32_static QT_HOST_BINS:E:/Qt/5.4/msvc2013_32_static/bin QT_HOST_LIBS:E:/Qt/5.4/msvc2013_32_static/lib QMAKE_SPEC:win32-msvc2013 QMAKE_XSPEC:win32-msvc2013 QMAKE_VERSION:3.0 QT_VERSION:5.4.0 qt.conf also contains the prefix only, as Prefix=.. 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?

Viewing all articles
Browse latest Browse all 2113

Trending Articles