Q_INT32 no such file or directory
General and Desktop
5
Posts
2
Posters
1.9k
Views
1
Watching
-
My mentor made code and I'm studing it now.
After modifying code and adding #include <QtGloabal> I get this error:
QTextCodec::setCodecForCStrings(QTextCodec::codecForName("Windows-1250"));
QString strfile = QString::fromAscii(fileba);I think that #include <Q_INT32> solves this error.
-
Q_INT32 is a macro, not a file you can include. It is a leftover from Qt 3. For Qt 4 and up, it is recommended to use qint32 instead.
And no, your include does not solve anything. It just makes your compile have an error before the one you're seeing if you do use qint32 instead.