I want to make a static build of Qt, in order to create a stand-along program, and not dependant of Qt libs; however, when running
Code:
it gives me these errors:
Code:
Did anyone experience that too? How can I fix it? Thanks in advance
Code:
configure -static -release -no-exceptions
Code:
g++ -c -o qmakebuiltins.o -DUNICODE -std=c++11 -ffunction-sections -g -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/library -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/generators -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/generators/unix -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/generators/win32 -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/generators/mac -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/include -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/include/QtCore -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/include/QtCore/5.10.0 -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/include/QtCore/5.10.0/QtCore -I../src/corelib/global -IC:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/mkspecs/win32-g++ -DQT_VERSION_STR="5.10.0" -DQT_VERSION_MAJOR=5 -DQT_VERSION_MINOR=10 -DQT_VERSION_PATCH=0 -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DPROEVALUATOR_FULL -DQT_NO_FOREACH C:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/library/qmakebuiltins.cpp
C:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/library/qmakebuiltins.cpp: In member function 'QByteArray QMakeEvaluator::getCommandOutput(const QString&, int*) const':
C:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/library/qmakebuiltins.cpp:504:104: error: '_popen' was not declared in this scope
+ QLatin1String(" && ") + args).toLocal8Bit().constData(), QT_POPEN_READ)) {
^
C:/Qt/Static/src/qt-everywhere-src-5.10.0/qtbase/qmake/library/qmakebuiltins.cpp:512:32: error: '_pclose' was not declared in this scope
int ec = QT_PCLOSE(proc);
^
Makefile:254: recipe for target 'qmakebuiltins.o' failed
mingw32-make: *** [qmakebuiltins.o] Error 1
Did anyone experience that too? How can I fix it? Thanks in advance