Brian G wrote:
This code:
#include <iostream>
int main(int argc, char *argv[])
{
using std::cout;
QDateTime epoch;
epoch.setTime_t(0);
cout << "Epoch: " << epoch.toString().latin1() << std::endl;
return 0;
}
Generates this nmake compile error:
error C2039: 'latin1' : is not a member of 'QString'
Don't know which version you're using, but in Qt 4.x it became toLatin1()
- Keith
--
To unsubscribe - send a mail to qt-interest-request@xxxxxxxxxxxxx with
"unsubscribe" in the subject or the body.
List archive and information: http://lists.trolltech.com/qt-interest/
|