Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- x2godesktopsharing-3.1.1.2 # make all
- g++ -c -pipe -O2 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtSvg -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp
- main.cpp: In function ‘void client(const QStringList&)’:
- main.cpp:51:16: error: ‘class QString’ has no member named ‘toAscii’
- cmd.join(" ").toAscii().data() <<std::endl;
- ^
- main.cpp:63:17: error: ‘class QString’ has no member named ‘toAscii’
- cerr<<message.toAscii().data() <<endl;
- ^
- main.cpp:66:29: error: ‘class QString’ has no member named ‘toAscii’
- sock.write ( cmd.join(" ").toAscii().data(),cmd.join(" ").toAscii().length() );
- ^
- main.cpp:66:60: error: ‘class QString’ has no member named ‘toAscii’
- sock.write ( cmd.join(" ").toAscii().data(),cmd.join(" ").toAscii().length() );
- ^
- main.cpp:70:48: error: ‘class QString’ has no member named ‘toAscii’
- cerr<<"Cannot write to socket: "<<socketName.toAscii().data() <<endl;
- ^
- main.cpp:78:50: error: ‘class QString’ has no member named ‘toAscii’
- cerr<<"Cannot read from socket: " <<socketName.toAscii().data() <<endl;
- ^
- Makefile:413: recipe for target 'main.o' failed
- make: *** [main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement