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

Author Topic: It is not possible to attach the LimeReport library to the project  (Read 3171 times)

paradise

  • Newbie
  • *
  • Posts: 3
    • View Profile
It is not possible to attach the LimeReport library to the project ( compiler mvsc 2013, qt v. 5.5.0). What is the problem? Project and error screen in attachments.

Не получается присоединить к проекту библиотеку LimeReport. В чем проблема? Проект и скрин ошибки во вложениях.

paradise

  • Newbie
  • *
  • Posts: 3
    • View Profile
error screen
« Reply #1 on: July 11, 2017, 09:06:50 am »
error screen

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: It is not possible to attach the LimeReport library to the project
« Reply #2 on: July 11, 2017, 11:17:55 am »
The problem in the your pro file.
Проблема в вашем pro файле.
If you change the next lines all will be ok.
Если вы измените следующие строчки все будет хорошо. 
In the your pro file:
В вашем pro файле:
Code: [Select]
INCLUDEPATH += $$PWD/lib/include
LIBS += $$PWD/lib/ -llimereport
DEPENDPATH += $$PWD/lib/include

win32:CONFIG(release, debug|release): LIBS += $$PWD/lib/ -llimereport
else:win32:CONFIG(debug, debug|release): LIBS += $$PWD/lib/ -llimereport
else:unix: LIBS += $$PWD/lib/ -llimereport
should be:
должно быть:
Code: [Select]
INCLUDEPATH += $$PWD/lib/include
DEPENDPATH += $$PWD/lib/include

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/ -llimereport
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/ -llimereport
else:unix: LIBS += -L$$PWD/lib/ -llimereport



paradise

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: It is not possible to attach the LimeReport library to the project
« Reply #3 on: July 11, 2017, 01:21:43 pm »
Thank you! The project was built, only now when the project is started in Debug mode, the following error is displayed.
 
Tried as written here - http://limereport.ru/forum/index.php?topic=137.msg980#msg980 did not help
« Last Edit: July 11, 2017, 01:44:02 pm by paradise »

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: It is not possible to attach the LimeReport library to the project
« Reply #4 on: July 11, 2017, 02:11:19 pm »
You should have two limereport libraries, one for debugging and one for release mode.
You can put it in separate folders for example: release and debug.
Then use  next config in the your pro file.
Code: [Select]
INCLUDEPATH += $$PWD/lib/include
DEPENDPATH += $$PWD/lib/include

win32:CONFIG(release, debug|release): LIBS += -L$$PWD/lib/release -llimereport
else:win32:CONFIG(debug, debug|release): LIBS += -L$$PWD/lib/debug -llimereport