Patch to QxCommon/QxSimpleCrypt.cpp

You find a bug using QxOrm library and you know how to fix it : submit a patch on this forum

Patch to QxCommon/QxSimpleCrypt.cpp

Postby mdw » Mon Feb 15, 2016 2:51 pm

QxCommon/QxSimpleCrypt.cpp needs an include to qdatastream.h since it makes use of the QDataStream class.

So
#include <QtCore/qdatetime.h>
#include <QtCore/qcryptographichash.h>

needs to become:
#include <QtCore/qdatetime.h>
#include <QtCore/qcryptographichash.h>
#include <QtCore/qdatastream.h>


Otherwise I did not manage to get the library compiled on Qt 5.5 with MS Visual Studio 2013.
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm

Re: Patch to QxCommon/QxSimpleCrypt.cpp

Postby qxorm » Mon Feb 15, 2016 3:06 pm

Hello,

QxCommon/QxSimpleCrypt.cpp needs an include to qdatastream.h

Thank you for your patch :)
It is already fixed in QxOrm 1.4.2 BETA versions : http://www.qxorm.com/version/QxOrm_1.4.2_BETA_39.zip
qxorm
Site Admin
 
Posts: 481
Joined: Mon Apr 12, 2010 7:45 am

Re: Patch to QxCommon/QxSimpleCrypt.cpp

Postby mdw » Tue Feb 16, 2016 10:12 am

Cool :)
mdw
 
Posts: 34
Joined: Mon Feb 15, 2016 2:45 pm


Return to QxOrm - Submit a patch

Who is online

Users browsing this forum: No registered users and 2 guests

cron