Recent

Author Topic: Sparta Docked Form Editor and Qt5  (Read 4929 times)

c600g

  • New Member
  • *
  • Posts: 38
Sparta Docked Form Editor and Qt5
« on: January 20, 2018, 07:37:09 pm »
Has anyone else been able to successfully use the Sparta Docked Form Editor under Qt5? I've tried with Lazarus 1.8 and 1.9 (trunk, today), and every time I add the docked form editor and load an application with a form, Lazarus freezes, then crashes.

If I uninstall the docked form editor package, then everything works fine.

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Sparta Docked Form Editor and Qt5
« Reply #1 on: January 20, 2018, 09:30:43 pm »
Does it work with Qt4 ? In any case, pls open an issue for Qt5, fill as much details as you can...linux distribution, qt5 library version

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Sparta Docked Form Editor and Qt5
« Reply #2 on: January 20, 2018, 09:36:50 pm »
btw it works fine here Lazarus 1.9.0 r57133 FPC 3.0.4 x86_64-linux-qt5, Fedora 25 Qt5-5.7.1

zeljko

  • Hero Member
  • *****
  • Posts: 1594
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Sparta Docked Form Editor and Qt5
« Reply #3 on: January 20, 2018, 09:58:54 pm »
Please test with patch attached to the related issue https://bugs.freepascal.org/view.php?id=33058

c600g

  • New Member
  • *
  • Posts: 38
Re: Sparta Docked Form Editor and Qt5
« Reply #4 on: January 21, 2018, 03:51:45 am »
My system is runnign Ubuntu 17.10 x86_64. Unfortunately, I'm trying to rebuild the Qt5 version again using fpcupdeluxe, and even after cleaning up all of the files from a previous build, I'm getting an "Got an unexpected exception ... don't know what to do unfortunately." error message when trying to build fpc and lazarus trunk. I'm sort of new at working with bleeding edge fpc / lazarus.

c600g

  • New Member
  • *
  • Posts: 38
Re: Sparta Docked Form Editor and Qt5
« Reply #5 on: January 21, 2018, 04:36:03 am »
Follow-up. Was able to build fpc and lazarus trunk again by building them separately (building them at the same time seemed to cause an exception somewhere with fpcupdeluxe). After applying the patch your referenced, the docked form designer no longer crashes lazarus on execution. I'll test it some more in the next few days.

Thanks much for the assistance!

 

TinyPortal © 2005-2018