PDA

View Full Version : QLocalSocket error: no such file or directory



foreball
15th May 2013, 23:53
Hello, I'm trying to compile a QT-based source code using QT 4.3.2 + mingw32 through the following command line:



C:\MinGW\msys\1.0\home\anonimo\vidalia-0.2.21\build>mingw32-make
[ 2%] Built target miniupnpc
[ 2%] Building CXX object src/common/CMakeFiles/common.dir/net.obj
C:\MinGW\msys\1.0\home\anonimo\vidalia-0.2.21\src\common\net.cpp:19:24: fatal error: QLocalSocket: No such file or directory
compilation terminated.
mingw32-make[2]: *** [src/common/CMakeFiles/common.dir/net.obj] Error 1
mingw32-make[1]: *** [src/common/CMakeFiles/common.dir/all] Error 2
mingw32-make: *** [all] Error 2


There is no project file (.pro) to add QT += network. So how can I solve this issue?

ChrisW67
16th May 2013, 04:28
QLocalSocket was not introduced until Qt 4.4.

foreball
17th May 2013, 14:17
QLocalSocket was not introduced until Qt 4.4.
Problem solved, thanks a lot!