PDA

View Full Version : regular c++ libraries with QT



willief
5th March 2011, 21:39
I realize this may be an insanely stupid question but I'm a little unsure.
Can I just use regular C++ with QT? if I write functions using std c++ libraries, will I be able to implement this with my GUI. Specifically, I'm extracting data from the end of a file and I want to display it on LCDNumber's in QT, will I be able to put these together?

thanks :(

Zlatomir
5th March 2011, 23:17
Yes you can use C++ standard library (STL too)

But note that Qt has some classes that provide "similar" functionality, so you might want to look at QFile (http://doc.qt.nokia.com/latest/qfile.html), QTextStream (http://doc.qt.nokia.com/latest/qtextstream.html), QDataStream (http://doc.qt.nokia.com/latest/qdatastream.html), containers (http://doc.qt.nokia.com/latest/containers.html) maybe they provide some functionality that better fits your needs.