LimeReport Forum
General Category | Основное => Discussion | Обсуждение => Topic started by: alonsomm2000 on May 23, 2016, 10:56:13 pm
-
Hi, First I want to congratulate the creator of lime reports for such a great job.
Second I would like to report a bug I just found on: Lime Report Designer
When you create a report and switch the pageOrientation to Landscape, it looks fine the first time and save fine, but if you close the report and open it up again in Design mode the Grid still on Portrait mode so you can see a big green area on the right hand side, attached a screen shoot of it.
Note: I am using LimeReport 1.3.10 on Linux Mint 17.3 (KDE).
Regards,
Alonso Murillo.
[вложение удалено администратором]
-
Thanks for your message :)
Did you get "limereport" from sourcefourge or from github ?
-
I download it from: http://pilotfiber.dl.sourceforge.net/project/limereport/Sources/limereport_1_3_10.7z so I am not sure what the source was, but does that matter? version 1.3.10 should be the same anywhere you download it, I think! :D
-
Yes you are right, version 1.3.10 the same anywhere, but at github you can get intermediate sourcecodes where this bug is fixed :) or you can wait next release 1.3.11. I'll upload it to sourceforge soon.
-
For you next release, please note that Limereport does Not compile as it is, you have to edit:
lrscriptenginemanagerintf.h
Change:
#include <QScriptEngine>
To:
#include <QtScript/QScriptEngine>
Otherwise it does not compile on Qt 5.6
Regards,
Alonso Murillo.
-
Thanks :) I'll fix it
-
I am getting the following error when click on Save report button:
QMetaProperty::read: Unable to handle unregistered datatype 'ItemIndexMethod' for property 'QGraphicsScene::itemIndexMethod'
Solution:
when you want to use a pointer to e.g. 'ClassA' in a Q_PROPERTY, you have to register it like this:
qRegisterMetaType<ClassA*>("ClassA*");
The solution might be more complex for you due to the use of templates, but hopefully this points you in the right direction.
Regards,
Alonso Murillo.
-
This is Qt bug :) They didn't use Q_ENUM() macros for ItemIndexMethod. As this property is not useful for LimeReport I ignore this message.