mirror of https://github.com/qt/qt3d.git
Linux fixes for new repo.
Now builds on linux, albeit with lots of warnings.
This commit is contained in:
parent
07f61af5db
commit
e2f8a10715
|
|
@ -66,8 +66,11 @@ size_t AiLoaderIOStream::Read( void* pvBuffer, size_t pSize, size_t pCount)
|
|||
fprintf(stderr, "AI read error: %s\n", qPrintable(m_device->errorString()));
|
||||
if ((pSize * pCount) != res) // AI will treat as error
|
||||
{
|
||||
long unsigned int pSizeP = pSize;
|
||||
long unsigned int pCountP = pCount;
|
||||
long unsigned int pRes = res;
|
||||
fprintf(stderr, "read mismatch requested size: %lu x count: %lu = %lu != %lu actuall read\n",
|
||||
pSize, pCount, (pSize * pCount), res);
|
||||
pSizeP, pCountP, (pSizeP * pCountP), pRes);
|
||||
}
|
||||
return res;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -63,6 +63,10 @@ QT_BEGIN_NAMESPACE
|
|||
|
||||
class QFactoryLoaderPrivate;
|
||||
|
||||
#ifdef Q_WS_X11
|
||||
class QLibraryPrivate;
|
||||
#endif
|
||||
|
||||
class Q_CORE_EXPORT QFactoryLoader : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
|
|
|||
Loading…
Reference in New Issue