Advertisement
Guest User

Untitled

a guest
Feb 8th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. x2godesktopsharing-3.1.1.2 # make all
  2. 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
  3. main.cpp: In function ‘void client(const QStringList&)’:
  4. main.cpp:51:16: error: ‘class QString’ has no member named ‘toAscii’
  5. cmd.join(" ").toAscii().data() <<std::endl;
  6. ^
  7. main.cpp:63:17: error: ‘class QString’ has no member named ‘toAscii’
  8. cerr<<message.toAscii().data() <<endl;
  9. ^
  10. main.cpp:66:29: error: ‘class QString’ has no member named ‘toAscii’
  11. sock.write ( cmd.join(" ").toAscii().data(),cmd.join(" ").toAscii().length() );
  12. ^
  13. main.cpp:66:60: error: ‘class QString’ has no member named ‘toAscii’
  14. sock.write ( cmd.join(" ").toAscii().data(),cmd.join(" ").toAscii().length() );
  15. ^
  16. main.cpp:70:48: error: ‘class QString’ has no member named ‘toAscii’
  17. cerr<<"Cannot write to socket: "<<socketName.toAscii().data() <<endl;
  18. ^
  19. main.cpp:78:50: error: ‘class QString’ has no member named ‘toAscii’
  20. cerr<<"Cannot read from socket: " <<socketName.toAscii().data() <<endl;
  21. ^
  22. Makefile:413: recipe for target 'main.o' failed
  23. make: *** [main.o] Error 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement