Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Сборка LimeReport Windows 10 Qt 5.6 mingw  (Read 4688 times)

sergachev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Сборка LimeReport Windows 10 Qt 5.6 mingw
« on: March 30, 2016, 11:05:04 PM »
Здравствуйте, подскажите пожалуйста как правильно собирать LimeReport и подключать к своему проекту?

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Сборка LimeReport Windows 10 Qt 5.6 mingw
« Reply #1 on: March 31, 2016, 01:26:54 AM »
А как вы пробовали ? Какие возникли трудности ?

sergachev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Сборка LimeReport Windows 10 Qt 5.6 mingw
« Reply #2 on: March 31, 2016, 09:52:36 PM »
1)Скачиваю исходники из репозитория https://github.com/fralx/LimeReport
2)Собираю в папке limereport проект limereport.pro
3)В своем проекте подключаю
#include "lrreportengine.h"
#include "lrcallbackdatasourceintf.h"
и создаю отчет.

В Mac OS X у меня все сразу заработало, а вот в Windows у меня не получается пока собрать проект.
Выдает ошибку: cannot find -lQtZint
 

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Сборка LimeReport Windows 10 Qt 5.6 mingw
« Reply #3 on: April 01, 2016, 12:39:08 AM »
На гитхабе  на данный  момент мы активно   меняем структуру проекта :) по этой причине периодически сборки ломаются :( Попробуйте сейчас забрать исходники
« Last Edit: April 01, 2016, 12:43:28 AM by Arin Alex »

sergachev

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Сборка LimeReport Windows 10 Qt 5.6 mingw
« Reply #4 on: April 03, 2016, 02:26:14 PM »
Проект собрался! Но при попытке что-то распечатать выдает ошибку:

warning: iCCP: known incorrect sRGB profile
render time = 172
shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!663D069D: (caller: 663D06F1) ReturnHr[PreRelease](31) tid(24a0) 80030002 Не удается найти %1.
shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!663D069D: (caller: 663D06F1) ReturnHr[PreRelease](32) tid(24a0) 80030002 Не удается найти %1.
shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!663D069D: (caller: 663D06F1) ReturnHr[PreRelease](33) tid(24a0) 80030002 Не удается найти %1.
shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!663D069D: (caller: 663D06F1) ReturnHr[PreRelease](34) tid(24a0) 80030002 Не удается найти %1.
shell\ext\thumbnailcache\lib\thumbcacheapi.cpp(226)\thumbcache.dll!663D069D: (caller: 663D06F1) ReturnHr[PreRelease](35) tid(24a0) 80030002 Не удается найти %1.
QGraphicsScene::removeItem: item 0x56c5b88's scene (0x0) is different from this scene (0x3126db8)

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 992
    • View Profile
Re: Сборка LimeReport Windows 10 Qt 5.6 mingw
« Reply #5 on: April 04, 2016, 03:46:24 PM »
Уже починили :)