News: LimeReport new version 1.5 has been released
Вышла новая версия LimeReport 1.5

Author Topic: Build error v 1.5  (Read 175 times)

n3mow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Build error v 1.5
« on: February 28, 2025, 10:55:06 pm »
Tried to build Lime Report V 1.5 with QT Creator - Error "Aggregate 'Qpainterpath ' has incomplete type and cnnot be defined'". What can I do to fix this? Used the limereport.pro file in the packedge. I am new to building qt projects so I need a basic explanation of how to fix this error. Can I add support for mysql to Lime Report? Now I have to convert Access dtabase to mysql and the to sqlite. All responses are appreciated.

Thanks,
Marty

Subst

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: Build error v 1.5
« Reply #1 on: March 01, 2025, 09:32:11 am »
Hi!

Quote
Aggregate 'Qpainterpath ' has incomplete type and cnnot be defined'

in which file message appears?

Quote
Can I add support for mysql to Lime Report? Now I have to convert Access dtabase to mysql and the to sqlite. All responses are appreciated

LR is able to work with any database. Your application must work with database, LR can operated with models, transferred from main application code.

n3mow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Build error v 1.5
« Reply #2 on: March 04, 2025, 05:46:37 pm »
Sorry for the late response. The error occurs while building the .pro file in QtCreator. It shows at the bottom where the build progress messages appear. I have no idea what file generated the error, only that the build fails. How can I determine which file is throughing the error?

As to using my sql the appimage for Linux only supports Sqlite3. There is no other choice. It appears that the choice is only on the version that has to be built.

?Marty

Subst

  • Sr. Member
  • ****
  • Posts: 453
    • View Profile
Re: Build error v 1.5
« Reply #3 on: March 07, 2025, 07:12:44 am »
first - if you hash clicked to error message the text must expandning and wil be shown as obove

Code: [Select]
D:\QtProjects\TtxUiTool\src\TMainWnd.cpp:749: error: incomplete type 'QDateTime' used in nested name specifier
..\..\src\TMainWnd.cpp: In member function 'bool TMainWnd::parseSdlxFile(quint16, const QString&)':
..\..\src\TMainWnd.cpp:749:26: error: incomplete type 'QDateTime' used in nested name specifier
  749 |   quint64 now=QDateTime::currentMSecsSinceEpoch();
      |                          ^~~~~~~~~~~~~~~~~~~~~~


second - the problem with database - it's a problem of Qt, not LR

LimeReport will work with database if your Qt can work with it. The base build of Qt not supports all database formats.
But it's obout Qt not LR.

You can walk to telegram-group https://t.me/qt_chat and try to resolve proble, there.
But it's Russian-language group  ;D Must of members known English to some extent but home lang - russion  :)

n3mow

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Build error v 1.5
« Reply #4 on: March 15, 2025, 05:11:43 pm »
I do not understand your answer. Would you please explain. Thank you.