Changeset 99 in pacpussensors for trunk/Sick/SickSocket.cpp


Ignore:
Timestamp:
Oct 15, 2015, 2:47:01 PM (9 years ago)
Author:
nguyenhu
Message:

compilation under linux with 0.2.X framework

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Sick/SickSocket.cpp

    r72 r99  
    9797  mutex.lock();
    9898  QTextStream os(socket);
    99   os << data.toAscii() << endl;
     99  os << data.toLatin1() << endl;//change in qt5
    100100  mutex.unlock();
    101   qDebug() << "data sent to server: " << data.toAscii() ; //a adapter aussi
     101  qDebug() << "data sent to server: " << data.toLatin1() ; //a adapter aussi
    102102}
    103103
Note: See TracChangeset for help on using the changeset viewer.